CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF compiling in Windows (http://www.cfd-online.com/Forums/fluent/45536-udf-compiling-windows.html)

Subramani Sockalingam July 27, 2007 22:15

UDF compiling in Windows
 
I am trying to compile an example UDF in Windows. It is building the object file but it is not linking. When I load it gives the error Opening library "S:\WIN32APP\Fluent.Inc\ntbin\ntx86\libudf"... Error: open_udf_library: The system cannot find the file specified.

I am launching FLUENT from the MS Visual Studio command prompt.

Someone please let me know how to resolve the error.

Thanks.

Joe July 28, 2007 06:47

Re: UDF compiling in Windows
 
Sounds like incorrect environment variable settings. Set them up so that fluent has access to the compiler when luanched from a standard command prompt.

Subramani Sockalingam July 28, 2007 09:47

Re: UDF compiling in Windows
 
Thanks. But it is building the object file, it is not making the exe or dll file. Do you think it has to do something with the linker?

Can the setting of environment variables be done only during installing MS Visual studio? If not, how do I do it?

Please let me know.

Thanks.


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