UDF compiling problem
HI,
I am running Fluent using Windows 7. I use to get nmake error when I use to compile my UDF. Then I read a post saying I need to install Visual STudio and SDK for the same. So now I have Visual Studio 2010 And SDK 7.1. I run my fluent through SDK cmd prompt. And now Im getting this error Deleted old libudf\win64\2d\libudf.dll 1 file(s) copied. (system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\win64\2d\makefile") 1 file(s) copied. (chdir "libudf")() (chdir "win64\2d")() udfcg_win.c c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(158) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(159) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(157) : see previous definition of 'stdin' ..\..\src\udfcg_win.c(19) : error C2449: found '{' at file scope (missing function header?) ..\..\src\udfcg_win.c(24) : error C2059: syntax error : '}' ..\..\src\udfcg_win.c(28) : error C2143: syntax error : missing '{' before '+=' ..\..\src\udfcg_win.c(28) : error C2059: syntax error : '+=' ..\..\src\udfcg_win.c(29) : error C2143: syntax error : missing ')' before 'string' ..\..\src\udfcg_win.c(29) : error C2143: syntax error : missing '{' before 'string' ..\..\src\udfcg_win.c(29) : error C2059: syntax error : '<Unknown>' ..\..\src\udfcg_win.c(30) : error C2059: syntax error : ')' ..\..\src\udfcg_win.c(32) : error C2466: cannot allocate an array of constant size 0 ..\..\src\udfcg_win.c(32) : error C2099: initializer is not a constant ..\..\src\udfcg_win.c(33) : error C2059: syntax error : '}' Can someone please help. Thanks. |
im concerned with the warning though.
I have figured out the syntax error. |
This error means your compiler is setup correctly.
|
What warning?
|
Quote:
|
Oh, I see them now.
Saeed is correct, they are nothing to worry about, just redirecting terminal control to Fluent |
Thank you guys for your replies.
|
All times are GMT -4. The time now is 09:06. |