-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to import the path of compiled protobuf in cmake #104
Comments
Hi,
I recommend trying to set env variables: PATH, LIB and INCLUDE to values that point to lib, include and protoc executable. |
If that doesn't work for you please reopen this issue. |
@JanuszL cmake -DCMAKE_INSTALL_PREFIX=/home/guangyuan/lib/dali - DNVJPEG_ROOT_DIR=/home/guangyuan/lib/cuda-linux64-nvjpeg -DJPEG_TURBO_ROOT_DIR=/home/guangyuan/lib/libjpeg_turbo_1.5.9 -DProtobuf_INCLUDE_DIRS=/home/guangyuan/lib/protobuf_3.5.1/include -DProtobuf_LIBRARIES=/home/guangyuan/lib/protobuf_3.5.1/lib -DProtobuf_PROTOC_LIBRARIES=/home/guangyuan/lib/protobuf_3.5.1/lib -DProtobuf_PROTOC_EXECUTABLE=/home/guangyuan/lib/protobuf_3.5.1/bin/protoc .. -- The CXX compiler identification is GNU 4.8.5 -- Found Protobuf: /home/guangyuan/lib/protobuf_3.5.1/lib;-pthread (found suitable version "2.5.0", minimum required is "2.0") |
Hi, |
try -DCMAKE_PREFIX_PATH=/path/to/protobuf |
Thank you. |
Thank you |
My compiled protobuf has been installed to /home/guangyuan/lib/protobuf_3.5.1, how do I specify the path to my protobuf when compiling dali.
The text was updated successfully, but these errors were encountered: