找回密码
 注册
12
返回列表 发新帖
楼主: wteagle

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

[复制链接]
发表于 2008-5-31 01:03:08 | 显示全部楼层

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

附件是Fluent manual的一个screenshot。至于是不是必须这样我就不清楚了。昨天我试了一下VC express,是有console window的,studio应该选项更多,还是再找找看。
发表于 2008-5-31 01:04:45 | 显示全部楼层

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

 楼主| 发表于 2008-5-31 01:11:05 | 显示全部楼层

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

[这个贴子最后由wteagle在 2008/05/31 01:17am 第 1 次编辑]

我是单独安装的Microsoft Visual C++ 6.0 SP6(好像是大企业版),菜单里只有我上面写的那几项。你能把你的有console window的界面截个屏给我吗?我看看是不是我这个VC的区别。也许我应该下个Express。可是我本来以为Express只能更差的。多谢多谢!!
发表于 2008-5-31 01:18:34 | 显示全部楼层

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

[这个贴子最后由kevinxiao在 2008/05/31 01:48am 第 1 次编辑]

http://www.devsource.com/c/a/Using-VS/Working-at-the-Visual-Studio-Command-Line/
发表于 2008-5-31 23:15:09 | 显示全部楼层

[求助]谁能详细说明一下怎样在Windows XP下安装FLUENT用的C-Compiler编译器?

呵呵,我也是一开始找不到command prompt window才卸载了vc6装了msvs2008。
实际上,后来我发现vc6安装的时候选择了设置环境变量后,直接在xp下开一个command窗口就行了,你直接敲一下cl回车,看看是不是以下信息:
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
是的话就没问题了。你直接去libudf/ntx86/2d下面敲nmake就ok了。
发表于 2009-8-4 12:34:04 | 显示全部楼层

回复 7# topshen 的帖子

装好了fluent在装msvs6.0可以吗????
发表于 2009-8-4 16:55:43 | 显示全部楼层
安装vc6.0时,选环境变量,安装完后,再到fluent里面,set enviroment一次就行了啊。可以在dos下运行cl命令了。
发表于 2010-7-13 15:41:09 | 显示全部楼层
原帖由 plusmoon 于 2008-5-31 23:15 发表
呵呵,我也是一开始找不到command prompt window才卸载了vc6装了msvs2008。
实际上,后来我发现vc6安装的时候选择了设置环境变量后,直接在xp下开一个command窗口就行了,你直接敲一下cl回车,看看是不是以下信息:
...

按照所说的做了,还是不行,最后出现了:
E:\0.5\libudf\ntx86\2d>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl /c /Za /DUDF_EXPORTING -Ic:\program files\fluent.inc\fluent6.3.26\ntx86\2d  -Ic:\programfiles\fluent.inc\fluent6.3.26\src  -Ic:\program files\fluent.inc\fluent6.3.26\cortex\src  -Ic:\program files\fluent.inc\fluent6.3.26\client\src  -Ic:\program files\fluent.inc\fluent6.3.26\tgrid\src  -Ic:\program files\fl
uent.inc\fluent6.3.26\multiport\src  ..\..\src\0.2D_0.5HZ.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Command line warning D4024 : unrecognized source file type 'files\fluent.inc\fluent6.3.26\ntx86\2d', object file assumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\ntx86\2d' ignored
Command line warning D4024 : unrecognized source file type 'files\fluent.inc\fluent6.3.26\src', objectfileassumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\src' ignored
Command line warning D4024 : unrecognized source file type 'files\fluent.inc\fluent6.3.26\cortex\src', object file assumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\cortex\s
rc' ignored
Command line warning D4024 : unrecognized source file type 'files\fluent.inc\flu
ent6.3.26\client\src', object file assumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\client\s
rc' ignored
Command line warning D4024 : unrecognized source file type 'files\fluent.inc\flu
ent6.3.26\tgrid\src', object file assumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\tgrid\sr
c' ignored
Command line warning D4024 : unrecognized source file type 'files\fluent.inc\flu
ent6.3.26\multiport\src', object file assumed
Command line warning D4027 : source file 'files\fluent.inc\fluent6.3.26\multipor
t\src' ignored
0.2D_0.5HZ.c
..\..\src\0.2D_0.5HZ.c(1) : fatal error C1083: Cannot open include file: 'udf.h'
: No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

不知是啥原因,请高手指教!
先谢谢了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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