We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Fluids UDF compile error Reply To: UDF compile error

alinalarin
Subscriber

I tried built in compiller and recieved following error: 

Copied C:\Cell100_files\dp0\FFF-6\Fluent/C:\Cell100_files\dp0\FFF-6\Fluent\SLIP2.C to libudf\src

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\sconstruct.udf "libudf\win64\3ddp_host\SConstruct" ")

1 file(s) copied.

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\scons_test.bat "libudf\win64\3ddp_host\scons_test.bat" ")

1 file(s) copied.

(chdir "libudf")(chdir "win64\3ddp_host")

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_host\SConstruct", line 8, in

 

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_host\SConstruct", line 18, in

Compiler used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\clang-cl

Linker used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\lld-link

 

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_host\SConstruct", line 152, in

Copy("C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_host\resolve.exe", "C:\PROGRA~1\ANSYSI~1\v222\fluent\ntbin\win64\resolve.exe")

c_sources ['SLIP2.C', 'udf_names.c']

c_sources_ []

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\sconstruct.udf "libudf\win64\3ddp_node\SConstruct" ")

1 file(s) copied.

(system "copy "C:\PROGRA~1\ANSYSI~1\v222\fluent"\fluent22.2.0\src\udf\scons_test.bat "libudf\win64\3ddp_node\scons_test.bat" ")

1 file(s) copied.

(chdir "libudf")(chdir "win64\3ddp_node")

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_node\SConstruct", line 8, in

 

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_node\SConstruct", line 18, in

Compiler used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\clang-cl

Linker used is "C:\PROGRA~1\ANSYSI~1\v222\fluent"\ntbin\clang\bin\lld-link

 

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly

File "C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_node\SConstruct", line 152, in

Copy("C:\Cell100_files\dp0\FFF-6\Fluent\libudf\win64\3ddp_node\resolve.exe", "C:\PROGRA~1\ANSYSI~1\v222\fluent\ntbin\win64\resolve.exe")

c_sources ['SLIP2.C', 'udf_names.c']

c_sources_ []

 

Done.

Â