[Windows] - Unable to create a cmake project with shared lib options #2692
AntoineSt-Pierre
started this conversation in
General
Replies: 1 comment
-
Use https://github.com/bkaradzic/bgfx.cmake instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to create a CMake project with GEnie.
The command I use:
../bx/tools/bin/windows/genie.exe --with-glfw --with-shared-lib --platform=x64 --os=windows --cc=gcc --gcc=mingw-gcc cmake
After I execute the command:
cmake . -DCMAKE_BUILD_TYPE="Release" -G="MinGW Makefiles" -DBGFX_CONFIG_RENDERER_DIRECT3D12=0
And finaly I build with
mingw32-make
But when linking bgfx-shared-lib is in progress. There is a linkage problem. Hundreds (even thousands) of error lines are displayed.
I don't see how to solve the problem, especially not the documentation which is very useful to me.
I use GCC 10.1, CMake 3.21, GNU Make 4.3.
Beta Was this translation helpful? Give feedback.
All reactions