Compling UDF on windows8.1(x64)
Hi every body
I have a problem while compiling UDF on ANSYS FLUENT 16.1 (WORKBENCH) in windows8.1(x64), I use MICROSOFT VISUAL STUDIO 2012 EXPRESS, NET Framework 4.6 and SDK for windows8.1 too. All UDFs were compiled with no problem, but when I want to LOAD them I faced with such this ERROR: "Opening library "C:\............\Fluent\libudf"... Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. C:\...............\Fluent\libudf\win64\2d\libudf.d ll The system cannot find the file specified. C:\...............................\Fluent\libudf\w in64\2d\libudf.dll Error Object: #f " My pleasure if any body could help me to fix this problem. NOTE: I have some TRIAL and EDUCATIONAL UDFs, those were compiled and LOAD very well but my owns didn't. I Wrote my UDFs according to those TRIAL UDFs, so I expected them to run very well but didn't. |
Quote:
|
Hi pakk
when I click on "BUILD" bottom this massage was illustrated: "Setting Post Processing and Surfaces information ... Done. Copied D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent/D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\def_geom - Copy.c to libudf\src Creating user_nt.udf file for 2d ... (system "copy "C:\PROGRA~1\ANSYSI~1\v161\fluent"\fluent16.1.0\sr c\udf\makefile_nt.udf "libudf\win64\2d\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2d") Done." but when click on "LOAD" this message will illustrated: "Opening library "D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf"...RPC RCX_SC_SET_ERR_MSG failed: RPC: Can't encode arguments Error: The UDF library you are trying to load (D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf\win64\2d\libudf .dll Error: The UDF library you are trying to load (D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf) is not compiled for 2d on the current platform (win64). The system cannot find the file specified. D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files\dp0\FFF\Fluent\libudf\win64\2d\libudf .dll Error Object: #f" |
Okay, now I think it is something else: you have spaces in your foldername.
Code:
D:\Final Project\Model\Fluent\msh\curve section 2D SAMPLE_files Code:
D:\Final_Project\Model\Fluent\msh\curve_section_2D_SAMPLE_files (Fluent has sometimes problems with spaces in file names/folder names.) |
pakk, you showed me good tips, it was spaces in my UDF's name. when I deleted that spaces, UDF compiled and load successfully.
thanks and best regards pakk |
(Fluent has sometimes problems with spaces in file names/folder names.)[/QUOTE]
thank you, my problem was that.;);) |
All times are GMT -4. The time now is 14:27. |