|
[Sponsors] |
April 26, 2004, 04:54 |
Compiled UDF
|
#1 |
Guest
Posts: n/a
|
Hallo!!!
When i am executing compilation with start debug from microsoft developer studio i get the following message: Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/udfcw.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. udfcw.exe - 2 error(s), 0 warning(s) Can somebody enlighten me over this matter? Thank you!!! |
|
April 26, 2004, 06:31 |
Re: Compiled UDF
|
#2 |
Guest
Posts: n/a
|
from my experience, compiling in Microsoft Visual C is a lot of trouble. You have to get all the project configuration correct before you can compile it. Last time i wrote the code on Notepad (following C languange) and let fluent compile it (UDF->Function->Interpreted), it worked fine
|
|
April 26, 2004, 08:20 |
Re: Compiled UDF
|
#3 |
Guest
Posts: n/a
|
Hallo!
The text file that i am trying to compile consists of the command (->), such as "Thread t = t->t0;". This command can only be compiled and not interpreted, because if i run UDF->Function->Interpreted i have error in the above line. Do you know a way to write the previous command in an interprted way? Thank you! |
|
April 26, 2004, 12:31 |
Re: Compiled UDF
|
#4 |
Guest
Posts: n/a
|
Make sure all source files are in the path.
|
|
April 27, 2004, 04:42 |
Re: Compiled UDF
|
#5 |
Guest
Posts: n/a
|
Hallo!
You mean that i must place all my src files in the path defined by the environmental setup from fluent? |
|
April 27, 2004, 14:50 |
Re: Compiled UDF
|
#6 |
Guest
Posts: n/a
|
Compiler should have a batch file like vcvars that will set path, libraries, etc. to point to proper source files for compiling.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
I want to use pressure of 1 face in udf that compiled on other face | iman_1844 | Fluent UDF and Scheme Programming | 3 | June 10, 2010 13:55 |
Why udf can not be compiled in my pc? | Xinqiang | FLUENT | 0 | June 10, 2009 15:32 |
difference between udf compiled and udf interprete | chandra sekhar | FLUENT | 2 | April 11, 2006 01:04 |
how to quit compiled or interprited UDF | tian | FLUENT | 0 | April 9, 2003 00:53 |