A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by RobbRob » Thu Jul 15, 2010 4:15 pm
Hi,
still working on my game engine under linux I tried to integrate Newton into my frame;
so far it works compiling my code after linking libraries and so on;
I am using Newton 2.19 for linux and got no more errors after compiling it under codeblocks and GNUGcc Compiler;
the application runs with my start screen and menues (2D), but running the 3D engine it ends with "Segmentation fault" (listed in the console);
this is indeed a...error, because I don t know where to start debugging;
so anyone an idea what kind of error this could be ?
first I tried to comment out one newton function after the other, but always the same error in my console (not in the debugger)
I guess it is the wrong libNewton.a, but it is the one from the SDK;
it seems a little harder to run Newton under Linux, because under Windows my frame is running quite well,
Thanks for any help
Robert
-
RobbRob
-
- Posts: 7
- Joined: Sun Jan 03, 2010 4:55 pm
by Carli » Thu Jul 15, 2010 4:19 pm
libNewton.a is corrupted, i noticed.
I also just can use libNewton.so.
Try to link libNewton.so!
-
Carli
-
- Posts: 245
- Joined: Fri Oct 02, 2009 5:28 am
by Julio Jerez » Thu Jul 15, 2010 4:51 pm
but the demos are linked to the static library. how can it be corrupted?
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by RobbRob » Thu Jul 15, 2010 5:00 pm
Hi Carli,
thanks for your help I tried it, but after linking libNewton.so I got this error message:
"../Linux/libIrrlichtLin: error while loading shared libraries: libNewton.so:cannot open shared object file: no such file or directory"
and additionally I put the libNewton.so file into my directory of LibIrrlichtLin,
any idea?
Robert
-
RobbRob
-
- Posts: 7
- Joined: Sun Jan 03, 2010 4:55 pm
by Julio Jerez » Thu Jul 15, 2010 5:22 pm
I think you need to copy the library to some system forder.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by RobbRob » Sat Jul 17, 2010 10:13 am
Hi Julio,
that's it, no more segmentation fault, now it works

, but I struggle with the rigid body, my box falls always through the mesh, I guess its the size of Irrlicht mesh, which is bigger then newton body; probably I come back with this problem later,
Thank you for help
Robert
-
RobbRob
-
- Posts: 7
- Joined: Sun Jan 03, 2010 4:55 pm
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest