Closed jchavezberkeley closed 2 years ago
I think the recent box2d upgrade is the cause. linux and windows configs were updated but not yet osx. Need to update osx projects.
Should I go back to a previous version? Thanks
You can check-out one of the earlier release tags, yeah.
Shouldn't include of library be with <> and not this "" brackets.
I'm still having some trouble on this. I tried pulling in the include
folder from box2d-2.4.1 or box-2.4.0 and putting it into my Xcode project. While it builds, it still gives me a
ld: library not found for -lBox2D
error. I also tried to use <> rather than "" but no luck.
It has been a while since you posted your comment, but since the issue is still open I think I might try and help, for others that might have the same problem. I think the problem may be that up until version 2.3.1 the headers were capitalized as Box2D, but in the newer versions they were changed to box2d.h and -lbox2d. Hope this helps.
Yeah, check your capitalization.
Hello! I recently installed Box2D using Homebrew on my Mac OSX 11.2.1. I need to use it in a project I am building with cmake and want to open it up in Xcode.
brew install box2d
-> installs 2.4.1I follow the general procedure of making a xcode folder, and running cmake -G Xcode .. in that folder. But my build fails when I try to include Box2D
I also tried running with just regular
cmake ..
and thenmake -j 8
. But nothing.I saw a very old tutorial with Xcode and Box2D, but that wasn't very helpful now.
Any urgent help on this would be greatly appreciated. Thanks