chrono
chrono copied to clipboard
ubuntu demo segmentation fault (core dumped)
I followed this page to build chrono: http://api.projectchrono.org/development/tutorial_install_chrono.html
When I finished building successfully, I tried to run demos in build/bin/. But got error:
demo_collision_2d
> > Irrlicht Engine version 1.8.4
> > Linux 4.15.0-74-generic #83~16.04.1-Ubuntu SMP Wed Dec 18 04:56:23 UTC 2019 x86_64
> > Using plain X visual
> > This driver is not available in Linux. Try OpenGL or Software renderer.
> > Cannot use default video driver - fall back to OpenGL
> > Irrlicht Engine version 1.8.4
> > Linux 4.15.0-74-generic #83~16.04.1-Ubuntu SMP Wed Dec 18 04:56:23 UTC 2019 x86_64
> > Using renderer: OpenGL 4.6.0
> > GeForce GTX 1070/PCIe/SSE2: NVIDIA Corporation
> > OpenGL driver version is 1.2 or better.
> > GLSL version: 4.6
> > Loaded texture: /home/noah/Documents/lib/chrono/build/data/fonts/arial80.bmp
> > Segmentation fault (core dumped)
>
Any idea? Thanks in advance.
What version of GCC are you using?
What version of GCC are you using?
Hi rserban, I'm using 7.4.0
Assuming you also use an appropriate version of Eigen (what is it by the way?), it's difficult to say where the problem is. A couple of suggestions:
- compile the code in debug mode and run it through gdb
- use valgrind
Please let us know what the results of these are. Also, please post your CMakeCache.txt file.