24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1345  |  回复: 2

小崔地盘

铁虫 (正式写手)

[求助] 555555求助~~~~UDF编译出现错误,求指导,万分感谢!!!

编译UDF时出现以下错误:
Copied F:\my caculation\0.3/F:\my caculation\0.3\1.c to libudf\src
Creating user_nt.udf file for 2d ...
(system "copy "E:\PROGRA~1\ANSYSI~1\v150\fluent"\fluent15.0.0\src\makefile_nt.udf "libudf\ntx86\2d\makefile" "
已复制         1 个文件。
(chdir "libudf"(chdir "ntx86\2d"# Generating ud_io1.h
1.c
# Generating udf_names.c because of makefile 1.obj
udf_names.c
udf_names.c(8) : warning C4113: “void (*)()”和“void (*)(void)”的参数列表不同
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj 1.obj
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

   正在创建库 libudf.lib 和对象 libudf.exp
LIBCMT.lib(onexit.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(crtmboxw.obj) : error LNK2019: 无法解析的外部符号 __imp__DecodePointer@4,该符号在函数 ___crtMessageBoxW 中被引用
LIBCMT.lib(hooks.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(winsig.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(rand_s.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(handler.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(dllcrt0.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(tidtable.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(crt0dat.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(invarg.obj) : error LNK2001: 无法解析的外部符号 __imp__DecodePointer@4
LIBCMT.lib(crtmboxw.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(winsig.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(rand_s.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(handler.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(onexit.obj) : error LNK2019: 无法解析的外部符号 __imp__EncodePointer@4,该符号在函数 __onexit_nolock 中被引用
LIBCMT.lib(cmiscdat.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(tidtable.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(invarg.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
LIBCMT.lib(hooks.obj) : error LNK2001: 无法解析的外部符号 __imp__EncodePointer@4
libudf.dll : fatal error LNK1120: 2 个无法解析的外部命令

Done.

Opening library "F:\my caculation\0.3\libudf"...
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the current platform (ntx86).

系统找不到指定的文件。

F:\my caculation\0.3\libudf\\ntx86\2d\libudf.dll

Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the current platform (ntx86).

系统找不到指定的文件。

F:\my caculation\0.3\libudf\ntx86\2d\libudf.dll
Error Object: #f
UDF编码如下:
#include "stdio.h"
#include "udf.h"
#define E 0.01445
#define base 104.72
DEFINE_CG_MOTION(move,dt,cg_vel,cg_omega,time,dtime)
{
NV_S(cg_vel,=,0.0);
NV_S(cg_omega,=,0.0);
cg_vel[0]=E*cos(base*time);
cg_vel[1]=E*sin(base*time);
cg_vel[2]=0;
}
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yangxu_1991

新虫 (正式写手)

请问哈楼主解决了这个问题没啊?我也遇到了,急求帮忙
2楼2016-09-28 11:14:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

杠上hua三家

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by yangxu_1991 at 2016-09-28 11:14:26
请问哈楼主解决了这个问题没啊?我也遇到了,急求帮忙

你解决好了么,求助啊

发自小木虫Android客户端
3楼2017-12-01 22:26:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 小崔地盘 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 l7k6xnh0yc 2026-05-14 4/200 2026-05-15 17:43 by x0mp7owy2b
[教师之家] 上海大学实验技术岗位非升即走 +3 嘻嘻哈哈乐呵呵 2026-05-15 3/150 2026-05-15 15:40 by 187385hgh
[论文投稿] 有带发论文的吗 +4 山楂之术 2026-05-09 4/200 2026-05-15 15:40 by 妹子不好惹
[文学芳草园] 风把牡丹吹跑了 +5 myrtle 2026-05-12 9/450 2026-05-15 15:27 by myrtle
[基金申请] 青C资助名额大幅增加! +11 西葫芦炒鸡蛋 2026-05-13 15/750 2026-05-15 14:36 by ambravo
[基金申请] 精华III评审感受-评审感受-评审感受 +14 ferrarichen 2026-05-11 18/900 2026-05-15 11:12 by cmhchen
[基金申请] 这年头没有找到涵评专家,还有中面上的可能吗 +9 dd921ww 2026-05-12 10/500 2026-05-15 10:41 by muyiliuhui
[考博] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 l7k6xnh0yc 2026-05-14 3/150 2026-05-15 09:23 by onwj4wpxp2
[考研] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 cjf4bx70cj 2026-05-14 4/200 2026-05-15 09:03 by gagyerk94e
[教师之家] 教学课件你会给同学吗 +8 硕士研究生吗 2026-05-13 8/400 2026-05-14 22:23 by 常规沥青
[基金申请] 重磅!青年科学基金项目(C类)资助增幅预计超过50% +5 水和泥不是水泥 2026-05-13 7/350 2026-05-14 20:57 by 水和泥不是水泥
[高分子] 本人最近太闲了,谁有问题可以提,每天会统一回复 +8 一切都是空工 2026-05-12 19/950 2026-05-14 20:03 by 一切都是空工
[考博] 申博自荐 +4 食品的橙子 2026-05-09 6/300 2026-05-14 16:05 by great1919
[考博] 材料类只有一篇综述能申博么 +4 乐逍遥谷 2026-05-13 4/200 2026-05-14 12:05 by zhyzzh
[基金申请] 请问大佬b0816评完了吗 +3 市民华南虎 2026-05-12 7/350 2026-05-14 07:41 by 市民华南虎
[硕博家园] 导师各种操作恶心咋办 +11 苍白的小青天 2026-05-09 13/650 2026-05-13 17:11 by 六两废铜
[论文投稿] 求助大佬sci投稿哪个好中 +3 江沅188 2026-05-12 4/200 2026-05-13 14:35 by 江沅188
[考博] 西南大学考核制博士 +3 lijunjie84 2026-05-11 6/300 2026-05-12 18:09 by lijunjie84
[文学芳草园] 窗边初夏的小雨 +7 阿美_Lml888 2026-05-09 10/500 2026-05-12 15:27 by 阿美_Lml888
[考博] 现在不知道怎么办,感觉很痛苦 +4 qweww 2026-05-11 5/250 2026-05-11 20:23 by Oversize
信息提示
请填处理意见