|
[Sponsors] |
how to compile a Linux.so library to a.dll library for Windows |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2024, 04:33 |
how to compile a Linux.so library to a.dll library for Windows
|
#1 |
New Member
shen wu
Join Date: Jan 2024
Posts: 2
Rep Power: 0 |
Hello, I am trying to use a UDF library created for Linux system, and I want to transfer it to Windows system.
I failed to compile it some time in VS2019 following the UDF manual 3.0 based on my src and include folders, so I wonder how to finish it, or is there anything new in the UDF manual 3.2 document? |
|
May 21, 2024, 14:38 |
|
#2 |
New Member
Killian Whyte
Join Date: May 2024
Posts: 2
Rep Power: 0 |
Hi Shen,
I have a few questions for you to help clarify what the problem is. What error messages are you getting when you are trying to compile your UDF? Is the version of CONVERGE that you are using on Windows the same as the one you are using on Linux? Also, how are you transferring your UDF library directory over to Windows? Are you just copying over the folder without rerunning the cvg_udf_init command? This will not work because the paths in, e.g, the .make and .cmake files will be out of date. Regards, -Killian (Applications Engineer at Convergent Science) |
|
June 1, 2024, 23:40 |
VS errors
|
#3 | |
New Member
shen wu
Join Date: Jan 2024
Posts: 2
Rep Power: 0 |
Quote:
Sorry for the late reply. The Converge versions in Windows and Linux are different (Linux: 3024 vs. windows 3.17). Following the steps in UDF Manual 3.0, I just copy the .src and .includes folders to Windows and run the converge_udf.dll so these paths are invalid. so I wonder how can I set new path. Can I find something new from the UDF Manual 3.2? And if it is possible to convert this .so to .dll without original .mpp documents? Thank you very much! Regards, Shen WU |
||
Tags |
udf library |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile boundary condition as a new dynamic library | mohanphy | OpenFOAM Programming & Development | 22 | January 21, 2021 05:53 |
how to compile new thermodynamic library (basicPsiThermo) | megacrout | OpenFOAM | 1 | February 2, 2012 03:57 |
compile a library | aqua | OpenFOAM | 2 | November 3, 2011 20:03 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 15:49 |
Compile of the library is so slow | liu | OpenFOAM Running, Solving & CFD | 1 | July 15, 2005 02:49 |