Ansys Learning Forum › Forums › Discuss Simulation › Fluids › UDF Error › Reply To: UDF Error
I also tried not using the built in compiler (after deleting the libudf folder) but get athe following error messages:
Compiler and linker: Microsoft Visual C++
# Generating ud_io1.h
simple_reaction.c
# Generating udf_names.c because of makefile simple_reaction.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj simple_reaction.obj
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
NMAKE : U1077: 'link -nologo /Libpath:"C:\PROGRA~1\ANSYSI~1\v241\fluent"\fluent24.1.0\win64\3ddp_node /Libpath:"C:\PROGRA~1\ANSYSI~1\v241\fluent"\fluent24.1.0\multiport\win64\mpi\shared /dll /out:libudf.dll udf_names.obj simple_reaction.obj mport.lib fl_mpi2410.lib ' : return code '0x450'
Stop.
Â
Done.
Â
BSSPF3F1PZG: Opening library "C:\Users\...\libudf"...
ERROR: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.
Â
C:\\Users\\...\\libudf\\win64\\3ddp_host\\libudf.dll
Â
Done.
Â
BSSPF3F1PZG: Opening library "C:\Users\...\libudf"...
ERROR: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64).
The system cannot find the file specified.
Â
C:\\Users\\...\\libudf\\win64\\3ddp_host\\libudf.dll
Â
Error: An error occurred in the previous operation.
 The details can be found in the text output.
Error Object: #f