MacOS 10.5.8 - Building error in ryzom core with mutex
Added by Jeru over 4 years ago
After getting my problem with OpenAL, a new difficutly :
./ryzom/code/nel/include/nel/net/unified_network.h: In copy constructor ‘NLNET::CUnifiedNetwork::CUnifiedNetwork(const NLNET::CUnifiedNetwork&)’: ./ryzom/code/nel/include/nel/net/unified_network.h:228: warning: base class ‘class NLMISC::ICommandsHandler’ should be explicitly initialized in the copy constructor ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.h: In member function ‘void CChangeTrackerBase::popFirstChanged()’: ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.h:142: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::enter()’ discards qualifiers ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.h:156: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::leave()’ discards qualifiers ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp: In member function ‘bool CChangeTrackerBase::createMutex(sint32, bool)’: ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp:33: error: ‘volatile class NLMISC::CFairMutex’ has no member named ‘init’ ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp: In member function ‘void CChangeTrackerBase::recordChange(TDataSetIndex)’: ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp:63: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::enter()’ discards qualifiers ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp:101: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::leave()’ discards qualifiers ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp: In member function ‘void CChangeTrackerBase::cancelChange(TDataSetIndex)’: ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp:115: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::enter()’ discards qualifiers ./ryzom/code/ryzom/common/src/game_share/change_tracker_base.cpp:147: error: passing ‘volatile NLMISC::CFairMutex’ as ‘this’ argument of ‘void NLMISC::CFairMutex::leave()’ discards qualifiers make[2]: *** [ryzom/common/src/game_share/CMakeFiles/ryzom_gameshare.dir/change_tracker_base.cpp.o] Error 1 make[1]: *** [ryzom/common/src/game_share/CMakeFiles/ryzom_gameshare.dir/all] Error 2 make: *** [all] Error 2
It seems I'm the only one to get this error.
I'll think it comes of my older Mac ;p
Replies (6)
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by rti over 4 years ago
This is a PowerPC machine, isn't it?
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by Jeru over 4 years ago
Yes, old PowerBook G4
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by rti over 4 years ago
I pushed a small change...
Could you please update your repository to r1318 and see it's fixed?
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by Jeru over 4 years ago
Well done ! Problem fixed !
Thx. Till building at this time. Wait and see !
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by rti over 4 years ago
Good luck! AFAIK you are the first one building ryzom core on PPC! ;)
RE: MacOS 10.5.8 - Building error in ryzom core with mutex - Added by Jeru over 4 years ago
There must be a first one ! Thx
(1-6/6)