gpupixel
gpupixel copied to clipboard
Compile using msvc
v1.2.5,32-bit,msvc,MDd(default) glfw3 will get two contextuals being referenced twice by gpupixel_app.exe and gpupixel.dll in the MSVC environment,even it runs normally under mingw. So, gpupixel was compiled into the static library
//gpupixel.lib
cmake -G "Visual Studio 16 2019" -A Win32 -B buildMsvcDebug32 -S src -DCMAKE_BUILD_TYPE=Debug
cmake --build buildMsvcDebug32
//gpupixel_app.exe
cmake -G "Visual Studio 16 2019" -A Win32 -B examples/buildMsvcDebug32 -S examples -DCMAKE_BUILD_TYPE=Debug
cmake --build examples/buildMsvcDebug32
请问你有s这个问题吗 demo工程编译不过
请问你有s这个问题吗 demo工程编译不过
mingw(gcc)编译出来的动态库(DLL)默认是没有MSVC连接动态库所需要的lib文件(import library)的,需要生成lib才能链接成功
请问你有s这个问题吗 demo工程编译不过