bullet3
bullet3 copied to clipboard
duplicate for Can't build Pybullet for C++ usage via Cmake (Unix Makefiles) #4303
Hi all, I understand that you do not support mingw - your choice. The fix for the builing with mingw is very simple, there are two examples that are not linking against what it shoudl be. Opengl32Window: CMakeLists.txt - line 62 to be added:
elseif (WIN32 OR MINGW)
target_link_libraries(OpenGLWindow ${OPENGL_gl_LIBRARY})
TwoJoint: CMakeLists.txt - line 93 to be adjusted:
IF(WIN32 OR MINGW)
LINK_LIBRARIES(
${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} Winmm
)