mizu
24-02-2011 19:20:48
Hi,
I've installed NxOgre like explain the "NxOgre" Wiki https://github.com/betajaen/nxogretutorials/wiki
I'm using minGW with Msys etc ...
When i build my project, the IDE send me :
Thanks..
I've installed NxOgre like explain the "NxOgre" Wiki https://github.com/betajaen/nxogretutorials/wiki
I'm using minGW with Msys etc ...
When i build my project, the IDE send me :
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/d/M2/TER/depotSVN/Sources/Achinus'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGWOgre-Windows/achinus.exe
make[2]: Entering directory `/d/M2/TER/depotSVN/Sources/Achinus'
mkdir -p build/Debug/MinGWOgre-Windows/Source/Etats
rm -f build/Debug/MinGWOgre-Windows/Source/Etats/Ach_EtatJeu.o.d
g++.exe -c -g -I/C/Dev/CEGUI-SDK/cegui/include -I/C/Dev/MinGW/include -I/C/Dev/OgreSDK/boost_1_44 -I/C/Dev/OgreSDK/include/OGRE -I/C/Dev/OgreSDK/include/OIS -I/C/Dev/Qt/4.7.1/include -IInclude -I/C/Dev/NxOgre/sdk -I/C/Dev/Critter/sdk -I/C/Dev/OgreSDK/include -MMD -MP -MF build/Debug/MinGWOgre-Windows/Source/Etats/Ach_EtatJeu.o.d -o build/Debug/MinGWOgre-Windows/Source/Etats/Ach_EtatJeu.o Source/Etats/Ach_EtatJeu.cpp
from c:/Dev/NxOgre/sdk/NxOgreString.h:35,
from c:/Dev/NxOgre/sdk/NxOgreErrorStream.h:36,
from c:/Dev/NxOgre/sdk/NxOgreCommon.h:46,
from c:/Dev/NxOgre/sdk/NxOgreActor.h:33,
from c:/Dev/NxOgre/sdk/NxOgre.h:35,
from c:/Dev/Critter/sdk/CritterStable.h:37,
from c:/Dev/Critter/sdk/CritterBody.h:32,
from c:/Dev/Critter/sdk/critter.h:34,
from Include/Etats/Ach_EtatJeu.h:9,
from Source/Etats/Ach_EtatJeu.cpp:9:
In file included from c:/Dev/NxOgre/sdk/NxOgreBuffer.h:36:0,
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:49:54: error: template declaration of 'NxOgre::NxOgrePublicTemplateClass NxOgre::SharedPointer'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:49:54: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:51:3: error: expected primary-expression before 'public'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:51:3: error: expected '}' before 'public'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:59:41: error: ISO C++ forbids declaration of 'SharedPointer' with no type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:59:41: error: only declarations of constructors can be 'explicit'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: In function 'int NxOgre::SharedPointer(user_type*)':
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:60:6: error: only constructors take base initializers
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:62:9: error: 'mPtr' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:63:6: error: 'mReferences' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: At global scope:
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:66:24: error: 'SharedPointer' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:66:39: error: ISO C++ forbids declaration of 'other' with no type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:66:44: error: ISO C++ forbids declaration of 'SharedPointer' with no type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: In function 'int NxOgre::SharedPointer(const int&)':
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:67:6: error: only constructors take base initializers
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:69:5: error: 'mPtr' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:69:18: error: request for member 'mPtr' in 'other', which is of non-class type 'const int'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:70:5: error: 'mReferences' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:70:25: error: request for member 'mReferences' in 'other', which is of non-class type 'const int'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: At global scope:
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:75:4: error: 'SharedPointer' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:86:24: error: 'SharedPointer<user_type>' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:86:50: error: ISO C++ forbids declaration of 'other' with no type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:86:55: error: ISO C++ forbids declaration of 'SharedPointer' with no type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: In function 'int NxOgre::SharedPointer(const int&)':
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:87:6: error: only constructors take base initializers
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:89:5: error: 'mPtr' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:89:18: error: request for member 'getPtr' in 'other', which is of non-class type 'const int'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:90:5: error: 'mReferences' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:90:25: error: request for member 'getReferencesPtr' in 'other', which is of non-class type 'const int'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h: At global scope:
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:96:4: error: 'SharedPointer' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:106:4: error: expected unqualified-id before 'virtual'
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:111:11: error: 'T' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:117:11: error: 'T' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:123:11: error: 'T' does not name a type
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:129:14: error: variable or field 'bind' declared void
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:129:14: error: 'T' was not declared in this scope
c:/Dev/NxOgre/sdk/NxOgreSharedPointer.h:129:17: error: 'ptr' was not declared in this scope
from c:\dev\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windows.h:48,
from c:/Dev/OgreSDK/include/OGRE/WIN32/OgreTimerImp.h:37,
from c:/Dev/OgreSDK/include/OGRE/OgreTimer.h:36,
from c:/Dev/OgreSDK/include/OGRE/OgreRenderTarget.h:36,
from c:/Dev/OgreSDK/include/OGRE/OgreRenderSystem.h:41,
from c:/Dev/OgreSDK/include/OGRE/Ogre.h:88,
from c:/Dev/Critter/sdk/CritterStable.h:38,
from c:/Dev/Critter/sdk/CritterBody.h:32,
from c:/Dev/Critter/sdk/critter.h:34,
from Include/Etats/Ach_EtatJeu.h:9,
from Source/Etats/Ach_EtatJeu.cpp:9:
In file included from c:\dev\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:253:0,
c:\dev\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:2443:21: error: expected '}' before end of line
c:\dev\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winnt.h:2443:21: error: expected declaration before end of line
make[2]: *** [build/Debug/MinGWOgre-Windows/Source/Etats/Ach_EtatJeu.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `/d/M2/TER/depotSVN/Sources/Achinus'
make[1]: Leaving directory `/d/M2/TER/depotSVN/Sources/Achinus'
BUILD FAILED (exit value 2, total time: 27s)
Thanks..