How to build Box2D on Windows with mingw? #971
Unanswered
gay-chicken
asked this question in
Q&A
Replies: 1 comment
-
|
This sounds like a CMake question. I'm using MinGW but I'm also fetching and compiling with CMake, but if you already have it compiled I believe you need to do a find_library, then add_library with STATIC. Here's an example with Raylib: |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to build Box2D on Windows using MinGW and CMake. The build process completes smoothly without any errors.
However, when running the application, it prompts that the Box2D dynamic library is missing. I'm certain the build process went well with no errors reported.
In the target output folder, no Box2D dynamic library was generated.
I found similar issues online, and the responses suggested there might be format differences between dynamic libraries generated by MinGW and MSVC.
This has left me confused because even when I tried building with MSVC, the Box2D dynamic library still wasn't generated.
Here’s how I included Box2D in my project:
Beta Was this translation helpful? Give feedback.
All reactions