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

Alina Larin
Subscriber

Thank you Rob!
I tried. That is what I receive:

> Copied C:\udf/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:\udf\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:\udf\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:\udf\libudf\win64\3ddp_host\SConstruct", line 152, in

Copy("C:\udf\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_ []

In file included from udf_names.c:3:

C:\PROGRA~1\ANSYSI~1\v222\fluent\fluent22.2.0\src\udf\udf.h(80,12): fatal error: 'ud_io1.h' file not found

# include "ud_io1.h"

^~~~~~~~~~

1 error generated.

scons: *** [udf_names.obj] Error 1

(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:\udf\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:\udf\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:\udf\libudf\win64\3ddp_node\SConstruct", line 152, in

Copy("C:\udf\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_ []

In file included from udf_names.c:3:

C:\PROGRA~1\ANSYSI~1\v222\fluent\fluent22.2.0\src\udf\udf.h(80,12): fatal error: 'ud_io1.h' file not found

# include "ud_io1.h"

^~~~~~~~~~

1 error generated.

scons: *** [udf_names.obj] Error 1

 

Done.