Hi, thanks for trying the git version. Your problem is caused by a bug of gcc 4.4 version. Many solution: 1) update gcc to 4.5 or higher version 2) Try: $ g++ -O3 -fno-exceptions -std=c++0x -pthread -I/usr/include/tcl8.5 -o src/sortcache.o -c src/sortcache.cpp $ make 3) Remove "-fno-rtti" from Makefile 4) Remove "-std=c++0x -pthread" from Makefile (no multithreading: "Best Games" window will be slower). Bye, Fulvio
Gerardo Fernandez wrote: > Hi all, > > is it necessary Tcl/Tk 8.6 to compile the Scid version from the Git > repository? > > This is the error I'm getting when trying to compile on Linux Mint 9 > (based on Ubuntu 10.04): > > g++ -O3 -fno-rtti -fno-exceptions -std=c++0x -pthread -Wall > -I/usr/include/tcl8.5 -o src/sortcache.o -c src/sortcache.cpp > In file included from /usr/include/c++/4.4/memory:83, > from /usr/include/c++/4.4/thread:40, > from src/sortcache.cpp:24: > /usr/include/c++/4.4/bits/shared_ptr.h: In member function ‘virtual > void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, > _Lp>::_M_get_deleter(const std::type_info&)’: > /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid > with -fno-rtti > /usr/include/c++/4.4/bits/shared_ptr.h: In member function ‘virtual > void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc, > _Lp>::_M_get_deleter(const std::type_info&)’: > /usr/include/c++/4.4/bits/shared_ptr.h:204: error: cannot use typeid > with -fno-rtti > /usr/include/c++/4.4/bits/shared_ptr.h: In constructor > ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, > _Alloc, _Args&& ...)’: > /usr/include/c++/4.4/bits/shared_ptr.h:861: error: cannot use typeid > with -fno-rtti > /usr/include/c++/4.4/bits/shared_ptr.h: In function ‘_Del* > std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)’: > /usr/include/c++/4.4/bits/shared_ptr.h:1005: error: cannot use typeid > with -fno-rtti > src/sortcache.cpp: In static member function ‘static SortCache* > SortCache::CreateFromFile(Index*, NameBase*)’: > src/sortcache.cpp:855: warning: comparison between signed and unsigned > integer expressions > src/sortcache.cpp: In static member function ‘static bool > SortCache::CanLoad(char*, uint)’: > src/sortcache.cpp:923: warning: comparison between signed and unsigned > integer expressions > make: *** [src/sortcache.o] Error 1 > > TIA. > > -- "I mean Negative Capability, that is when man is capable of being in uncertainties, Mysteries, doubts without any irritable reaching after fact & reason" ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users