-
Notifications
You must be signed in to change notification settings - Fork 6
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
[newton.mod] Win32/Linux linking & MAV issues. #1
Comments
Thanks. I updated source.bmx again to look in pthreads.2 on Win only, as I got errors when I tried it on Linux. I really don't think there's anything wrong with source.bmx as your original source ran on Mac, so I think it must be something wrong in the CC_OPTS flags. Edit: Oh yes, I forgot to say I tested NewtonCreate() on Linux and it segfaulted there. I then ran gdb on it and got very little info. I did find a post where someone had a similar segfault on Linux and they fixed it by using the dynamic library. |
Well I found that Brucey is working on a wrapper for Newton too! Which is cool. It's on Git in bmx-ng/b3d.mod. So I built it but it also segfaults on Linux (32 bit). So now I'm at the point where a dynamic library version would be just fine thank you, as long as it works. I suspect it is a threading issue but this is just an uneducated guess - when I used gdb the only info I got was about the threading library version. |
I tried building threaded versions and then using Lock/Unlock Mutex which fixed the segfault but when I tried another command CreateBody, it segfaulted and I couldn't fix that. |
Reported by @markcwm here.
Need to check over Makefiles for Win32, MacOS, & Linux to make sure source.bmx is importing all the required C files.
The text was updated successfully, but these errors were encountered: