-
Notifications
You must be signed in to change notification settings - Fork 52
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
Compiling for windows/code::blocks, but crashing at startup #9
Comments
Oh, and debugging output isn't very helpful (to me?) too
|
Hmm. I can't make much sense of that either. So the SimpleExample compiles without any ofxBullet calls in there? |
yep. I'm almost sure now, that there's some trouble with linking to the bulletlib.a, for the simple matter, that it's showing the same behaviour when removing it from the linker. Is there some way I could test for that? |
What ofxBullet code causes it to crash? What code do you have in there? |
As far as I tested: any. world.setup() or just initializing a new ofxBulletSphere. I think this might be a more general problem than specific for your addon :/ |
Tried again with of080 and most recent version of ofxBullet, but still the same. Pretty sure now it's not a bug in your addon. Sorry for bothering. |
Ok, I finally got it working. It has to be something odd with linking the library. Instead of that I included the bullet sources and compiled them directly in my project. Might not be the smoothest solution, but it works. |
Glad you got it working. Were you able to compile a static lib for code::blocks? Could you send a PR with the working code::blocks project? It would be a great addition to the addon. Thanks |
Sorry for the late response. I made a pull request for the Example. If you need anything tested on C::B/Windows feel free to always contact me |
Uh sorry, I just noticed I misread. No I didn't try linking it again. I just compiled it with the source. Of course this makes a big overhead for a hack. |
Hey,
first of all thanks for your work here. I compiled the bulletlib2.81 without the MultiThreaded and MiniCL parts using codeblocks in windows. I then used the project generator, added ofxBullet, also removed MultiThreaded and MiniCL from search directories and project and compiled an empty project. That worked just fine, just had to change two include paths for glu.h and glut.h. I copied the source from the SimpleExample and tried to run it, but it crashes right on start up. Funny enough: commenting out just the ofxBullet parts in testApp.cpp doesn't change anything. I also had to comment the camera positioning. Using simple of methods like ofSetColor, ofLine, ofBox, ect works just fine though
I think it might not be very ofxBullet specific, but maybe some one has an idea what to try next or how to debug that crash?
thanks in advance!
The text was updated successfully, but these errors were encountered: