About Store Forum Documentation Contact



Post Reply 
[ANDROID][SOLVED] Member declaration not found
Author Message
Mardok Offline
Member

Post: #1
[ANDROID][SOLVED] Member declaration not found
Hi, i have problem with "Build" my android project.

In Visual Studio all is ok.
In Eclipse i have three errors "Member declaration not found"... It's strange because all declarations are in Player.h :|

Any ideas?

[Image: eclipsev.jpg]
(This post was last modified: 12-18-2011 01:23 AM by Mardok.)
12-17-2011 05:15 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: [ANDROID] Member declaration not found
http://www.esenthel.com/wiki/index.php?t...ng_Eclipse

Quote:Eclipse may incorrectly process your C++ codes and list them as Errors in the Eclipse "Problems" window, preventing from launching the Application (even if your codes compile fine during building process).

In order to disable "Problems" detection, please select Eclipse menu "Window\Preferences", select "C/C++ \ Code Analysis" element on the left, and disable following elements:

try disabling "Member declaration not found" too
I'll update the docs
12-17-2011 06:30 PM
Find all posts by this user Quote this message in a reply
Mardok Offline
Member

Post: #3
RE: [ANDROID] Member declaration not found
I did it after post thread and it helped smile
But i would like to show you rest of my errors smile Which I don't understand, so check this log:

I have yet few errors connected(IMO) with 'const' is required when passing "temporaries" as parameters from WIKI - Writing Portable Codes but currently i commented /**/ this section
Probablly it's tip:
Code:
void Function(Vec &a);
void Error()
{
   Function(Vec(1,2,3)); // error
}

must be changed to:

void Function(C Vec &a); // const Vec &a

OK, Let's leave it for later, now please help me with this errors.


Aha and all my code is located only in one file Main.cpp.

CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.ht...-pathnames
Compile++ thumb : Project <= Main.cpp
Compile++ thumb : Project <= Main.cpp
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi-v7a/gdbserver
Gdbsetup : libs/armeabi-v7a/gdb.setup
jni/Main.cpp:105: error: extra qualification 'Player::' on member 'Player'
jni/Main.cpp:105: error: extra qualification 'Player::' on member 'Player'
In file included from jni/../../Installation/EsenthelEngine/EsenthelEngine.h:37,
from jni/stdafx.h:1,
from jni/Main.cpp:2:
jni/../../Installation/EsenthelEngine/Memory/Memory.h: In function 'TYPE*& EE::Free(TYPE*&) [with TYPE = void*]':
jni/../../Installation/EsenthelEngine/Misc/Templates.h:60: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::clear() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Misc/Templates.h:63: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::del() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Misc/Templates.h:172: instantiated from 'EE::Mems<TYPE>::~Mems() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Physics/Actor.h:152: instantiated from here
jni/../../Installation/EsenthelEngine/Memory/Memory.h:81: warning: casting 'void**' to 'void*&' does not dereference pointer
In file included from jni/../../Installation/EsenthelEngine/EsenthelEngine.h:37,
from jni/stdafx.h:1,
from jni/Main.cpp:2:
jni/../../Installation/EsenthelEngine/Memory/Memory.h: In function 'TYPE*& EE::Free(TYPE*&) [with TYPE = void*]':
jni/../../Installation/EsenthelEngine/Misc/Templates.h:60: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::clear() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Misc/Templates.h:63: instantiated from 'EE::Mems<TYPE>& EE::Mems<TYPE>::del() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Misc/Templates.h:172: instantiated from 'EE::Mems<TYPE>::~Mems() [with TYPE = void*]'
jni/../../Installation/EsenthelEngine/Physics/Actor.h:152: instantiated from here
jni/../../Installation/EsenthelEngine/Memory/Memory.h:81: warning: casting 'void**' to 'void*&' does not dereference pointer
make: *** [obj/local/armeabi/objs/Project/Main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi-v7a/objs/Project/Main.o] Error 1
12-17-2011 10:33 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: [ANDROID] Member declaration not found
the only errors you have are this:

jni/Main.cpp:105: error: extra qualification 'Player::' on member 'Player'
jni/Main.cpp:105: error: extra qualification 'Player::' on member 'Player'

this:
Code:
make: *** [obj/local/armeabi/objs/Project/Main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi-v7a/objs/Project/Main.o] Error 1
can be ignored (sometimes you need to press build twice to get rid of this error)
12-17-2011 10:47 PM
Find all posts by this user Quote this message in a reply
Mardok Offline
Member

Post: #5
RE: [ANDROID] Member declaration not found
Uff, working pfft all my other errors repaired. Eclipse is strange ^^
It was helpfully http://www.esenthel.com/wiki/index.php?t...able_Codes

Thank you for your attention.
12-18-2011 01:23 AM
Find all posts by this user Quote this message in a reply
Post Reply