Interesting. I am developing with clang to get better error messages, and there it compiles just fine. I'll check tonight with gcc.
In the meantime you can try with clang if you have time. Install clang and clang++ and run cmake with CC=clang CXX=clang++ Sergio Fernández <[email protected]> schrieb am Di., 15. Dez. 2015, 08:27: > Hi, > > On Mon, Dec 14, 2015 at 5:19 PM, Sebastian Schaffert < > [email protected]> wrote: > > > In gRPC, go to third_party/protobuf and do a make install there as well. > > > > libtcmalloc-minimal4 is not enough for compiling, I think you also need > > development headers. Try installing libgoogle-perftools-dev as well. > > > > That solved all pre-requirements, but I still can' t build it: > > [ 63%] Building CXX object > serializer/CMakeFiles/marmotta_serializer.dir/serializer.cc.o > In file included from /src/serializer/serializer.cc:18:0: > /src/serializer/serializer.h:42:38: error: cannot declare parameter ‘it’ to > be of abstract type > ‘marmotta::util::CloseableIterator<marmotta::rdf::Statement>’ > void serialize(StatementIterator it, std::ostream& out) { > ^ > In file included from /src/serializer/serializer_base.h:28:0, > from /src/serializer/serializer.h:21, > from /src/serializer/serializer.cc:18: > /src/serializer/../util/iterator.h:33:7: note: because the following > virtual functions are pure within > ‘marmotta::util::CloseableIterator<marmotta::rdf::Statement>’: > class CloseableIterator { > ^ > /src/serializer/../util/iterator.h:44:35: note: > marmotta::util::CloseableIterator<T>& > marmotta::util::CloseableIterator<T>::operator++() [with T = > marmotta::rdf::Statement] > virtual CloseableIterator<T>& operator++() = 0; > ^ > /src/serializer/../util/iterator.h:49:16: note: T& > marmotta::util::CloseableIterator<T>::operator*() [with T = > marmotta::rdf::Statement] > virtual T& operator*() = 0; > ^ > /src/serializer/../util/iterator.h:54:16: note: T* > marmotta::util::CloseableIterator<T>::operator->() [with T = > marmotta::rdf::Statement] > virtual T* operator->() = 0; > ^ > /src/serializer/../util/iterator.h:59:18: note: bool > marmotta::util::CloseableIterator<T>::hasNext() [with T = > marmotta::rdf::Statement] > virtual bool hasNext() = 0; > ^ > serializer/CMakeFiles/marmotta_serializer.dir/build.make:123: recipe for > target 'serializer/CMakeFiles/marmotta_serializer.dir/serializer.cc.o' > failed > CMakeFiles/Makefile2:325: recipe for target > 'serializer/CMakeFiles/marmotta_serializer.dir/all' failed > Makefile:76: recipe for target 'all' failed > make[2]: *** > [serializer/CMakeFiles/marmotta_serializer.dir/serializer.cc.o] Error 1 > make[1]: *** [serializer/CMakeFiles/marmotta_serializer.dir/all] Error 2 > make: *** [all] Error 2 > > > Any idea? > > -- > Sergio Fernández > Partner Technology Manager > Redlink GmbH > m: +43 6602747925 > e: [email protected] > w: http://redlink.co >
