oregonframework compilation error

Issue #316 invalid
odistu created an issue

I'm trying to compile the latest oregoncore revision accordingly to your wiki guide but got an error: [ 10%] Built target oregonframework
[ 10%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/ReferenceCount.cpp.o Scanning dependencies of target shared
[ 10%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/RegistryUtil.cpp.o
[ 11%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/Sphere.cpp.o
[ 11%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/TileAssembler.cpp.o
[ 11%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/stringutils.cpp.o
[ 11%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/System.cpp.o
[ 11%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/WorldModel.cpp.o
[ 11%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/TextInput.cpp.o
[ 11%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/ModelInstance.cpp.o
[ 12%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/VMapFactory.cpp.o
[ 12%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/TextOutput.cpp.o
[ 12%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/BIH.cpp.o
[ 12%] Building CXX object src/shared/CMakeFiles/shared.dir/vmap/VMapManager2.cpp.o
[ 12%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/Triangle.cpp.o
[ 13%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/uint128.cpp.o
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h: In member function ‘size_t gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&, size_t) const [with _Val = std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _HashFcn = gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _ExtractKey = std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]’: /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h:588: instantiated from ‘size_t gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num_key(const _Key&) const [with _Val = std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _HashFcn = gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _ExtractKey = std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h:592: instantiated from ‘size_t gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::_M_bkt_num(const _Val&) const [with _Val = std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _HashFcn = gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _ExtractKey = std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]’ /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h:646: instantiated from ‘gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>& gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::operator++() [with _Val = std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel>, _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _HashFcn = gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _ExtractKey = std::_Select1st<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VMAP::ManagedModel> >, _EqualKey = std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<VMAP::ManagedModel>]’ /opt/oregoncore/oregoncore/source/src/shared/vmap/VMapManager2.cpp:48: instantiated from here /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h:596: error: no match for call to ‘(const gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >) (const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)’ make[2]: [src/shared/CMakeFiles/shared.dir/vmap/VMapManager2.cpp.o] Error 1 make[1]: [src/shared/CMakeFiles/shared.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 13%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/UprightFrame.cpp.o [ 13%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/Vector2.cpp.o
[ 13%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/Vector3.cpp.o
[ 13%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/Vector4.cpp.o
Linking CXX static library libg3dlite.a
[ 13%] Built target g3dlite
make:
[all] Error 2

OS is CentOS release 5.5 (Final)

Comments (2)

  1. stfx

    Working for Linux(Ubunto) and Windows ... dont know about CentOS but I guess it should work. Well things like that belong into the forum

  2. Log in to comment