problem with udf loading(nmake.exe)
I have visual studio 2008 and Fluent 6.328 installed on my computer,
every time i want to load LIBUDF library from
Define:>User-defined:>Functions:>Compiled it gives me this error:
Opening library "libudf"...
Error: open_udf_library: The system cannot find the path specified.
Error Object: ()
i searched in the forum and someones suggested that it is a problem with nmake.exe.
anybody knows how i can fix this problem with nmake.exe?
The problem is that your Fluent doesn't know where to find your Visual C++ compiler, I hope you have the Pro edition (I don't thinck it will work with Express).
Try to start Fluent using the Visual Studio Command Prompt window, write these in the command prompt:
keep in mind your already compiled (in Visual Studio Command Prompt window) routine the best should be in libudf/ folder within you case folder. It means if your case.cas file is in folder C:\test\ then libudf/ path should be like this: C:\test\libudf\ .
As soon as your function is compiled you do not need to call compiler from within Fluent. Your compiled function is a stand alone program, which to run just need Fluent call to it the way you do it.
thank you PAKA and RenardP,with your advices i solved my problem.
|All times are GMT -4. The time now is 09:37.|