Converge UDF building
any one can help me please with the method how to build a converge cfd UDF on windows using visual studio 2022, i have the source code but i couldn't build the dll file.
i need the steps from the base please |
Hello Mohamed,
Please refer to our CONVERGE 3.1 UDF Manual, which is available on our Downloads page. It contains step-by-step instructions on how to install, build and execute UDFs. Sincerely, |
Quote:
the problem is within visual studio when i compile, i got this message : Generating Loader: converge_udf_load.c [2/3] Building C object CMakeFiles\converge_udf.dir\converge_udf_load.c.ob j C: \New folder\out\build\x64-Debug\converge_udf_load.c(18): warning C4003: not enough arguments for function-like macro invocation 'BOOST_PP_SEQ_SIZE_I' [3/3] Linking C shared library converge_udf.dll |
Hello Mohamed,
That warning is fine. What error message is being displayed when you compile your UDFs? Does it state " Build incomplete " at the end of the process? Please post your entire build log. Sincerely, |
Quote:
Error CMake Error at C:/Program Files/CONVERGE Explore/CONVERGE/3.1.9/share/cmake/CONVERGE_BUILD:294 (add_library): No SOURCES given to target: converge_udf_user CONVERGE UDF Development Package C:/Program Files/CONVERGE Explore/CONVERGE/3.1.9/share/cmake/CONVERGE_BUILD 294 ) and when I ignore it and i try to build the project i got this : Warning: the MSVC toolset version has not been determined for one or more projects. To collect data as ordinary user with Visual Studio the MSVC toolset version '14.46.52625' is required. To workaround any issue may occur running Visual Studio as Administrator is recommended. ========== C++ Build Insights ========== Starting collection… Collecting data… Finishing data collection… Preparing data for analysis… Warning: The trace collected during this session is empty. The trace contains data only if the MSVC toolset is being used, and only if code compilation occurred and was not skipped by up-to-date checks. A rebuild may be needed to generate data for the trace. ========== C++ Build Insights: failure occurred during data collection ========== |
Hello Mohamed,
Please note that the error message : No SOURCES given to target : indicates that there is no "src" directory, with available .c UDFs you wish to compile, found in the folder with the CMakeLists.txt file. Sincerely, |
All times are GMT -4. The time now is 13:20. |