24小时热门版块排行榜    

查看: 1386  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 小崔地盘 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 小木虫上这么多卖论文的,真有人买论文么?感觉没必要啊 +7 Tide man 2026-08-10 8/400 2026-08-11 15:49 by 铁帽子农民
[基金申请] 应该是93bebmhtak前后十一个字符比较关键 +16 Lanmanbaby 2026-08-09 24/1200 2026-08-11 15:29 by 小木虫6752397
[基金申请] 分享一下我之前已中青C的计划书的filecode +3 布布和一二 2026-08-11 4/200 2026-08-11 15:20 by aasahr
[论文投稿] 职称评审,求友友推荐见刊最快的期刊 +3 工厂打螺丝 2026-08-08 3/150 2026-08-11 13:42 by 会议编辑
[基金申请] 帮忙看看fileCode +6 wwncly 2026-08-10 12/600 2026-08-11 13:01 by wwncly
[基金申请] FileCode能看出啥? +7 要乐观耀哥 2026-08-10 17/850 2026-08-11 10:50 by 要乐观耀哥
[基金申请] 奇怪,两个人的filecode固定段从头到尾一模一样 +5 布布和一二 2026-08-10 6/300 2026-08-11 10:15 by 医学老男孩
[基金申请] 我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人 +8 家与远方 2026-08-10 13/650 2026-08-11 09:49 by 家与远方
[基金申请] 确定了,国自然21号放榜 +6 布布和一二 2026-08-10 7/350 2026-08-10 19:15 by 2000zf36392
[基金申请] 关于代码变化问题,想知道的进来 +17 且听虎啸 2026-08-07 24/1200 2026-08-10 18:35 by zhangduo2008
[基金申请] 关于Filecode分析方法 +3 majunge000 2026-08-10 3/150 2026-08-10 15:46 by lch2012
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
[基金申请] 面上项目filecode邪修 +5 西山十月 2026-08-09 7/350 2026-08-10 07:32 by 仁砚薪传
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 关于filecode,很负责任的告诉大家 +6 爱看书的可乐 2026-08-08 7/350 2026-08-08 22:13 by a_niu
[基金申请] 国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率 +7 a089 2026-08-07 7/350 2026-08-08 18:05 by gltch
[基金申请] 化学口download_prp&fileCode的固定段好像这几天一直没变,有变的大神么? +3 Tide man 2026-08-07 4/200 2026-08-07 22:39 by Tide man
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
信息提示
请填处理意见