Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Categories
- All Discussions1,524
- General534
- Graphics109
- GPU Computing419
- Mobile141
- Pro Graphics163
- Tools158
In this Discussion
- Andrew Edelsten October 2011
- GreenTroll October 2011
Tags in this Discussion
- tegra 139
- tegra-toolkit 29
- android-development-pack 25
OpenGL ES 2.0; Segmentation fault;
-
Hi Guys!
I got "Segmentation fault" when using any function from libGLESv2.so.
Any ideas why did it happen?
libGLESv2.so from NDK was downloaded from here.
device tegra2.
Thanks -
3 Comments sorted by
-
The OpenGL ES 2 library for your Tegra 2 device should not be replaced. That is, there is a library on the device and you should use that library for your OpenGL applications. If you need assistance getting an OpenGL ES 2 application up and running, take a look at the NVIDIA samples that are included in the "Tegra Android Toolkit" on the Tegra Resources page.
Andrew -
Hi Andrew!
Did I write I replace library from NDK?
I'm trying to use this standsrt library which crashed application as soon as any function has been called.
What do I need to do to correct application? -
It is very hard to give advice in a vacuum and crashes from applications can come from a multitude of locations. I suggest you study either the NVIDIA samples (as mentioned in my previous post) or alternatively start with Google's hello-gl2 sample. Hello-gl2 is included with the NDK and illustrates the use of OpenGL ES 2.0 vertex and fragment shaders.