|
[Sponsors] |
open_udf_library: The system cannot find the file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 3, 2005, 14:31 |
open_udf_library: The system cannot find the file
|
#1 |
Guest
Posts: n/a
|
I am trying to compile a UDF. I put the .c file and udf.h file in the same directory as the .cas file. there is no other .h file created by myself. When I clikc "build", it did create the directory and copy a few files in that directory, but when click "load" it gave me an error message say "Error: open_udf_library: The system cannot find the file specified."
|
|
May 21, 2020, 00:50 |
|
#2 | |
New Member
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 6 |
Quote:
|
||
May 21, 2020, 07:45 |
Error
|
#3 |
Senior Member
|
This is very common issue and it caused if due to any reason the library is not compiled. Compilation generates a library with extension .so (.dll in case of Windows). If compilation fails then this file is not generated. The existence of other files are not useful in the end. Check for errors during compilation.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 21, 2020, 18:39 |
|
#4 | |
New Member
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 6 |
Quote:
Thanks for your reply. I used Fluent 6.3.26 32 bit version and visual studio 2012 ultimate. My operation system is 64 bit. I tried to use the visual studio command prompt to compile the UDF file. When I clicked the load buttom, it gives me errors Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified. So I am not sure if visual studio 2012 ultimate is compatible with my fluent or not. Because when I opened the visual studio command prompt, the name of it is "VS2012 X64 Cross Tools Command Prompt". In such way, this version of visual studio is 64 bit. However, I searched online and found that Microsoft didn't release 64 bit VS2012 (https://stackoverflow.com/questions/...io-2012-64-bit). Any suggestions of how to solve this problem? Thanks a lot, mcc007 |
||
May 22, 2020, 03:56 |
Compilation log
|
#5 |
Senior Member
|
During compilation, it generates a log in the same directory where you have case files. Could you copy that log in the post?
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 22, 2020, 23:39 |
|
#6 |
New Member
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 6 |
||
November 11, 2021, 00:16 |
|
#7 |
New Member
Juan Antonio Blanco
Join Date: Nov 2021
Location: San Carlos de Bariloche, Argentina
Posts: 2
Rep Power: 0 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
paraview installation woes | vex | OpenFOAM Installation | 15 | January 30, 2011 08:11 |
open_udf_library: the system cannot find the file specified | azharuddin0613 | FLUENT | 0 | December 4, 2010 07:46 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |