Patches for linux

It’s possible you can’t post the logs because, strangely, this forum chokes on some words (eg “g cc” with no space).

I’ll install opensuse 11.1 and see if I can solve that problem.

I think he has the same what I’m having in opensuse 11.0:

checking whether the Boost::System library is available... yes 
checking whether the Boost::Filesystem library is available... yes 
configure: error: Could not link against !

I also encountered “g cc” posting error, first I thought it’s because of opera.

yes that is the same error i encounter while trying to configure VCMI

I installed openSUSE 11.1 (32 bits), updated it, changed the boost requirement from v1.37 to 1.36, ran autoconf. I then built it and it ran fine.
Could it be related to 64 bits ? I’ll try this week-end.

There’s a problem with how the libraries are found.

Do:
./configure --with-boost-libdir=/usr/lib64

got the ./configure to work now, but when i did the make i got this:

Making all in lib                                                                                                                                                          
make[1]: Entering directory `/home/ron-emir/vcmi/lib'                                                                                                                      
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"vcmi\ VERSION\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"VERSION\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I.   -pthread -I/usr/include  -O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith -MT CConsoleHandler.lo -MD -MP -MF .deps/CConsoleHandler.Tpo -c -o CConsoleHandler.lo `test -f '../CConsoleHandler.cpp' || echo './'`../CConsoleHandler.cpp              
libtool: compile:  g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"VERSION\" "-DPACKAGE_STRING=\"vcmi VERSION\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"VERSION\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" "-DHAVE_BOOST=/**/" "-DHAVE_BOOST_SYSTEM=/**/" "-DHAVE_BOOST_FILESYSTEM=/**/" "-DHAVE_BOOST_THREAD=/**/" "-DHAVE_BOOST_IOSTREAMS=/**/" -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I. -pthread -I/usr/include -O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith -MT CConsoleHandler.lo -MD -MP -MF .deps/CConsoleHandler.Tpo -c ../CConsoleHandler.cpp  -fPIC -DPIC -o .libs/CConsoleHandler.o                                                                        
mv -f .deps/CConsoleHandler.Tpo .deps/CConsoleHandler.Plo                                                                                                                  
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"vcmi\ VERSION\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"VERSION\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I.   -pthread -I/usr/include  -O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith -MT CGameState.lo -MD -MP -MF .deps/CGameState.Tpo -c -o CGameState.lo `test -f '../CGameState.cpp' || echo './'`../CGameState.cpp                                       
libtool: compile:  g++ -DPACKAGE_NAME=\"vcmi\" -DPACKAGE_TARNAME=\"vcmi\" -DPACKAGE_VERSION=\"VERSION\" "-DPACKAGE_STRING=\"vcmi VERSION\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vcmi\" -DVERSION=\"VERSION\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" "-DHAVE_BOOST=/**/" "-DHAVE_BOOST_SYSTEM=/**/" "-DHAVE_BOOST_FILESYSTEM=/**/" "-DHAVE_BOOST_THREAD=/**/" "-DHAVE_BOOST_IOSTREAMS=/**/" -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_BOOST_FILESYSTEM_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_REPLACE_HPP=1 -DHAVE_BOOST_FILESYSTEM_OPERATIONS_HPP=1 -DHAVE_BOOST_ASSIGN_STD_VECTOR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_FIND_HPP=1 -DHAVE_BOOST_FUNCTION_HPP=1 -DHAVE_BOOST_BIND_HPP=1 -DHAVE_ATEXIT=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SELECT=1 -DHAVE_SQRT=1 -I. -pthread -I/usr/include -O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith -MT CGameState.lo -MD -MP -MF .deps/CGameState.Tpo -c ../CGameState.cpp  -fPIC -DPIC -o .libs/CGameState.o                                                                                            
In file included from ../CGameState.h:5,                                                                                                                                   
                 from ../CGameState.cpp:5:                                                                                                                                 
../hch/CCreatureHandler.h:10:30: error: lib/StackFeature.h: Ingen slik fil eller filkatalog                                                                                
In file included from ../CGameState.h:5,                                                                                                                                   
                 from ../CGameState.cpp:5:                                                                                                                                 
../hch/CCreatureHandler.h:38: error: ‘StackFeature’ was not declared in this scope                                                                                         
../hch/CCreatureHandler.h:38: error: template argument 1 is invalid                                                                                                        
../hch/CCreatureHandler.h:38: error: template argument 2 is invalid                                                                                                        
In file included from ../CGameState.cpp:20:                                                                                                                                
../lib/NetPacks.h: In member function ‘bool CPackForServer::applyGh(CGameHandler*)’:                                                                                       
../lib/NetPacks.h:61: warning: no return statement in function returning non-void                                                                                          
../CGameState.cpp: In function ‘void foofoofoo()’:                                                                                                                         
../CGameState.cpp:45: warning: no previous declaration for ‘void foofoofoo()’                                                                                              
../CGameState.cpp: In function ‘CGObjectInstance* createObject(int, int, int3, int)’:                                                                                      
../CGameState.cpp:171: warning: no previous declaration for ‘CGObjectInstance* createObject(int, int, int3, int)’                                                          
../CGameState.cpp: In member function ‘CStack* BattleInfo::getStack(int)’:                                                                                                 
../CGameState.cpp:214: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp: In member function ‘void BattleInfo::getAccessibilityMap(bool*, int)’:                                                                                  
../CGameState.cpp:240: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp: In member function ‘std::vector<int, std::allocator<int> > BattleInfo::getAccessibility(int, bool)’:                                                    
../CGameState.cpp:339: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp:339: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp:353: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.h: In constructor ‘CStack::CStack(CCreature*, int, int, int, bool, int)’:                                                                                    
../CGameState.h:174: warning: ‘CStack::effects’ will be initialized after                                                                                                  
../CGameState.h:157: warning:   ‘ui8 CStack::speed’                                                                                                                        
../CGameState.cpp:481: warning:   when initialized here                                                                                                                    
../CGameState.h:162: warning: ‘CStack::features’ will be initialized after                                                                                                 
../CGameState.h:158: warning:   ‘si32 CStack::attack’                                                                                                                      
../CGameState.cpp:481: warning:   when initialized here                                                                                                                    
../CGameState.cpp: In member function ‘int CGameState::pickHero(int)’:                                                                                                     
../CGameState.cpp:687: warning: unused variable ‘f’                                                                                                                        
../CGameState.cpp: In member function ‘CGHeroInstance* CGameState::getHero(int)’:                                                                                          
../CGameState.cpp:705: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp: In member function ‘CGTownInstance* CGameState::getTown(int)’:                                                                                          
../CGameState.cpp:711: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp: In member function ‘std::pair<int, int> CGameState::pickObject(CGObjectInstance*)’:                                                                     
../CGameState.cpp:784: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp:790: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp:822: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp:828: warning: comparison between signed and unsigned integer expressions                                                                                 
../CGameState.cpp: In member function ‘void CGameState::init(StartInfo*, Mapa*, int)’:                                                                                     
../CGameState.cpp:1006: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:1009: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp: In member function ‘CPath* CGameState::getPath(int3, int3, const CGHeroInstance*)’:                                                                     
../CGameState.cpp:1657: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:1657: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:1696: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:1702: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp: In static member function ‘static int BattleInfo::calculateDmg(const CStack*, const CStack*, const CGHeroInstance*, const CGHeroInstance*, bool)’:      
../CGameState.cpp:1848: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp: In member function ‘std::set<CStack*, std::less<CStack*>, std::allocator<CStack*> > BattleInfo::getAttackedCreatures(const CSpell*, const CGHeroInstance*, int)’:                                                                                                                                                                  
../CGameState.cpp:2027: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:2048: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp: In member function ‘CStack* BattleInfo::getNextStack()’:                                                                                                
../CGameState.cpp:2080: warning: unused variable ‘current’                                                                                                                 
../CGameState.cpp: In member function ‘std::vector<CStack, std::allocator<CStack> > BattleInfo::getStackQueue()’:                                                          
../CGameState.cpp:2118: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.cpp:2142: warning: comparison between signed and unsigned integer expressions                                                                                
../CGameState.h: In member function ‘void CStack::load(Handler&, int) [with Handler = CISer<CLoadFile>]’:                                                                  
../CGameState.h:207:   instantiated from ‘void CStack::serialize(Handler&, int) [with Handler = CISer<CLoadFile>]’                                                         
../lib/Connection.h:492:   instantiated from ‘void CISer<Serializer>::loadSerializable(T&) [with T = CStack, Serializer = CLoadFile]’                                      
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CLoadFile, T = CStack]’                                   
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = CStack, Serializer = CLoadFile]’                                                  
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = CStack, Serializer = CLoadFile]’                                     
../lib/Connection.h:520:   instantiated from ‘void CISer<Serializer>::loadPointer(T&) [with T = CStack*, Serializer = CLoadFile]’                                          
../lib/Connection.h:142:   instantiated from ‘static void LoadPointer<Ser, T>::invoke(Ser&, T&) [with Ser = CLoadFile, T = CStack*]’                                       
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = CStack*, Serializer = CLoadFile]’                                                 
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = CStack*, Serializer = CLoadFile]’                                    
../lib/Connection.h:534:   instantiated from ‘void CISer<Serializer>::loadSerializable(std::vector<T, std::allocator<_Tp1> >&) [with T = CStack*, Serializer = CLoadFile]’ 
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CLoadFile, T = std::vector<CStack*, std::allocator<CStack*> >]’                                                                                                                                                                      
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CLoadFile]’          
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CLoadFile]’                                                                                                                                                                        
../lib/Connection.h:456:   instantiated from ‘CISer<Serializer>& CISer<Serializer>::operator&(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CLoadFile]’                                                                                                                                                                  
../CGameState.h:124:   instantiated from ‘void BattleInfo::serialize(Handler&, int) [with Handler = CISer<CLoadFile>]’                                                     
../lib/Connection.h:492:   instantiated from ‘void CISer<Serializer>::loadSerializable(T&) [with T = BattleInfo, Serializer = CLoadFile]’                                  
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CLoadFile, T = BattleInfo]’                               
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = BattleInfo, Serializer = CLoadFile]’                                              
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = BattleInfo, Serializer = CLoadFile]’                                 
../lib/Connection.h:520:   instantiated from ‘void CISer<Serializer>::loadPointer(T&) [with T = BattleInfo*, Serializer = CLoadFile]’                                      
../lib/Connection.h:142:   instantiated from ‘static void LoadPointer<Ser, T>::invoke(Ser&, T&) [with Ser = CLoadFile, T = BattleInfo*]’                                   
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = BattleInfo*, Serializer = CLoadFile]’                                             
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = BattleInfo*, Serializer = CLoadFile]’                                
../lib/Connection.h:456:   instantiated from ‘CISer<Serializer>& CISer<Serializer>::operator&(T&) [with T = BattleInfo*, Serializer = CLoadFile]’                          
../lib/NetPacks.h:657:   instantiated from ‘void BattleStart::serialize(Handler&, int) [with Handler = CISer<CLoadFile>]’                                                  
../lib/Connection.h:419:   instantiated from ‘void CPointerLoader<Serializer, T>::loadPtr(CLoaderBase&, void*) const [with Serializer = CISer<CLoadFile>, T = BattleStart]’
../CGameState.cpp:2182:   instantiated from here                                                                                                                           
../CGameState.h:198: error: no match for ‘operator=’ in ‘((CStack*)this)->CStack::features = ((CStack*)this)->CStack::creature->CCreature::abilities’                      
/usr/include/c++/4.3/bits/vector.tcc:144: note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = StackFeature, _Alloc = std::allocator<StackFeature>]                                                                                                                       
../CGameState.h: In member function ‘void CStack::load(Handler&, int) [with Handler = COSer<CSaveFile>]’:                                                                  
../CGameState.h:207:   instantiated from ‘void CStack::serialize(Handler&, int) [with Handler = COSer<CSaveFile>]’                                                         
../lib/Connection.h:348:   instantiated from ‘void COSer<Serializer>::saveSerializable(const T&) [with T = CStack, Serializer = CSaveFile]’                                
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CSaveFile, T = CStack]’                             
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = CStack, Serializer = CSaveFile]’                                            
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = CStack, Serializer = CSaveFile]’                               
../lib/Connection.h:309:   instantiated from ‘void COSer<Serializer>::savePointer(const T&) [with T = CStack*, Serializer = CSaveFile]’                                    
../lib/Connection.h:134:   instantiated from ‘static void SavePointer<Ser, T>::invoke(Ser&, const T&) [with Ser = CSaveFile, T = CStack*]’                                 
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = CStack*, Serializer = CSaveFile]’                                           
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = CStack*, Serializer = CSaveFile]’                              
../lib/Connection.h:356:   instantiated from ‘void COSer<Serializer>::saveSerializable(const std::vector<T, std::allocator<_Tp1> >&) [with T = CStack*, Serializer = CSaveFile]’                                                                                                                                                                      
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CSaveFile, T = std::vector<CStack*, std::allocator<CStack*> >]’                                                                                                                                                                
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CSaveFile]’    
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CSaveFile]’                                                                                                                                                                  
../lib/Connection.h:281:   instantiated from ‘COSer<Serializer>& COSer<Serializer>::operator&(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CSaveFile]’                                                                                                                                                            
../CGameState.h:124:   instantiated from ‘void BattleInfo::serialize(Handler&, int) [with Handler = COSer<CSaveFile>]’                                                     
../lib/Connection.h:348:   instantiated from ‘void COSer<Serializer>::saveSerializable(const T&) [with T = BattleInfo, Serializer = CSaveFile]’                            
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CSaveFile, T = BattleInfo]’                         
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = BattleInfo, Serializer = CSaveFile]’                                        
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = BattleInfo, Serializer = CSaveFile]’                           
../lib/Connection.h:309:   instantiated from ‘void COSer<Serializer>::savePointer(const T&) [with T = BattleInfo*, Serializer = CSaveFile]’                                
../lib/Connection.h:134:   instantiated from ‘static void SavePointer<Ser, T>::invoke(Ser&, const T&) [with Ser = CSaveFile, T = BattleInfo*]’                             
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = BattleInfo*, Serializer = CSaveFile]’                                       
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = BattleInfo*, Serializer = CSaveFile]’                          
../lib/Connection.h:281:   instantiated from ‘COSer<Serializer>& COSer<Serializer>::operator&(const T&) [with T = BattleInfo*, Serializer = CSaveFile]’                    
../lib/NetPacks.h:657:   instantiated from ‘void BattleStart::serialize(Handler&, int) [with Handler = COSer<CSaveFile>]’                                                  
../lib/Connection.h:245:   instantiated from ‘void CPointerSaver<Serializer, T>::savePtr(CSaverBase&, const void*) const [with Serializer = COSer<CSaveFile>, T = BattleStart]’                                                                                                                                                                       
../CGameState.cpp:2182:   instantiated from here                                                                                                                           
../CGameState.h:198: error: no match for ‘operator=’ in ‘((CStack*)this)->CStack::features = ((CStack*)this)->CStack::creature->CCreature::abilities’                      
/usr/include/c++/4.3/bits/vector.tcc:144: note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = StackFeature, _Alloc = std::allocator<StackFeature>]                                                                                                                       
../CGameState.h: In member function ‘void CStack::load(Handler&, int) [with Handler = COSer<CConnection>]’:                                                                
../CGameState.h:207:   instantiated from ‘void CStack::serialize(Handler&, int) [with Handler = COSer<CConnection>]’                                                       
../lib/Connection.h:348:   instantiated from ‘void COSer<Serializer>::saveSerializable(const T&) [with T = CStack, Serializer = CConnection]’                              
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CConnection, T = CStack]’                           
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = CStack, Serializer = CConnection]’                                          
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = CStack, Serializer = CConnection]’                             
../lib/Connection.h:309:   instantiated from ‘void COSer<Serializer>::savePointer(const T&) [with T = CStack*, Serializer = CConnection]’                                  
../lib/Connection.h:134:   instantiated from ‘static void SavePointer<Ser, T>::invoke(Ser&, const T&) [with Ser = CConnection, T = CStack*]’                               
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = CStack*, Serializer = CConnection]’                                         
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = CStack*, Serializer = CConnection]’                            
../lib/Connection.h:356:   instantiated from ‘void COSer<Serializer>::saveSerializable(const std::vector<T, std::allocator<_Tp1> >&) [with T = CStack*, Serializer = CConnection]’                                                                                                                                                                    
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CConnection, T = std::vector<CStack*, std::allocator<CStack*> >]’                                                                                                                                                              
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’  
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’                                                                                                                                                                
../lib/Connection.h:281:   instantiated from ‘COSer<Serializer>& COSer<Serializer>::operator&(const T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’                                                                                                                                                          
../CGameState.h:124:   instantiated from ‘void BattleInfo::serialize(Handler&, int) [with Handler = COSer<CConnection>]’                                                   
../lib/Connection.h:348:   instantiated from ‘void COSer<Serializer>::saveSerializable(const T&) [with T = BattleInfo, Serializer = CConnection]’                          
../lib/Connection.h:118:   instantiated from ‘static void SaveSerializable<Ser, T>::invoke(Ser&, const T&) [with Ser = CConnection, T = BattleInfo]’                       
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = BattleInfo, Serializer = CConnection]’                                      
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = BattleInfo, Serializer = CConnection]’                         
../lib/Connection.h:309:   instantiated from ‘void COSer<Serializer>::savePointer(const T&) [with T = BattleInfo*, Serializer = CConnection]’                              
../lib/Connection.h:134:   instantiated from ‘static void SavePointer<Ser, T>::invoke(Ser&, const T&) [with Ser = CConnection, T = BattleInfo*]’                           
../lib/Connection.h:343:   instantiated from ‘void COSer<Serializer>::save(const T&) [with T = BattleInfo*, Serializer = CConnection]’                                     
../lib/Connection.h:274:   instantiated from ‘Serializer& COSer<Serializer>::operator<<(const T&) [with T = BattleInfo*, Serializer = CConnection]’                        
../lib/Connection.h:281:   instantiated from ‘COSer<Serializer>& COSer<Serializer>::operator&(const T&) [with T = BattleInfo*, Serializer = CConnection]’                  
../lib/NetPacks.h:657:   instantiated from ‘void BattleStart::serialize(Handler&, int) [with Handler = COSer<CConnection>]’                                                
../lib/Connection.h:245:   instantiated from ‘void CPointerSaver<Serializer, T>::savePtr(CSaverBase&, const void*) const [with Serializer = COSer<CConnection>, T = BattleStart]’
../CGameState.cpp:2182:   instantiated from here
../CGameState.h:198: error: no match for ‘operator=’ in ‘((CStack*)this)->CStack::features = ((CStack*)this)->CStack::creature->CCreature::abilities’
/usr/include/c++/4.3/bits/vector.tcc:144: note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = StackFeature, _Alloc = std::allocator<StackFeature>]
../CGameState.h: In member function ‘void CStack::load(Handler&, int) [with Handler = CISer<CConnection>]’:
../CGameState.h:207:   instantiated from ‘void CStack::serialize(Handler&, int) [with Handler = CISer<CConnection>]’
../lib/Connection.h:492:   instantiated from ‘void CISer<Serializer>::loadSerializable(T&) [with T = CStack, Serializer = CConnection]’
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CConnection, T = CStack]’
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = CStack, Serializer = CConnection]’
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = CStack, Serializer = CConnection]’
../lib/Connection.h:520:   instantiated from ‘void CISer<Serializer>::loadPointer(T&) [with T = CStack*, Serializer = CConnection]’
../lib/Connection.h:142:   instantiated from ‘static void LoadPointer<Ser, T>::invoke(Ser&, T&) [with Ser = CConnection, T = CStack*]’
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = CStack*, Serializer = CConnection]’
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = CStack*, Serializer = CConnection]’
../lib/Connection.h:534:   instantiated from ‘void CISer<Serializer>::loadSerializable(std::vector<T, std::allocator<_Tp1> >&) [with T = CStack*, Serializer = CConnection]’
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CConnection, T = std::vector<CStack*, std::allocator<CStack*> >]’
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’
../lib/Connection.h:456:   instantiated from ‘CISer<Serializer>& CISer<Serializer>::operator&(T&) [with T = std::vector<CStack*, std::allocator<CStack*> >, Serializer = CConnection]’
../CGameState.h:124:   instantiated from ‘void BattleInfo::serialize(Handler&, int) [with Handler = CISer<CConnection>]’
../lib/Connection.h:492:   instantiated from ‘void CISer<Serializer>::loadSerializable(T&) [with T = BattleInfo, Serializer = CConnection]’
../lib/Connection.h:166:   instantiated from ‘static void LoadSerializable<Ser, T>::invoke(Ser&, T&) [with Ser = CConnection, T = BattleInfo]’
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = BattleInfo, Serializer = CConnection]’
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = BattleInfo, Serializer = CConnection]’
../lib/Connection.h:520:   instantiated from ‘void CISer<Serializer>::loadPointer(T&) [with T = BattleInfo*, Serializer = CConnection]’
../lib/Connection.h:142:   instantiated from ‘static void LoadPointer<Ser, T>::invoke(Ser&, T&) [with Ser = CConnection, T = BattleInfo*]’
../lib/Connection.h:482:   instantiated from ‘void CISer<Serializer>::load(T&) [with T = BattleInfo*, Serializer = CConnection]’
../lib/Connection.h:449:   instantiated from ‘Serializer& CISer<Serializer>::operator>>(T&) [with T = BattleInfo*, Serializer = CConnection]’
../lib/Connection.h:456:   instantiated from ‘CISer<Serializer>& CISer<Serializer>::operator&(T&) [with T = BattleInfo*, Serializer = CConnection]’
../lib/NetPacks.h:657:   instantiated from ‘void BattleStart::serialize(Handler&, int) [with Handler = CISer<CConnection>]’
../lib/Connection.h:419:   instantiated from ‘void CPointerLoader<Serializer, T>::loadPtr(CLoaderBase&, void*) const [with Serializer = CISer<CConnection>, T = BattleStart]’
../CGameState.cpp:2182:   instantiated from here
../CGameState.h:198: error: no match for ‘operator=’ in ‘((CStack*)this)->CStack::features = ((CStack*)this)->CStack::creature->CCreature::abilities’
/usr/include/c++/4.3/bits/vector.tcc:144: note: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = StackFeature, _Alloc = std::allocator<StackFeature>]
make[1]: *** [CGameState.lo] Error 1
make[1]: Leaving directory `/home/ron-emir/vcmi/lib'
make: *** [all-recursive] Error 1

