Android Port
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Quads and polygons are not in the OpenGL-ES specs, so at least for ogles 1.x it won't work at all. We'll have a software emulation of this feature in the next Irrlicht version, though (hopefully). Large textures are often causing texture memory swapping, which can be very slow. Lighting problem is strange, every OpenGL driver should support this.
Quad emulation
Hi Hybrid,
where can i find informations as Roadmap ?
where can i find informations as Roadmap ?
Hello! Thanks for this Irrlicht port. I have one question.
In my activity onDestroy() function I called native method where I drop IrrlichtDevice. Then I call in the same function importGLDeinit().
After device dropped (or while it's droppping) in LogCat I see:
libEGL call to Open GL ES API with no current context
After that application are properly closed without falling.
Is it normal?
In my activity onDestroy() function I called native method where I drop IrrlichtDevice. Then I call in the same function importGLDeinit().
After device dropped (or while it's droppping) in LogCat I see:
libEGL call to Open GL ES API with no current context
After that application are properly closed without falling.
Is it normal?
Android Port
Hi guys,
Could someone please give a step by step walkthrough of how to compile Irrlicht for Android using the NDK?
I am not sure where to start.
I have Android SDK and NDK installed.
Thanks!
Eric
Could someone please give a step by step walkthrough of how to compile Irrlicht for Android using the NDK?
I am not sure where to start.
I have Android SDK and NDK installed.
Thanks!
Eric
Re: Android Port
I downloaded the git, to $NDK/app.
then I run "make APP=irrlicht"
I also tried to use ndk-build instead of "make APP=irrlicht" and that doesn't work either. I set NDK_PROJECT_PATH=/home/developer/android-ndk-r4b/app/irrlicht
Does anyone know what I am doing wrong?
Code: Select all
developer@androiddevenv:~/android-ndk-r4b/app/irrlicht$ ls
Application.mk l.sh MakeAndroid.py project
Code: Select all
developer@androiddevenv:~/android-ndk-r4b/app/irrlicht$ cd ..
developer@androiddevenv:~/android-ndk-r4b/app$ cd ..
developer@androiddevenv:~/android-ndk-r4b$ make APP=irrlicht
Android NDK: APP variable defined to unknown applications: irrlicht
Android NDK: You might want to use one of the following:
build/core/main.mk:81: *** Android NDK: Aborting . Stop.
developer@androiddevenv:~/android-ndk-r4b$
Code: Select all
developer@androiddevenv:~/android-ndk-r4b$ ndk-build
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/developer/android-ndk-r4b/app/irrlicht/jni/Android.mk
/home/developer/android-ndk-r4b/build/core/add-application.mk:98: *** Android NDK: Aborting... . Stop.
ericstob wrote:Hi guys,
Could someone please give a step by step walkthrough of how to compile Irrlicht for Android using the NDK?
I am not sure where to start.
I have Android SDK and NDK installed.
Thanks!
Eric
Use the new build system
Try to compile samples provided in the NDK first...
To compile Irrlicht, put sources in the sources directory. Change directory where there is your Android.mk and use the ndk-build script. ndk-buil must be in your PATH or do /absolute_path/to/ndk-build.
Native Library compilation:
Create a file local.properties for ANT usage and put your android sdk path (here mac example):
Create APK and Install the package:
The older build system is painfull... don't use it.
Have fun...
To compile Irrlicht, put sources in the sources directory. Change directory where there is your Android.mk and use the ndk-build script. ndk-buil must be in your PATH or do /absolute_path/to/ndk-build.
Native Library compilation:
Code: Select all
cd $NDK_HOME/sources
git clone git://gitorious.org/irrlichtandroid/irrlichtandroid.git
cd irrlichtandroid/project/jni
../../../../ndk-build
Code: Select all
sdk.dir=/path/to/android-sdk-mac
Code: Select all
cd $NDK_HOME/sources/irrlichtandroid/project
ant install
Have fun...
Hi !
I tested the port today and I got a strange issue :
Any ideas ?
I tested the port today and I got a strange issue :
Code: Select all
1.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/plane3d.h:9,
2.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/aabbox3d.h:9,
3.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:33,
4.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
5.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
6.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
7.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
8.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:49:
9.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d()':
10.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: anachronistic old-style base class initializer
11.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
12.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T, T, T)':
13.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: anachronistic old-style base class initializer
14.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
15.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T)':
16.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: anachronistic old-style base class initializer
17.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
18.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In copy constructor 'irr::core::vector3d<T>::vector3d(const irr::core::vector3d<T>&)':
19.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: anachronistic old-style base class initializer
20.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
21.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/matrix4.h:10,
22.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/SMaterial.h:9,
23.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IMeshBuffer.h:9,
24.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IDynamicMeshBuffer.h:8,
25.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/CDynamicMeshBuffer.h:8,
26.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:34,
27.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
28.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
29.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
30.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
31.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:49:
32.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d()':
33.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: anachronistic old-style base class initializer
34.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
35.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T, T)':
36.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: anachronistic old-style base class initializer
37.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
38.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T)':
39.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: anachronistic old-style base class initializer
40.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
41.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In copy constructor 'irr::core::vector2d<T>::vector2d(const irr::core::vector2d<T>&)':
42.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: anachronistic old-style base class initializer
43.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
44.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(const irr::core::dimension2d<T>&)':
45.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: anachronistic old-style base class initializer
46.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
47.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IAnimatedMeshMD3.h:10,
48.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:58,
49.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
50.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
51.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
52.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
53.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:49:
54.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion()':
55.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: anachronistic old-style base class initializer
56.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
57.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion(irr::f32, irr::f32, irr::f32, irr::f32)':
58.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: anachronistic old-style base class initializer
59.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
60.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/plane3d.h:9,
61.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/aabbox3d.h:9,
62.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:33,
63.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
64.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
65.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
66.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
67.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_manager.cpp:34:
68.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d()':
69.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: anachronistic old-style base class initializer
70.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
71.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T, T, T)':
72.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: anachronistic old-style base class initializer
73.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
74.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T)':
75.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: anachronistic old-style base class initializer
76.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
77.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In copy constructor 'irr::core::vector3d<T>::vector3d(const irr::core::vector3d<T>&)':
78.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: anachronistic old-style base class initializer
79.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
80.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/matrix4.h:10,
81.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/SMaterial.h:9,
82.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IMeshBuffer.h:9,
83.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IDynamicMeshBuffer.h:8,
84.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/CDynamicMeshBuffer.h:8,
85.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:34,
86.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
87.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
88.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
89.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
90.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_manager.cpp:34:
91.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d()':
92.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: anachronistic old-style base class initializer
93.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
94.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T, T)':
95.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: anachronistic old-style base class initializer
96.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
97.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T)':
98.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: anachronistic old-style base class initializer
99.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
100.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In copy constructor 'irr::core::vector2d<T>::vector2d(const irr::core::vector2d<T>&)':
101.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: anachronistic old-style base class initializer
102.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
103.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(const irr::core::dimension2d<T>&)':
104.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: anachronistic old-style base class initializer
105.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
106.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/plane3d.h:9,
107.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/aabbox3d.h:9,
108.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:33,
109.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/io/file_manager.hpp:31,
110.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_information.cpp:27:
111.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d()':
112.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: anachronistic old-style base class initializer
113.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:26: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
114.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T, T, T)':
115.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: anachronistic old-style base class initializer
116.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:28: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
117.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In constructor 'irr::core::vector3d<T>::vector3d(T)':
118.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: anachronistic old-style base class initializer
119.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:30: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
120.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h: In copy constructor 'irr::core::vector3d<T>::vector3d(const irr::core::vector3d<T>&)':
121.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: anachronistic old-style base class initializer
122.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector3d.h:32: error: unnamed initializer for 'irr::core::vector3d<T>', which has no base classes
123.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/matrix4.h:10,
124.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/SMaterial.h:9,
125.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IMeshBuffer.h:9,
126.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IDynamicMeshBuffer.h:8,
127.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/CDynamicMeshBuffer.h:8,
128.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:34,
129.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/io/file_manager.hpp:31,
130.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_information.cpp:27:
131.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d()':
132.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: anachronistic old-style base class initializer
133.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:25: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
134.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T, T)':
135.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: anachronistic old-style base class initializer
136.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:27: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
137.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(T)':
138.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: anachronistic old-style base class initializer
139.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:29: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
140.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In copy constructor 'irr::core::vector2d<T>::vector2d(const irr::core::vector2d<T>&)':
141.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: anachronistic old-style base class initializer
142.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:31: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
143.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h: In constructor 'irr::core::vector2d<T>::vector2d(const irr::core::dimension2d<T>&)':
144.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: anachronistic old-style base class initializer
145.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/vector2d.h:33: error: unnamed initializer for 'irr::core::vector2d<T>', which has no base classes
146.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IAnimatedMeshMD3.h:10,
147.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:58,
148.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/utils/vec3.hpp:20,
149.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.hpp:32,
150.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_base.hpp:24,
151.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_openal.hpp:29,
152.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_manager.cpp:34:
153.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion()':
154.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: anachronistic old-style base class initializer
155.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
156.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion(irr::f32, irr::f32, irr::f32, irr::f32)':
157.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: anachronistic old-style base class initializer
158.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
159.
In file included from /home/xapantu/Dev/stk/irrlichtandroid/project/include/IAnimatedMeshMD3.h:10,
160.
from /home/xapantu/Dev/stk/irrlichtandroid/project/include/irrlicht.h:58,
161.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/io/file_manager.hpp:31,
162.
from /home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/music_information.cpp:27:
163.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion()':
164.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: anachronistic old-style base class initializer
165.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:26: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
166.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h: In constructor 'irr::core::quaternion::quaternion(irr::f32, irr::f32, irr::f32, irr::f32)':
167.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: anachronistic old-style base class initializer
168.
/home/xapantu/Dev/stk/irrlichtandroid/project/include/quaternion.h:29: error: unnamed initializer for 'irr::core::quaternion', which has no base classes
169.
/home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp: In member function 'bool SFXManager::loadVorbisBuffer(const std::string&, ALuint)':
170.
/home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:177: error: 'OV_CALLBACKS_NOCLOSE' was not declared in this scope
171.
/home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:202: error: invalid conversion from 'const int' to 'int*'
172.
/home/xapantu/Dev/stk/irrlichtandroid/project/jni/tremor/tremor/ivorbisfile.h:113: error: too many arguments to function 'long int ov_read(OggVorbis_File*, void*, int, int*)'
173.
/home/xapantu/Dev/stk/irrlichtandroid/project/jni/application/audio/sfx_manager.cpp:202: error: at this point in file
174.
make: *** [/home/xapantu/Dev/stk/irrlichtandroid/project/obj/local/armeabi/objs/irrlicht/application/audio/sfx_manager.o] Erreur 1
175.
make: *** Attente des tâches non terminées....
176.
make: *** [/home/xapantu/Dev/stk/irrlichtandroid/project/obj/local/armeabi/objs/irrlicht/application/audio/music_manager.o] Erreur 1
177.
make: *** [/home/xapantu/Dev/stk/irrlichtandroid/project/obj/local/armeabi/objs/irrlicht/application/audio/music_information.o] Erreur 1
Compilation problems?
Xapantu compilations problems have been fixed and are related to a port of TuxKart. If you have compilation problems, post them in this forum.
thanks
thanks
-
- Posts: 4
- Joined: Mon Sep 20, 2010 8:03 pm
After running 'ndk-build' in the 'project' directory, I get the following errors on OS X and Windows 7:
Any ideas?
Code: Select all
In file included from /project/jni/app-android.cpp:9:
/project/jni/android-receiver.h:4:22: error: irrlicht.h: No such file or directory
In file included from /project/jni/app-android.cpp:14:
/project/jni/os.h:8:50: error: IrrCompileConfig.h: No such file or directory
/project/jni/os.h:9:22: error: irrTypes.h: No such file or directory
/project/jni/os.h:10:23: error: irrString.h: No such file or directory
/project/jni/os.h:11:18: error: path.h: No such file or directory
/project/jni/os.h:12:21: error: ILogger.h: No such file or directory
In file included from /project/jni/app-android.cpp:9:
/project/jni/android-receiver.h:6: error: 'irr' is not a namespace-name
/project/jni/android-receiver.h:6: error: expected namespace-name before ';' token
/project/jni/android-receiver.h:8: error: 'gui' is not a namespace-name
/project/jni/android-receiver.h:8: error: expected namespace-name before ';' token
/project/jni/android-receiver.h:21: error: ISO C++ forbids declaration of 'IrrlichtDevice' with no type
/project/jni/android-receiver.h:21: error: expected ';' before '*' token
/project/jni/android-receiver.h:22: error: 's32' does not name a type
/project/jni/android-receiver.h:23: error: ISO C++ forbids declaration of 'IGUIListBox' with no type
/project/jni/android-receiver.h:23: error: expected ';' before '*' token
/project/jni/android-receiver.h:28: error: expected class-name before '{' token
/project/jni/android-receiver.h:34: error: ISO C++ forbids declaration of 'SEvent' with no type
/project/jni/android-receiver.h:34: error: expected ',' or '...' before '&' token
In file included from /project/jni/app-android.cpp:10:
/project/jni/android-logger.h:9: error: 'irr' is not a namespace-name
/project/jni/android-logger.h:9: error: expected namespace-name before ';' token
/project/jni/android-logger.h:12: error: expected class-name before '{' token
/project/jni/android-logger.h:14: error: 'ELOG_LEVEL' does not name a type
/project/jni/android-logger.h:22: error: 'ELOG_LEVEL' does not name a type
/project/jni/android-logger.h:26: error: 'ELOG_LEVEL' has not been declared
/project/jni/android-logger.h:30: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/android-logger.h:30: error: expected ',' or '...' before '*' token
/project/jni/android-logger.h:34: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/android-logger.h:34: error: expected ',' or '...' before '*' token
/project/jni/android-logger.h:34: error: 'virtual void CAndroidLogger::log(int)' cannot be overloaded
/project/jni/android-logger.h:30: error: with 'virtual void CAndroidLogger::log(int)'
/project/jni/android-logger.h:38: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/android-logger.h:38: error: expected ',' or '...' before '*' token
/project/jni/android-logger.h:38: error: 'virtual void CAndroidLogger::log(int)' cannot be overloaded
/project/jni/android-logger.h:30: error: with 'virtual void CAndroidLogger::log(int)'
/project/jni/android-logger.h:42: error: 'ELOG_LEVEL' has not been declared
/project/jni/android-logger.h:46: error: 'ELOG_LEVEL' has not been declared
/project/jni/android-logger.h:42: error: 'ELL_INFORMATION' was not declared in this scope
/project/jni/android-logger.h:46: error: 'ELL_INFORMATION' was not declared in this scope
/project/jni/android-logger.h: In member function 'virtual void CAndroidLogger::setLogLevel(int)':
/project/jni/android-logger.h:27: error: 'level' was not declared in this scope
/project/jni/android-logger.h: In member function 'virtual void CAndroidLogger::log(int)':
/project/jni/android-logger.h:31: error: 'text' was not declared in this scope
/project/jni/android-logger.h: In member function 'virtual void CAndroidLogger::log(int)':
/project/jni/android-logger.h:35: error: 'text' was not declared in this scope
/project/jni/android-logger.h: In member function 'virtual void CAndroidLogger::log(int)':
/project/jni/android-logger.h:39: error: 'text' was not declared in this scope
In file included from /project/jni/app-android.cpp:14:
/project/jni/os.h: At global scope:
/project/jni/os.h:22: error: 'u16' does not name a type
/project/jni/os.h:23: error: 's16' does not name a type
/project/jni/os.h:24: error: 'u32' does not name a type
/project/jni/os.h:25: error: 's32' does not name a type
/project/jni/os.h:26: error: 'f32' does not name a type
/project/jni/os.h:28: error: 'u8' does not name a type
/project/jni/os.h:29: error: 'c8' does not name a type
/project/jni/os.h:36: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/os.h:36: error: expected ',' or '...' before '*' token
/project/jni/os.h:37: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/os.h:37: error: expected ',' or '...' before '*' token
/project/jni/os.h:38: error: 'ELOG_LEVEL' has not been declared
/project/jni/os.h:39: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/os.h:39: error: expected ',' or '...' before '*' token
/project/jni/os.h:39: error: 'static void irr::os::Printer::log(int)' cannot be overloaded
/project/jni/os.h:37: error: with 'static void irr::os::Printer::log(int)'
/project/jni/os.h:40: error: ISO C++ forbids declaration of 'c8' with no type
/project/jni/os.h:40: error: expected ',' or '...' before '*' token
/project/jni/os.h:40: error: 'static void irr::os::Printer::log(int)' cannot be overloaded
/project/jni/os.h:37: error: with 'static void irr::os::Printer::log(int)'
/project/jni/os.h:41: error: ISO C++ forbids declaration of 'ILogger' with no type
/project/jni/os.h:41: error: expected ';' before '*' token
/project/jni/os.h:38: error: 'ELL_INFORMATION' was not declared in this scope
/project/jni/os.h:53: error: 's32' does not name a type
/project/jni/os.h:57: error: 's32' does not name a type
/project/jni/os.h:68: error: 'u32' does not name a type
/project/jni/os.h:74: error: 'u32' has not been declared
/project/jni/os.h:83: error: 'f32' has not been declared
/project/jni/os.h:86: error: 'f32' does not name a type
/project/jni/os.h:95: error: 'u32' does not name a type
/project/jni/os.h:101: error: 'f32' does not name a type
/project/jni/os.h:102: error: 's32' does not name a type
/project/jni/os.h:103: error: 'u32' does not name a type
/project/jni/os.h:104: error: 'u32' does not name a type
/project/jni/os.h:105: error: 'u32' does not name a type
/project/jni/app-android.cpp:19: error: 'core' is not a namespace-name
/project/jni/app-android.cpp:19: error: expected namespace-name before ';' token
/project/jni/app-android.cpp:20: error: 'scene' is not a namespace-name
/project/jni/app-android.cpp:20: error: expected namespace-name before ';' token
/project/jni/app-android.cpp:21: error: 'video' is not a namespace-name
/project/jni/app-android.cpp:21: error: expected namespace-name before ';' token
/project/jni/app-android.cpp:22: error: 'io' is not a namespace-name
/project/jni/app-android.cpp:22: error: expected namespace-name before ';' token
/project/jni/app-android.cpp:23: error: 'gui' is not a namespace-name
/project/jni/app-android.cpp:23: error: expected namespace-name before ';' token
/project/jni/app-android.cpp:36: error: expected initializer before '*' token
/project/jni/app-android.cpp:37: error: expected initializer before '*' token
/project/jni/app-android.cpp:38: error: 'stringc' does not name a type
/project/jni/app-android.cpp:41: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:42: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:43: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:44: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:45: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:46: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp:47: error: expected constructor, destructor, or type conversion before '*' token
/project/jni/app-android.cpp: In function 'void initQuake()':
/project/jni/app-android.cpp:66: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:66: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:70: error: 'guienv' was not declared in this scope
/project/jni/app-android.cpp:74: error: 'stringc' was not declared in this scope
/project/jni/app-android.cpp:74: error: expected ';' before 'quakeMapFilename'
/project/jni/app-android.cpp:75: error: 'gSdCardPath' was not declared in this scope
/project/jni/app-android.cpp:75: error: 'quakeMapFilename' was not declared in this scope
/project/jni/app-android.cpp:77: error: 'mesh' was not declared in this scope
/project/jni/app-android.cpp:81: error: 'node' was not declared in this scope
/project/jni/app-android.cpp:86: error: 'node' was not declared in this scope
/project/jni/app-android.cpp:88: error: 'core' has not been declared
/project/jni/app-android.cpp:93: error: 'camera' was not declared in this scope
/project/jni/app-android.cpp:95: error: expected ';' before 'logoFilename'
/project/jni/app-android.cpp:96: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:96: error: 'logoFilename' was not declared in this scope
/project/jni/app-android.cpp:96: error: 'core' has not been declared
/project/jni/app-android.cpp:96: error: 's32' was not declared in this scope
/project/jni/app-android.cpp:97: error: 'diagnostics' was not declared in this scope
/project/jni/app-android.cpp:97: error: 'core' has not been declared
/project/jni/app-android.cpp:98: error: 'video' has not been declared
/project/jni/app-android.cpp:100: error: 'rect' was not declared in this scope
/project/jni/app-android.cpp:104: error: 'struct SAppContext' has no member named 'device'
/project/jni/app-android.cpp:105: error: 'struct SAppContext' has no member named 'counter'
/project/jni/app-android.cpp:106: error: 'struct SAppContext' has no member named 'listbox'
/project/jni/app-android.cpp: In function 'void initSydney()':
/project/jni/app-android.cpp:118: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:118: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:119: error: 'guienv' was not declared in this scope
/project/jni/app-android.cpp:122: error: 'stringc' was not declared in this scope
/project/jni/app-android.cpp:122: error: expected ';' before 'sydneyFilename'
/project/jni/app-android.cpp:123: error: 'mesh' was not declared in this scope
/project/jni/app-android.cpp:123: error: 'gSdCardPath' was not declared in this scope
/project/jni/app-android.cpp:123: error: 'sydneyFilename' was not declared in this scope
/project/jni/app-android.cpp:130: error: 'nodeSydney' was not declared in this scope
/project/jni/app-android.cpp:134: error: 'EMF_LIGHTING' was not declared in this scope
/project/jni/app-android.cpp:138: error: 'scene' has not been declared
/project/jni/app-android.cpp:139: error: expected ';' before 'sydneyTextureFilename'
/project/jni/app-android.cpp:140: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:140: error: 'sydneyTextureFilename' was not declared in this scope
/project/jni/app-android.cpp:144: error: 'vector3df' was not declared in this scope
/project/jni/app-android.cpp: In function 'void initIrr()':
/project/jni/app-android.cpp:156: error: 'Logger' is not a member of 'irr::os::Printer'
/project/jni/app-android.cpp:158: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:158: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:159: error: 'guienv' was not declared in this scope
/project/jni/app-android.cpp:161: error: 'stringc' was not declared in this scope
/project/jni/app-android.cpp:161: error: expected ';' before '_3dsFilename'
/project/jni/app-android.cpp:162: error: 'mesh' was not declared in this scope
/project/jni/app-android.cpp:162: error: 'gSdCardPath' was not declared in this scope
/project/jni/app-android.cpp:162: error: '_3dsFilename' was not declared in this scope
/project/jni/app-android.cpp:167: error: 'node' was not declared in this scope
/project/jni/app-android.cpp:168: error: expected ';' before '_3dsTextureFilename'
/project/jni/app-android.cpp:169: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:169: error: '_3dsTextureFilename' was not declared in this scope
/project/jni/app-android.cpp:199: error: 'camera' was not declared in this scope
/project/jni/app-android.cpp:200: error: 'core' has not been declared
/project/jni/app-android.cpp: In function 'void nativeDrawIterationSydney()':
/project/jni/app-android.cpp:208: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:214: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:214: error: 'SColor' was not declared in this scope
/project/jni/app-android.cpp:216: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:217: error: 'guienv' was not declared in this scope
/project/jni/app-android.cpp: In function 'void nativeDrawIterationQuake()':
/project/jni/app-android.cpp:232: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:237: error: 'node' was not declared in this scope
/project/jni/app-android.cpp:238: error: 'core' has not been declared
/project/jni/app-android.cpp:239: error: 'camera' was not declared in this scope
/project/jni/app-android.cpp:239: error: 'core' has not been declared
/project/jni/app-android.cpp:242: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:242: error: 'SColor' was not declared in this scope
/project/jni/app-android.cpp:244: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:245: error: 'guienv' was not declared in this scope
/project/jni/app-android.cpp: In function 'void nativeDrawIterationIrr()':
/project/jni/app-android.cpp:258: error: 'device' was not declared in this scope
/project/jni/app-android.cpp:265: error: 'driver' was not declared in this scope
/project/jni/app-android.cpp:265: error: 'SColor' was not declared in this scope
/project/jni/app-android.cpp:267: error: 'smgr' was not declared in this scope
/project/jni/app-android.cpp:268: error: 'guienv' was not declared in this scope
make: *** [/project/obj/local/armeabi/objs/irrlicht/app-android.o] Error 1
-
- Posts: 4
- Joined: Mon Sep 20, 2010 8:03 pm
With the latest changes, I can now compile the native code successfully. However, when trying to run the android app in an AVD (2.1 or 2.2), I get the following error messages:
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API
E/libEGL ( 338): called unimplemented OpenGL ES API