|
[Sponsors] |
January 18, 2011, 02:46 |
syntax error on config.h
|
#1 |
Member
EH
Join Date: Dec 2010
Posts: 61
Rep Power: 15 |
Hi,
Does anyone know why I am getting syntax error on codes that come along with FLUENT (underlined)? These are all built in functions that come together with FLUENT. Also, I dont understand why I_AM_NODE_ZERO is undeclared. Can anyone help me here? Thanks. EH c:\program files\ansys inc\v121\fluent\fluent12.1.4\src\config.h(110) : error C2143: syntax error : missing '{' before ':' c:\program files\ansys inc\v121\fluent\fluent12.1.4\src\config.h(110) : error C2059: syntax error : ':' C:\PROGRA~1\ANSYSI~1\v121\fluent\fluent12.1.4\cort ex\src\dll.h(68) : error C2061: syntax error : identifier 'CX_DLL_GetProc' C:\PROGRA~1\ANSYSI~1\v121\fluent\fluent12.1.4\cort ex\src\dll.h(68) : error C2059: syntax error : ';' C:\PROGRA~1\ANSYSI~1\v121\fluent\fluent12.1.4\cort ex\src\dll.h(68) : error C2059: syntax error : 'type' ..\..\src\fcn_temp_parallel.c(73) : error C2065: 'I_AM_NODE_ZERO_P' : undeclared identifier ..\..\src\fcn_temp_parallel.c(117) : error C2065: 'I_AM_NODE_ZERO_P' : undeclared identifier |
|
November 9, 2011, 04:04 |
I have same problem
|
#2 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
Hi Dear Ehooi,
I am receiving same errors that you received( 2059, 2061) for config.h and dll.h. Hence, I am wondering whether you could solve them or not? Cheers, Massoud |
|
November 9, 2011, 05:31 |
|
#3 |
Member
EH
Join Date: Dec 2010
Posts: 61
Rep Power: 15 |
If I remember correctly, it is because I have not set up correctly the link between FLuent and C++. If that is the reason for your error, then make sure you use Microsoft Visual Studio Express and start fluent from Windows SDK 7.1 command prompt.
|
|
November 9, 2011, 11:05 |
|
#4 |
New Member
massoud
Join Date: Nov 2011
Posts: 20
Rep Power: 15 |
thank you so much for your quick respond,
I tried to connect my fluent to C++ by several ways, but none of them worked. could you remember how did you do that exactly? sorry for bothering you again and thank you for your great help. Cheers, Massoud |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Turbogrid power syntax | la7low | ANSYS Meshing & Geometry | 0 | January 15, 2011 23:20 |
OpenFOAM file syntax | amtri | OpenFOAM | 5 | August 28, 2010 08:19 |
Power Syntax Command | BGK | CFX | 4 | June 20, 2010 07:25 |
Interpolation command '-interp-iv' in syntax file | KM | CFX | 4 | October 12, 2007 17:29 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |