Os X Mavericks - graph_analytics - compilation error, unable to install Graphlab

75 prikaza
Preskoči na prvu nepročitanu poruku

Wooi Hen Yap

nepročitano,
1. stu 2013. 16:25:3501. 11. 2013.
u graph...@googlegroups.com
Hi 

When trying to compile graph_analytics toolkit, I received compilation error as follow: 

In file included from /Users/wooihen/graphlab/src/graphlab/serialization/serialization_includes.hpp:25:

In file included from /Users/wooihen/graphlab/src/graphlab/serialization/serialize.hpp:27:

/Users/wooihen/graphlab/src/graphlab/serialization/oarchive.hpp:195:11: error: 

      no member named 'save' in

      'std::__1::__bit_const_reference<std::__1::vector<bool,

      std::__1::allocator<bool> > >'

        t.save(oarc);

        ~ ^

/Users/wooihen/graphlab/src/graphlab/serialization/oarchive.hpp:220:53: note: 

      in instantiation of member function

      'graphlab::archive_detail::serialize_hard_or_soft_fail<graphlab::oarchive,

      std::__1::__bit_const_reference<std::__1::vector<bool,

      std::__1::allocator<bool> > > >::exec' requested here

        serialize_hard_or_soft_fail<OutArcType, T>::exec(oarc, t);

                                                    ^

/Users/wooihen/graphlab/src/graphlab/serialization/oarchive.hpp:266:59: note: 

      in instantiation of member function

      'graphlab::archive_detail::serialize_impl<graphlab::oarchive,

      std::__1::__bit_const_reference<std::__1::vector<bool,

      std::__1::allocator<bool> > >, false>::exec' requested here

                                   gl_is_pod<T>::value >::exec(oarc, t);

                                                          ^

/Users/wooihen/graphlab/toolkits/graph_analytics/approximate_diameter.cpp:88:14: note: 

      in instantiation of function template specialization

      'graphlab::operator<<<std::__1::__bit_const_reference<std::__1::vector<bool,

      std::__1::allocator<bool> > > >' requested here

        oarc << bitmask1[a][i];

             ^

3 warnings and 1 error generated.

make[2]: *** [toolkits/graph_analytics/CMakeFiles/approximate_diameter.dir/approximate_diameter.cpp.o] Error 1

make[1]: *** [toolkits/graph_analytics/CMakeFiles/approximate_diameter.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

3 warnings generated.

Linking CXX executable TSC

[ 90%] Built target TSC

make: *** [all] Error 2


For compiler/linker toolchain, my system is:

wooihen$ uname -a

Darwin Woois-MacBook-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64


gcc -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix


g++ -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

Target: x86_64-apple-darwin13.0.0

Thread model: posix


Does anyone has any idea on this particular problem ? I have checked with another posting on Os X build problem (https://groups.google.com/forum/#!topic/graphlabapi/AqwkLm5bopM) but that doesn't seems to be related to mine.


Thanks.


Wooi Hen


Odgovori svima
Odgovori autoru
Proslijedi
0 novih poruka