Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-30 Thread Jordi Torres
Hi Koduri, There is no secrets behind osg-submissions, download the new files and substitute the old ones. Then recompile and that's it. Cheers. 2013/1/30 Koduri Lakshmi ankiredd...@gmail.com Hi Jordi Torres, Thank you very much for the great help. I changed CMakeList.txt file and started

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-30 Thread Koduri Lakshmi
Hi, I downloaded latest ffmpeg submission, replaced all files in /src/plugins/ffmpeg folder and compiled. I am getting the following error. Code: /home/ttpl/Android/OSG/ffmpeg_Plugin/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11:32: fatal error: libavcodec/avcodec.h: No

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-30 Thread Jordi Torres
Hi one more time, 2013/1/30 Koduri Lakshmi ankiredd...@gmail.com Hi, I downloaded latest ffmpeg submission, replaced all files in /src/plugins/ffmpeg folder and compiled. I am getting the following error. Code:

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Koduri Lakshmi
Hi, When I try to compile OSG for Android with FFMPEG plug-in I am getting following cmake warnings. CMake Warning: Manually-specified variables were not used by the project: FFMPEG_LIBAVCODEC_INCLUDE_DIR FFMPEG_LIBAVCODEC_LIBRARIES FFMPEG_LIBAVDEVICE_INCLUDE_DIRS

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Jordi Torres
Hi koduri, A silly question... Did you compile ffmpeg for android first? Without osg? You need the ffmpeg library compiled for android in order to use it later to compile against osg. Cheers. El martes, 29 de enero de 2013, Koduri Lakshmi escribió: Hi, When I try to compile OSG for Android

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Koduri Lakshmi
Hi Jordi Torres, Thank you very much for the quick help. I compiled FFMPEG(version 0.8 (love) for OSG compatible ) for android. I generated static files (like libavcodec.a etc). I gave all these include and lib fies paths in cmake command line command. Here it is Code: cmake ..

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Jordi Torres
Hi, I don't recall exactly what version of ffmpeg I used or what changes I did to run ffmpeg for android (it was three months ago). I will try to answer with more accuracy when I arrive to my desktop computer. Cheers. 2013/1/29 Koduri Lakshmi ankiredd...@gmail.com Hi Jordi Torres, Thank you

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Koduri Lakshmi
Hi Jordi Torres, Thank you very much your kind help. I too trying to identify the problem. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52257#52257 ___ osg-users

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Jordi Torres
Hi Koduri, I believe you are simply not compiling the plugin. You should modify CMakeModules/OsgAndroidMacroUtils.cmake and add the ffmeg plugin to the ANDROID_3RD_PARTY macro, or you can also do this ugly hack: go to the root CmakeLists.txt and add FIND_PACKAGE(FFmpeg) after the line 492 after

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2013-01-29 Thread Koduri Lakshmi
Hi Jordi Torres, Thank you very much for the great help. I changed CMakeList.txt file and started compiling. Now i am getting the following error. Code: In file included from /home/ttpl/Android/OSG/ffmpeg_Plugin/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12:0,

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-10-24 Thread Bernd Kampl
Hi samfan, I tried it again with the updated SDKs and NDKs, using SDK r20 and NDK r8b. What I think is that it's a change in the NDK that brings on this error. I got it to build (and work without linker errors) by modifying the file jni/osgNativeLib.cpp by changing 3 lines: line 78: const char

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-08-25 Thread Bernd Kampl
hi! yes, i have managed to build the examples that come with it, and other people managed to do so too. you shouldn't need to change anything in the example source code, in fact if you follow my tutorial to the dot then you should be able to have it working in 1/2 to 1h. i'm sorry to say that i

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-08-20 Thread Jeff Bienstadt
Greetings. Has anyone actually managed to build the ExampleGLES1 sample for Android? If so, what magic incantations did you invoke to achieve that goal? Following this tutorial, I have managed to get osgSceneGraph itself to build, but when I get the the point of attempting to build the sample

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-05-04 Thread Akilan Thangamani
Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error, 05-04 05:38:01.375:

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-05-04 Thread Jorge Izquierdo Ciges
The emulator, at least in Ubuntu, isn't reliable enough to execute OpenGL ES code. OSG doesn't work in emulated devices. I've not checked in windows. 2012/5/4 Akilan Thangamani akilan.thangam...@gmail.com compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-04-06 Thread Koduri Lakshmi
Hi Seylox, Thank you very much for nice tutorial. I am new to OSG and Android development. I followed you tutorial and did successfully. But I got some problems while building. Here I listed my problems with solutions. It may useful for some one. Error - 1) While bulding I got the error

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-03-18 Thread Jorge Izquierdo Ciges
I don't recommend to install them to the default directories, you'll rewrite any OSG installation that you already had. It's better to use the -DCMAKE_INSTALL_PREFIX to set a installation directorie of your own that doesn't overwrite your system default OSG. 2012/3/16 Bernd Kampl

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-03-18 Thread Bernd Kampl
Jorge Izquierdo Ciges wrote: I don't recommend to install them to the default directories, you'll rewrite any OSG installation that you already had. It's better to use  the -DCMAKE_INSTALL_PREFIX to set a installation directorie of your own that doesn't overwrite your system default OSG.

[osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-03-16 Thread Bernd Kampl
I decided to write a very easy step-for-step tutorial on how to build OSG for Android. I'm going to share it here. Corrections are of course welcome. This Tutorial is to show how to compile OpenSceneGraph for Android and how to build the Example Application osgViewer on Ubuntu 11.10. It is