24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1757  |  回复: 10
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

manariel

银虫 (小有名气)

[求助] udf编译出错!急

Deleted old libudf\ntx86\3ddp\libudf.dll
已复制         1 个文件。
已复制         1 个文件。
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\3ddp\makefile"
已复制         1 个文件。
(chdir "libudf"()
(chdir "ntx86\3ddp"()
1.c
..\..\src\1.c(2487) : warning C4003: not enough actual parameters for macro 'DEFINE_PROFILE'
..\..\src\1.c(2487) : error C2061: syntax error : identifier 't'
..\..\src\1.c(2487) : error C2059: syntax error : ';'
..\..\src\1.c(2487) : error C2059: syntax error : 'type'
..\..\src\1.c(9079) : error C2084: function 'void __cdecl ty12(struct thread_struct *,int )' already has a body
..\..\src\1.c(20168) : error C2084: function 'void __cdecl Jy32_T(struct thread_struct *,int )' already has a body
..\..\src\1.c(21016) : error C2143: syntax error : missing ';' before 'type'            

我的程序里没有出现type这个词

.
.\..\src\1.c(21019) : error C2275: 'face_t' : illegal use of this type as an expression
        C:\Fluent.Inc\fluent6.3.26\src\mem.h(168) : see declaration of 'face_t'
..\..\src\1.c(21019) : error C2146: syntax error : missing ';' before identifier 'face'
..\..\src\1.c(21020) : error C2143: syntax error : missing ';' before 'type'
..\..\src\1.c(21021) : error C2275: 'Domain' : illegal use of this type as an expression
        C:\Fluent.Inc\fluent6.3.26\src\mem.h(555) : see declaration of 'Domain'

Done.
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

manariel

银虫 (小有名气)

引用回帖:
: Originally posted by kylafree at 2012-03-07 21:29:05:
加了 #include "udf.h" 没有?
最好把代码贴出来一下。

我把程序分部分编译都没错,整体编译就有错,请问会有这种情况吗?
8楼2012-03-08 21:43:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

kylafree

至尊木虫 (知名作家)

【答案】应助回帖


感谢参与,应助指数 +1
manariel(金币+1): 2012-03-08 21:41:14
加了 #include "udf.h" 没有?
最好把代码贴出来一下。
2楼2012-03-07 21:29:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

manariel

银虫 (小有名气)

引用回帖:
: Originally posted by kylafree at 2012-03-07 21:29:05:
加了 #include "udf.h" 没有?
最好把代码贴出来一下。

加了呀!程序太多,没法确定是那部分有错,不知道贴那部分上来。
3楼2012-03-08 09:14:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kylafree

至尊木虫 (知名作家)

引用回帖:
3楼: Originally posted by manariel at 2012-03-08 09:14:42:
加了呀!程序太多,没法确定是那部分有错,不知道贴那部分上来。

..\..\src\1.c(2487) : warning C4003: not enough actual parameters for macro 'DEFINE_PROFILE'
看看这一行,这个宏少了参数。'DEFINE_PROFILE'
DEFINE_PROFILE(c,t,i)你括号里面估计只写了两个参数吧
4楼2012-03-08 09:20:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见