找回密码
 注册
Simdroid-非首页
查看: 218|回复: 5

[FLUENT/GAMBIT] UDF编译问题

[复制链接]
发表于 2012-11-22 14:48:47 | 显示全部楼层 |阅读模式 来自 江苏无锡
悬赏100仿真币未解决
本帖最后由 mycc 于 2012-12-10 21:06 编辑

操作系统:win7 64位
VS: VS2008

环境变量设置: 全部设置:
UDF编译:通过
编译提示:

Copied E:\project\zzp\evaporate\fluent\drop-new-model-fluent.c to libudf\src
(system "copy "C:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\src\makefile_nt.udf "libudf\win64\3ddp\makefile" ")
已复制         1 个文件。
(chdir "libudf")()
(chdir "win64\3ddp")()
# Generating ud_io1.h
drop-new-model-fluent.c
# Generating udf_names.c because of makefile drop-new-model-fluent.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj drop-new-model-fluent.obj
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.


   正在创建库 libudf.lib 和对象 libudf.exp


Done.




操作系统:win server2008 64位
VS: VS2008
环境变量设置:如上相同
UDF编译:未通过
编译提示:
Copied E:\CTCNJSEG\5-Dropbox\Cloud\1.c to libudf\src
(system "copy "D:\PROGRA~1\ANSYSI~1\v140\fluent"\fluent14.0.0\src\makefile_nt.udf "libudf\win64\3ddp\makefile" ")
        1 file(s) copied.
(chdir "libudf")()
(chdir "win64\3ddp")()
# Generating ud_io1.h


Done.


与上面通过的相比,如下提示没有,说明未能生成一些文件。
drop-new-model-fluent.c
# Generating udf_names.c because of makefile drop-new-model-fluent.obj
udf_names.c
# Linking libudf.dll because of makefile user_nt.udf udf_names.obj drop-new-model-fluent.obj
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.


   正在创建库 libudf.lib 和对象 libudf.exp


Done.


查看产生的3ddp文件夹下,两者文件对比如下:
              Win7 64                                                                      Win server2008 64
                              

其中无法完成编译的 log中出现如下提示:
NMAKE :  U1077: ?D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"?
Stop.


但是我查看bin目录下包含cl.exe文件,并且我将另外一个包含cl.exe的目录也加入到环境变量中(~\bin\amd64)问题依旧出现,log中的提示也相同。

有谁知道这是怎么回事的请支招!


附件: 您需要 登录 才可以下载或查看,没有账号?注册
发表于 2012-11-22 22:50:25 | 显示全部楼层 来自 台湾
Simdroid开发平台
版主大哥
我Win 7  64位元
vs2010
ansys14
環境變量也都設置了
但始終正讀不到 libudf.lib 和libudf.exp
不知大俠可否指點迷津    用好久都不成功
萬分感謝
回复

使用道具 举报

发表于 2012-11-23 13:39:55 | 显示全部楼层 来自 广东广州
楊阿中 发表于 2012-11-22 22:50
版主大哥
我Win 7  64位元
vs2010

http://hi.baidu.com/zhangtao2030/item/cc88b9176b3f41a8feded5af

看看这个对你有用不?
回复

使用道具 举报

发表于 2012-11-27 15:25:32 | 显示全部楼层 来自 台湾台北
小七工作室 发表于 2012-11-23 13:39
http://hi.baidu.com/zhangtao2030/item/cc88b9176b3f41a8feded5af

看看这个对你有用不?

我環境變量設置都一樣
但始終都失敗
是不是有其他小細節阿???
回复

使用道具 举报

发表于 2012-12-10 15:58:27 | 显示全部楼层 来自 上海
路过了啊  我现在还正在安装 没有使用到那一步  讲的很详细 受用了 希望下次用的上
回复

使用道具 举报

发表于 2014-8-11 08:27:15 | 显示全部楼层 来自 中国
版主的这个问题解决了没有?一般udf编译不成功都是环境变量设置不对引起的。这个是我在网上摘抄下来的解决方法,请看下是否可以解决你的问题



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-26 19:22 , Processed in 0.030725 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表