|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
fluent编译udf,其中含#include <windows.h>,在vc中编译没有问题,在fluent中编译就出问题了,如下:
已复制 1 个文件。
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")
已复制 1 个文件。
(chdir "libudf")()
(chdir "ntx86\2d")()
myudf.c
C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(357) : error C2467: illegal declaration of anonymous 'struct'
C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(376) : error C2467: illegal declaration of anonymous 'struct'
C:\Program Files\Microsoft Visual Studio\VC98\include\winnt.h(1519) : error C2054: expected '(' to follow '_inline'
......
......
C:\Program Files\Microsoft Visual Studio\VC98\include\wingdi.h(3558) : error C2143: syntax error : missing ')' before '*'
C:\Program Files\Microsoft Visual Studio\VC98\include\wingdi.h(3558) : error C2143: syntax error : missing '{' before '*'
C:\Program Files\Microsoft Visual Studio\VC98\include\wingdi.h(3558) : fatal error C1003: error count exceeds 100; stopping compilation
Done.
已经好多天了,老解决不了。请教高手们,如何解决这个问题,非常感谢! |
|