|
[Sponsors] |
December 9, 2006, 22:20 |
Error in opening the UDF library
|
#1 |
Guest
Posts: n/a
|
Hi
I am trying to load my UDf library.It's working fine while building the library.I am experiencing the below error while trying to load the library Opening UDF library Error open_UDF_library:The system cannot find the file specified The log file says:" 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : U1077: 'cl' : return code '0x1' Stop." I have Microsoft visual studio.net installed on my system. If u have a clue on this error,pls let me know. Thanks sri |
|
December 9, 2006, 22:42 |
Re: Error in opening the UDF library
|
#2 |
Guest
Posts: n/a
|
You need to setup the compilation environment before you run Fluent. If your VS .net is installed under: C:\Program Files\ You should run the following command before you run Fluent if you want to compile UDFs: C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat
|
|
December 10, 2006, 00:52 |
Re: Error in opening the UDF library
|
#3 |
Guest
Posts: n/a
|
Now it is giving the error "The application has failed to start because mspdb71.dll was not found".
|
|
December 11, 2006, 17:19 |
Re: Error in opening the UDF library
|
#4 |
Guest
Posts: n/a
|
I was in the same situation. My OS is Windows XP. Microsoft Visual Studio is installed. Here is what I did to fix it. Hope you can get some clue.
Go to 'Control Panle' -> 'Performance and Maintenance' -> 'System' -> 'Advanced' Tab -> 'Environment Variables' Create environment variables and enter values as follow: include = C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include lib = C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib MSDevDir = C:\Program Files\Microsoft Visual Studio\Common\MSDev98 Path = C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;c:\fluent.inc\ntbin\ntx86 I just copied these values from another computer where UDF works well. Maybe some of these values are not necessary. By the way, your udf library was not built successfully. If everything is correct, you should have a libudf.dll file in the same folder as the log file is in. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem loading UDF library in parallel cluster | Veera Gutti | FLUENT | 8 | July 26, 2016 08:24 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
Error in opening UDF library | anon_d | Fluent UDF and Scheme Programming | 4 | May 21, 2011 03:10 |
error open udf library | adjie_mesin06 | Main CFD Forum | 1 | October 27, 2010 02:49 |
fluent UDF external library lapack problem | Rick | FLUENT | 0 | May 7, 2008 11:16 |