latest svn, compiling GG

Questions, problems and discussion about compiling FreeOrion.
Post Reply
Message
Author
Farmer
Krill Swarm
Posts: 13
Joined: Thu Feb 21, 2008 11:47 pm

latest svn, compiling GG

#1 Post by Farmer » Wed Oct 21, 2009 8:16 pm

scons configure runs without errors, but when i try to build it:

Code: Select all

g++ -o src/adobe/virtual_machine.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/local/include/boost-1_38 -I/usr/include/freetype2 -I. -Ilibltdl src/adobe/virtual_machine.cpp
./GG/adobe/any_regular.hpp: In static member function 'static adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::helper<T>::assign(adobe::version_1::any_regular_t&, const T&) [with T = bool]':
./GG/adobe/any_regular.hpp:610:   instantiated from 'adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::assign(const T&, typename adobe::copy_sink<T, T, void*>::type) [with T = bool]'
src/adobe/virtual_machine.cpp:510:   instantiated from 'void adobe::virtual_machine_t::implementation_t::unary_operator() [with Operator = std::logical_not, OperandType = bool]'
src/adobe/virtual_machine.cpp:356:   instantiated from here
./GG/adobe/any_regular.hpp:734: error: no matching function for call to 'swap(adobe::version_1::any_regular_t&, adobe::version_1::any_regular_t&)'
./GG/adobe/any_regular.hpp: In static member function 'static adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::helper<T>::assign(adobe::version_1::any_regular_t&, const T&) [with T = double]':
./GG/adobe/any_regular.hpp:610:   instantiated from 'adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::assign(const T&, typename adobe::copy_sink<T, T, void*>::type) [with T = double]'
src/adobe/virtual_machine.cpp:510:   instantiated from 'void adobe::virtual_machine_t::implementation_t::unary_operator() [with Operator = std::negate, OperandType = double]'
src/adobe/virtual_machine.cpp:357:   instantiated from here
./GG/adobe/any_regular.hpp:734: error: no matching function for call to 'swap(adobe::version_1::any_regular_t&, adobe::version_1::any_regular_t&)'
./GG/adobe/any_regular.hpp: In static member function 'static adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::helper<T>::assign(adobe::version_1::any_regular_t&, const T&) [with T = long int]':
./GG/adobe/any_regular.hpp:610:   instantiated from 'adobe::version_1::any_regular_t& adobe::version_1::any_regular_t::assign(const T&, typename adobe::copy_sink<T, T, void*>::type) [with T = long int]'
src/adobe/virtual_machine.cpp:493:   instantiated from 'void adobe::virtual_machine_t::implementation_t::binary_operator() [with Operator = std::modulus, OperandType = long int]'
src/adobe/virtual_machine.cpp:361:   instantiated from here
./GG/adobe/any_regular.hpp:734: error: no matching function for call to 'swap(adobe::version_1::any_regular_t&, adobe::version_1::any_regular_t&)'
scons: *** [src/adobe/virtual_machine.os] Error 1
scons: building terminated because of errors.
Version:

Code: Select all

Externer Verweis aktualisiert zu Revision 801.
Aktualisiert zu Revision 3235.
Any Ideas?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12268
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: latest svn, compiling GG

#2 Post by Geoff the Medio » Wed Oct 21, 2009 8:26 pm


Post Reply