Skip to content
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

build errors #2

Open
oregonduckman opened this issue Oct 17, 2018 · 1 comment
Open

build errors #2

oregonduckman opened this issue Oct 17, 2018 · 1 comment

Comments

@oregonduckman
Copy link

After following the instructions in README.md I get the following errors, please advise.

CMake Error at CMakeLists.txt:17 (find_package):
By not providing "FindTensorflowCC.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"TensorflowCC", but CMake did not find one.

Could not find a package configuration file provided by "TensorflowCC" with
any of the following names:

TensorflowCCConfig.cmake
tensorflowcc-config.cmake

Add the installation prefix of "TensorflowCC" to CMAKE_PREFIX_PATH or set
"TensorflowCC_DIR" to a directory containing one of the above files. If
"TensorflowCC" provides a separate development package or SDK, be sure it
has been installed.

-- Configuring incomplete, errors occurred!

@ghost
Copy link

ghost commented Feb 13, 2019

When you build tensorflow_cc add an install path prefix of your choice
cmake -DCMAKE_INSTALL_PREFIX=/home/somedir/project/tfcc_install/ ..

Then when you build inception_cmake add the same path to your cmake, basically the same line as above.

You are not out of the wood yet though: inception_cmake is looking for SHARED libs, whereas tensorflow_cc builds STATIC by default. Find the fix for that in my second issue post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant