|
[Sponsors] |
February 12, 2009, 16:22 |
error compiling UDF on windows x64
|
#1 |
Guest
Posts: n/a
|
I compiled and used a UDF succesfully on Linux, but it fails to compile on Windows.
I am using visual studio 2008 enterprise's x64 command promp to launch fluent and everything is declared. The problem is caused by mem.h and all the face/cell/thread pointers. Here is what I get: ================================================== ========== ..\..\src\Vortex_code_1.c(55) : error C2275: 'cell_t' : illegal use of this type as an expression c:\fluent.inc\fluent6.3.26\src\mem.h(173) : see declaration of 'cell_t' ..\..\src\Vortex_code_1.c(55) : error C2146: syntax error : missing ';' before identifier 'c' ..\..\src\Vortex_code_1.c(55) : error C2065: 'c' : undeclared identifier ================================================== ========== This also happens for 'Thread *t' and 'face_t f' t c and f are not passed to the functions as a result. I also tried using visual 2005 and a separate SDK, but nothing seems to work. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help: udf compiling problem on 64 bit windows XP | Hsieh | FLUENT | 2 | September 10, 2009 05:51 |
UDF compiling in Windows | Subramani Sockalingam | FLUENT | 2 | July 28, 2007 10:47 |
UDF compiling problem in Windows | Mazyar | FLUENT | 1 | April 26, 2006 02:48 |
Compiling UDFs under Windows XP | Hannah | FLUENT | 3 | February 13, 2005 09:16 |
compiling udf on windows system | sivakumar | FLUENT | 1 | August 10, 2002 12:11 |