-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Bullet module so that Monkey2 can be built on macOS Catalina #491
Comments
Correction: The Itch.io version also doesn't work whenever Mojo3D is used (same error related to Bullet Physics) in Catalina. Examples that don't use Mojo3D run Ok. |
Hi, I just updated to Catalina and the develop branch is building fine with xcode 10.2.1, what errors are you getting? |
Just tried again, this is what I get when it tried to build the Bullet module. ***** Making module 'bullet' (macos release x64 gcc mx) ***** Parsing... g++ -c -std=c++14 -mmacosx-version-min=10.9 -Wno-deprecated-declarations -Wno-tautological-pointer-compare -Wno-undefined-bool-conversion -Wno-int-to-void-pointer-cast -Wno-inconsistent-missing-override -Wno-logical-op-parentheses -Wno-parentheses-equality -O3 -DNDEBUG -I"/Applications/Leo/monkey2/modules/" -I"/Applications/Leo/monkey2/modules/monkey/native" -I"/Applications/Leo/monkey2/modules/bullet/bullet3-2.85.1/src/" -I"/Applications/Leo/monkey2/modules/zlib/zlib-1.2.11/" -DNDEBUG=1 -DBB_THREADS=1 -MMD -MF"/Applications/Leo/monkey2/modules/bullet/bullet.buildv1.1.15/macos_release_mx/build/bullet20389a14.cpp.deps" -o "/Applications/Leo/monkey2/modules/bullet/bullet.buildv1.1.15/macos_release_mx/build/bullet20389a14.cpp.o" "/Applications/Leo/monkey2/modules/bullet/bullet.buildv1.1.15/macos_release_mx/src/bullet_bullet.cpp" In file included from /Applications/Leo/monkey2/modules/bullet/bullet.buildv1.1.15/macos_release_mx/src/bullet_bullet.cpp:2: ***** Fatal mx2cc error ***** Internal mx2cc build error |
Where'd you get xcode 11 from?!? I did check for updates after upgrading macos but everything was apparently up to date, |
I believe I got it from the app store, right after I made a clean, fresh Catalina install (no upgrade). |
Ok, got it now just had to manually install it. I'm a bit surprised macos thought everything was up to date though. Anyway, at first glance this appears to be a bug in bullet but I'll take a closer look at it. |
Quick fix: in replace (line 42) : with new code : To make sure it will not exceed 255. |
Works! I can compile on MacOS again. Not creating a HiDPI window is still glitchy, but I always use that flag so I'm Ok. Thanks! |
…e built on macOS
Hi,
Monkey 2 was failing to build in macOS Catalina due to an error compiling the Bullet module.
I tried a "naive" Bullet update by simply replacing the existing Bullet source code with the latest one from Github. While that compiled the module successfully, now building Mojo3D fails, certainly due to changes made in this version of Bullet.
I can still use the Itch.IO precompiled Monkey 2, but that's almost a year old now.
Thanks!
The text was updated successfully, but these errors were encountered: