|
From: Lucas L. <luc...@gm...> - 2013-01-23 11:03:15
|
I am trying to build the lib and I get some errors. Some information: uname -a Linux ubuntu 2.6.32-45-generic #102-Ubuntu SMP Wed Jan 2 22:38:04 UTC 2013 x86_64 GNU/Linux *Build:* sh build.sh --clean -c gcc -x g++ -p amd64 -o linux -b 64 --with-boost /usr/include --amd64-use-128bit *First Error:* In file included from ../tests/test-hdr/map/hdr_intrusive_michael_set_hrc.cpp:12: ../tests/test-hdr/map/hdr_intrusive_set.h: In member function ‘void map::IntrusiveHashSetHdrTest::test_skiplist()’: ../tests/test-hdr/map/hdr_intrusive_set.h:629: error: ‘random_shuffle’ is not a member of ‘std’ make: *** [../tests/test-hdr/map/hdr_intrusive_michael_set_hrc.o] Error 1 I added #include <algorithm> to the hdr_intrusive_set.h file and then I get a different error. *Second Error:* ../tests/test-hdr/map/hdr_intrusive_refinable_hashset_list.cpp:177: instantiated from here ../cds/intrusive/striped_set.h:382: error: ‘class boost::intrusive::list<map::IntrusiveStripedSetHdrTest::member_item<boost::intrusive::list_member_hook<> >, boost::intrusive::member_hook<map::IntrusiveStripedSetHdrTest::member_item<boost::intrusive::list_member_hook<> >, boost::intrusive::list_member_hook<>, &map::IntrusiveStripedSetHdrTest::member_item<boost::intrusive::list_member_hook<> >::hMember> >’ has no member named ‘find’ make: *** [../tests/test-hdr/map/hdr_intrusive_refinable_hashset_list.o] Error 1 I looked for the documentation of boost::intrusive::list( http://www.boost.org/doc/libs/1_52_0/doc/html/boost/intrusive/list.html) and indeed there is no find() member. Am I missing something? Thank you advance. -- Lucas Lersch |