CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF compiler help (http://www.cfd-online.com/Forums/fluent-udf/74241-udf-compiler-help.html)

sosososo1114 March 27, 2010 08:50

UDF compiler help
 
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

sega March 27, 2010 09:15

Do you have set the correct PATH variables?

sosososo1114 March 27, 2010 21:48

Quote:

Originally Posted by sega (Post 251956)
Do you have set the correct PATH variables?

Thank ur reply. I set the system PATH variable as the path of mspdb80.dll, 'H:\program file\ microsoft visual studio9.0\VC\bin'. I am not sure wheter it is correct. And are there aother PATH variables asking a resetting?

sosososo1114 March 27, 2010 23:59

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 :D

regarts

sega March 28, 2010 04:17

Ok, great. Than have fun with FLUENT.

sosososo1114 March 28, 2010 22:01

Thanks Sega!

ustbdynamic January 20, 2011 08:03

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:

Originally Posted by sosososo1114 (Post 251999)
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 :D

regarts


DoHander January 20, 2011 09:34

@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

ustbdynamic January 21, 2011 01:11

Dear DoHander,

Thank you very much for kind help!
I will try it.

Quote:

Originally Posted by DoHander (Post 291364)
@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


tobino January 24, 2011 06:02

Udf
 
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 !


All times are GMT -4. The time now is 22:09.