CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Error in compiled UDF (http://www.cfd-online.com/Forums/fluent/50336-error-compiled-udf.html)

Mustafa Ayad January 20, 2009 15:51

Error in compiled UDF
 
Hi all below the error appear when i load UDF in fluent of angular velocity of Gear Pump , any one can solve this problem.Regards. The Error is: Done. Deleted old libudf\ntx86\2ddp\libudf.dll

1 file(s) copied. (system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile")

1 file(s) copied. (chdir "libudf")() (chdir "ntx86\2ddp")() motion2.c ..\..\src\motion2.c(4) : warning C4005: 'USE_FLUENT_IO_API' : macro redefinition

..\..\src\motion2.c(1) : see previous definition of 'USE_FLUENT_IO_API' c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(161) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(162) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdin' # Generating udf_names.c because of makefile motion2.obj udf_names.c c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(161) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(162) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdin' # Linking libudf.dll because of makefile user_nt.udf udf_names.obj motion2.obj Microsoft (R) Incremental Linker Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved.

Creating library libudf.lib and object libudf.exp motion2.obj : error LNK2019: unresolved external symbol _NY_LIST referenced in function _anticlok_wise motion2.obj : error LNK2001: unresolved external symbol _NY_LIST motion2.obj : error LNK2019: unresolved external symbol _Messege referenced in function _anticlok_wise libudf.dll : fatal error LNK1120: 2 unresolved externals

Done. "c:/gear 3"

Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified.

Error Object: ()



All times are GMT -4. The time now is 08:38.