[ 31%] Building CXX object SupportedGames/FinalFantasy7/CMakeFiles/FinalFantasy7.dir/src/data/FF7ModelListFile.cpp.ocd /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/obj-x86_64-linux-gnu/SupportedGames/FinalFantasy7 && /usr/bin/g++ -DBOOST_ALL_NO_LIB -DTIXML_USE_STL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/ois -I/usr/include/OGRE -I/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/dependencies -I/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include -I/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include -o CMakeFiles/FinalFantasy7.dir/src/data/FF7ModelListFile.cpp.o -c /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cppIn file included from /usr/include/OGRE/Threading/OgreThreadDefines.h:33:0, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h: In constructor ‘QGears::FF7::ModelListFilePtr::ModelListFilePtr(const ResourcePtr&)’:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘const ResourcePtr’ has no member named ‘mutex’ #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:34:115: note: in definition of macro ‘OGRE_LOCK_MUTEX’ #define OGRE_LOCK_MUTEX(name) boost::recursive_mutex::scoped_lock OGRE_TOKEN_PASTE_EXTRA(ogrenameLock, __LINE__) (name) ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:93:36: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/boost/assert.hpp:50:0, from /usr/include/boost/thread/pthread/shared_mutex.hpp:23, from /usr/include/boost/thread/shared_mutex.hpp:22, from /usr/include/boost/thread/detail/thread_group.hpp:9, from /usr/include/boost/thread/thread.hpp:13, from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:49, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:43: error: expected ‘,’ or ‘;’ before ‘(’ token #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:94:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41:0, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘mutex’ was not declared in this scope #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:74: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:94:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: note: suggested alternative: #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:74: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:94:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/boost/thread/mutex.hpp:16:0, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/pthread/condition_variable.hpp:12, from /usr/include/boost/thread/condition_variable.hpp:16, from /usr/include/boost/thread/condition.hpp:13, from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:48, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/boost/thread/pthread/mutex.hpp:91:11: note: ‘boost::mutex’ class mutex ^In file included from /usr/include/OGRE/Threading/OgreThreadDefines.h:33:0, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘const ResourcePtr’ has no member named ‘mutex’ #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:97: note: in definition of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:94:55: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:0:/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:95:25: error: expected ‘;’ before ‘pRep’ pRep = static_cast<ModelListFile*>(r.getPointer()); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:96:17: error: ‘pUseCount’ was not declared in this scope pUseCount = r.useCountPointer(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:96:31: error: ‘const ResourcePtr’ has no member named ‘useCountPointer’ pUseCount = r.useCountPointer(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:97:17: error: ‘useFreeMethod’ was not declared in this scope useFreeMethod = r.freeMethod(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:97:35: error: ‘const ResourcePtr’ has no member named ‘freeMethod’ useFreeMethod = r.freeMethod(); ^In file included from /usr/include/OGRE/Threading/OgreThreadDefines.h:33:0, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h: In member function ‘QGears::FF7::ModelListFilePtr& QGears::FF7::ModelListFilePtr::operator=(const ResourcePtr&)’:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘const ResourcePtr’ has no member named ‘mutex’ #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:34:115: note: in definition of macro ‘OGRE_LOCK_MUTEX’ #define OGRE_LOCK_MUTEX(name) boost::recursive_mutex::scoped_lock OGRE_TOKEN_PASTE_EXTRA(ogrenameLock, __LINE__) (name) ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:113:36: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ OGRE_LOCK_MUTEX(*r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/boost/assert.hpp:50:0, from /usr/include/boost/thread/pthread/shared_mutex.hpp:23, from /usr/include/boost/thread/shared_mutex.hpp:22, from /usr/include/boost/thread/detail/thread_group.hpp:9, from /usr/include/boost/thread/thread.hpp:13, from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:49, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:43: error: expected ‘,’ or ‘;’ before ‘(’ token #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:114:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41:0, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘mutex’ was not declared in this scope #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:74: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:114:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: note: suggested alternative: #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:74: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:114:25: note: in expansion of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /usr/include/boost/thread/mutex.hpp:16:0, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/pthread/condition_variable.hpp:12, from /usr/include/boost/thread/condition_variable.hpp:16, from /usr/include/boost/thread/condition.hpp:13, from /usr/include/OGRE/Threading/OgreThreadHeadersBoost.h:48, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:34, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/boost/thread/pthread/mutex.hpp:91:11: note: ‘boost::mutex’ class mutex ^In file included from /usr/include/OGRE/Threading/OgreThreadDefines.h:33:0, from /usr/include/OGRE/Threading/OgreThreadHeaders.h:41, from /usr/include/OGRE/OgreStringInterface.h:35, from /usr/include/OGRE/OgreResource.h:34, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/QGearsMain/include/common/QGearsResource.h:30, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:22, from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:/usr/include/OGRE/Threading/OgreThreadDefines.h:29:30: error: ‘const ResourcePtr’ has no member named ‘mutex’ #define OGRE_AUTO_MUTEX_NAME mutex ^/usr/include/OGRE/Threading/OgreThreadDefinesBoost.h:55:97: note: in definition of macro ‘OGRE_COPY_AUTO_SHARED_MUTEX’ #define OGRE_COPY_AUTO_SHARED_MUTEX(from) assert(!OGRE_AUTO_MUTEX_NAME); OGRE_AUTO_MUTEX_NAME = from ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:114:55: note: in expansion of macro ‘OGRE_AUTO_MUTEX_NAME’ OGRE_COPY_AUTO_SHARED_MUTEX(r.OGRE_AUTO_MUTEX_NAME) ^In file included from /home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/src/data/FF7ModelListFile.cpp:17:0:/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:115:25: error: expected ‘;’ before ‘pRep’ pRep = static_cast<ModelListFile*>(r.getPointer()); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:116:17: error: ‘pUseCount’ was not declared in this scope pUseCount = r.useCountPointer(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:116:31: error: ‘const ResourcePtr’ has no member named ‘useCountPointer’ pUseCount = r.useCountPointer(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:117:17: error: ‘useFreeMethod’ was not declared in this scope useFreeMethod = r.freeMethod(); ^/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/SupportedGames/FinalFantasy7/include/data/FF7ModelListFile.h:117:35: error: ‘const ResourcePtr’ has no member named ‘freeMethod’ useFreeMethod = r.freeMethod(); ^make[3]: *** [SupportedGames/FinalFantasy7/CMakeFiles/FinalFantasy7.dir/src/data/FF7ModelListFile.cpp.o] Error 1make[3]: Leaving directory `/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/obj-x86_64-linux-gnu'make[2]: *** [SupportedGames/FinalFantasy7/CMakeFiles/FinalFantasy7.dir/all] Error 2make[2]: Leaving directory `/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/obj-x86_64-linux-gnu'make[1]: *** [all] Error 2make[1]: Leaving directory `/home/chris/Documents/Projects/Code/Q-Gears/q-gears_0.21/obj-x86_64-linux-gnu'make: *** [debian/stamp-makefile-build] Error 2dpkg-buildpackage: error: debian/rules build gave error exit status 2debuild: fatal error at line 1364:dpkg-buildpackage -rfakeroot -D -us -uc failed