BrunoLevy / GraphiteThree

Experimental 3D modeler
GNU General Public License v2.0
229 stars 19 forks source link

FileManager::find_binary_file bug #17

Open skylinestars opened 5 months ago

skylinestars commented 5 months ago

On Linux, when building a project using CMake, the "add_library" command generates a shared library (dynamic library) by default. However, on Windows, Visual Studio defaults to a static library. "FileManager:: find_binary_file" always searches for dynamic libraries. If I compile using "Visual Studio" by default, I won't be able to find "luagrob. dll; mesh. dll; voxel. DLL; skinn_imgui. DLL"

BrunoLevy commented 5 months ago

Hello, Did you follow compiling instructions ? The are here. There is a configure.bat script that runs CMake with the right options, then normally it will generate DLLs.

skylinestars commented 5 months ago

无标题

skylinestars commented 5 months ago

"Mesh_make-atlas" will call "nlInitExtension-SUPERLU", and "nlInitExtension-SUPERLU" will load "georam_mum3rdparty. DLL", so "georam_mum3rdparty" must be compiled into a dynamic library. What should I do if I want to compile "georam_mum3rdparty" into a static library?