"Segmentation fault (core dumped)" (Ubuntu 14.04)

I’m trying to use openFrameworks (v0.9.7) on Ubuntu 14.04. I’m a beginner.

I could successfully installed frameworks by using following scripts:

 install_codecs.sh
 install_dependencies.sh
 compileOF.sh

After that, I tried to build and run example applications.

 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample$ sudo make
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 Compiling OF library for Release
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 make[1]: Entering directory `/home/ubecon/of_v0.9.7_linux64_release/libs/openFrameworksCompiled/project'
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 Done!
 make[1]: Leaving directory `/home/ubecon/of_v0.9.7_linux64_release/libs/openFrameworksCompiled/project'
 
 
 Compiling 3DPrimitivesExample for Release
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 make[1]: Entering directory `/home/ubecon/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample'
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 make[2]: Entering directory `/home/ubecon/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample'
 
 compiling done
 to launch the application

 cd bin
 ./3DPrimitivesExample
 
 - or -
 
 make RunRelease
 
 
 make[2]: Leaving directory `/home/ubecon/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample'
 make[1]: Leaving directory `/home/ubecon/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample'

However, I cannot run applications. I tried to following commands.
In the case that I try to use ‘sudo ./3DPrimitivesExample’, nothing happened and program finished. (This means no window appeared.)

 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample$ sudo make RunRelease
 HOST_OS=Linux
 checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl glfw3 gl glu glew gtk+-3.0 libmpg123 
 Segmentation fault (core dumped)
 make: *** [RunRelease] Error 139
 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample$ cd bin
 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample/bin$ ./3DPrimitivesExample
 Segmentation fault (core dumped)
 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample/bin$ sudo ./3DPrimitivesExample
 :~/of_v0.9.7_linux64_release/examples/3d/3DPrimitivesExample/bin$

Do you have any idea?? Thanks.

Maybe this comment can be helpful for you?
https://github.com/openframeworks/ofSite/issues/558#issuecomment-260239454

Hi, Thanks for your reply. Sorry for delayed response.
We could not resolve our problem by referencing your topic.

Finally, I decided to use another computer that installed Ubuntu 14.04 to use openFrameworks…
It works well.

I guess this problem depends on NVIDIA GPU drivers.