ChunFengTsin
I want to give notes to you all,
When you compile the source of urho3d with CLion and LLVM-MINGW under Windows.
You should set the Generator to “MinGW Makefiles”, in CMake panel.
NOT DEFAULT Ninja!
I want to give notes to you all,
When you compile the source of urho3d with CLion and LLVM-MINGW under Windows.
You should set the Generator to “MinGW Makefiles”, in CMake panel.
NOT DEFAULT Ninja!
and comments out like this:
-fno-keep-inline-dllexport
elseif (MINGW)
# MinGW-specific setup
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -static-libgcc")# -fno-keep-inline-dllexport")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc")# -static-libstdc++ -fno-keep-inline-dllexport")
type or paste code here
If you use default ninja, will have link error!
Thanks for the info! I also was having this same issue with CLion and the main Urho3D branch.