Open ekg opened 5 years ago
Protobuf path seems correct.. Seems like googletest is throwing some error, which could be due to a C++ compiler that doesn't provide C++11 support.
Just to be safer, I'd recommend manually informing Cmake what compiler to use... Again following the example in README, can you first delete the build directory to restart. Also, you don't need to edit the cmake files for configuring protobuf. While running cmake, you can specify following options:
-DPROTOBUF_DIR=/home/erik/vg/ -DCMAKE_CXX_COMPILER=<path to g++> -DCMAKE_C_COMPILER=<path to gcc>
Using PROTOBUF_DIR
, cmake will find the relevant protobuf files.
Re: Conda Certaintly, it might make things easier. Let me check it out.
Strangely, I'm able to build the PaSGAL executable, but I'm getting a build failure that looks to be related to the tests:
This continues for a while. Any ideas?
There is a possibility that I've misconfigured things to get protobuf to work. From CMakeLists.txt:
I'm using protobuf from my vg repository. How would you suggest I build protobuf? If I still get the error when building it like you are then it might be something that you can reproduce.
As an aside, in vg we're talking about promoting the approach in GraphAligner of installing protobuf and its libraries with conda. Building it more complex than the rest of the system.