CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF Compiling Problem (64 bit machine) (https://www.cfd-online.com/Forums/fluent/46402-udf-compiling-problem-64-bit-machine.html)

woo meng wai October 23, 2007 23:14

UDF Compiling Problem (64 bit machine)
 
When I compile the UDF, the following message appears:

c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':' c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';' c:\fluent.inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type'

I am running on the following system:

Windows XP Professional Edition 64x edition Version 2003 service pack 2 Intel(R) Core(TM)@ CPU Microsoft .NET Framework Version 2.0 Redistributable Package (x64)

FLUENT 64bit microsoft visual C++ 6.0

The problem occurs in both 2d and 2ddp. This UDF can be previously successfully compiled on a 32 bit machine using microsoft visual express 2005. does anyone have any idea why is this occuring?



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