Do a “svn update” to your tree. It’s already been fixed there.

/bin/sh: …/depcomp: Ingen slik fil eller filkatalog
make[1]: *** [CConsoleHandler.lo] Error 127
make[1]: Leaving directory `/home/ron-emir/vcmi/lib’
make: *** [all-recursive] Error 1

thats after the update, deleted the folder and built a new one too, but same error still

Beklager. It’s fixed now. Do an update.

den er god hehe ill try it again when i reboot into suse again, still testing vcmi in win7

still no luck im afraid

make[1]: *** No rule to make target ../CGameState.cpp', needed byCGameState.lo’. Stop.
make[1]: Leaving directory `/home/ron-emir/vcmi/lib’
make: *** [all-recursive] Error 1

You’re out of luck :stuck_out_tongue: Sources have been reorganized this morning.
It’s fixed now.

hehe well, so far i’ve gotten my h3 fix from wine ill test it out later then

btw ubuntux, you arent from norway by any chance?

Nei, men Google Translate er min venn.

I removed all boost packages and installed it from src.rpm and with that configure option pointing it to /usr/lib64 I managed to build it. Followed instructions in README.linux and I have it up and running, at first clicking here and there it segfaulted :stuck_out_tongue: Polish font is broken, is there and easy way change language to english?

In folder Fonts, you can replace this files, rename etc. but new font must be TTF.

mediafire.com/?3r35lz216nk Here is a little multiplayermod I made long ago (based on WoG) … It should change all txt in polish version to english … Though this mod is not made to work with wog … and doesn’t have most of wog options… I don’t know if it will work with VCMI. BTW any chances to see some debs ? :slight_smile: even precompiled with checkinstall ? or maybe a static linked 7zipped vcmi build ? (yeah I know it’s not *nix like but some other games like GLEST provide this kind of builds that install in /home folder)

I’ll try to stick with Polish fonts, whenever I try to move on any map I get a horse walking sound loop and in console:

sh: line 1: 20044 Naruszenie ochrony pamięci   ./vcmiserver 3030 > server_log.txt
Connection reset by peer
Lost connection to server, ending listening thread!
Cannot get object with id -1
Broken pipe

The server crashed. Could you post VCMI_Server_log.txt and server_log.txt ?