|
[Sponsors] |
March 27, 2010, 08:50 |
UDF compiler help
|
#1 |
Member
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
dear all;
I encountered a problem when i compile the udf in fluent's tourial champter 21. When I try to build Libary 'libudf' as it says in the tourial, Fluent always messages me that Link: fatal error Link 1104 can not find LIBCMT.lib. What's wrong? Could u tell me what should I do? I do have this file in my visual studio 2008... MAny thxs |
|
March 27, 2010, 09:15 |
|
#2 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Do you have set the correct PATH variables?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
March 27, 2010, 21:48 |
|
#3 |
Member
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
||
March 27, 2010, 23:59 |
|
#4 |
Member
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
THx dear all, by asking another experienced fluent user, I have solved my problems.
I ran the FLuent.exe in the visual studion command prompts. And then the conduct.c can be compiled. Here is another thing I would like to share with u. I dont install my studio on the system disk. That is to say Micro SDks and M VS are in deferent disks. Thus when I load fluent in the command prompts at first time. Fluent messages another bug: Link error 1141, can not open kernel32.lib. The solution can be as essy as copying kernael32.lib into /vc/lib regarts |
|
March 28, 2010, 05:17 |
|
#5 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Ok, great. Than have fun with FLUENT.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
March 28, 2010, 23:01 |
|
#6 |
Member
Hongjin Wang
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
Thanks Sega!
|
|
January 20, 2011, 08:03 |
|
#7 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 40
Rep Power: 17 |
Dear sosososo1114 ,
I have encountered the same problem you issued. Would you like to tell me how to solve this problem in detail. How to run the FLuent.exe in the visual studion command prompts? Thank you very much! Quote:
|
||
January 20, 2011, 09:34 |
|
#8 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 19 |
@xingangzheng
1. Add fluent to your Windows path (this means that if you write fluent in the Command Prompt and press Enter it will start Fluent), for adding a program to the Windows path do a search on Google. 2. Open Visual Studio 20xx Command Prompt and from here start Fluent, this way Fluent will know where to search for the C compiler. Do |
|
January 21, 2011, 01:11 |
|
#9 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 40
Rep Power: 17 |
Dear DoHander,
Thank you very much for kind help! I will try it. Quote:
|
||
January 24, 2011, 06:02 |
Udf
|
#10 |
Member
Tobino
Join Date: Jan 2011
Location: Osaka,Japan
Posts: 33
Rep Power: 15 |
Hi everybody,
I am studying UDF, but I do not know how to run it. I am already setup Virual stdio 2008. But it is not run. Please help me ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
UDF compiler | michilin | FLUENT | 2 | January 3, 2007 11:24 |
Compile UDF with a C++ compiler | Luca | FLUENT | 7 | December 27, 2005 00:05 |
C++ Compiler for UDF | Dmitriy Makarov | FLUENT | 1 | December 12, 2000 03:41 |