You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I succeeded to install package by conan, using conanfile.txt.
`[requires]
eigen/3.4.0
ceres-solver/1.14.0
glog/0.7.0
opencv/3.4.12
[generators]
CMakeDeps
CMakeToolchain`
conan install . --output-folder=build --build=missing
Calling cmake to configure project also succeeded. cmake ../src/
But when make, it failed to find .h of the packages that I need.
And I look into CMakeCache.txt, there is only var such as Ceres_DIR, but didn't find var like Ceres_INCLUDE_DIR.
So I debug CMakeList.txt and XXXCofig.cmake, I found that XXX_INCLUDE_DIR is also empty.
In XXXConfig.cmake, comands as below failed: set(Ceres_INCLUDE_DIR ${ceres-solver_INCLUDE_DIRS_RELEASE} )
Ceres_INCLUDE_DIR is empty too.
The text was updated successfully, but these errors were encountered:
Thanks for your question.
This is not very clear. When using cmake-conan it is not necessary to call conan install yourself.
Can you please provide the full command of your cmake invocation and the full output?
It would also be necessary to have the CMakeListst.txt to reproduce the issue.
I succeeded to install package by conan, using conanfile.txt.
`[requires]
eigen/3.4.0
ceres-solver/1.14.0
glog/0.7.0
opencv/3.4.12
[generators]
CMakeDeps
CMakeToolchain`
conan install . --output-folder=build --build=missing
Calling cmake to configure project also succeeded.
cmake ../src/
But when make, it failed to find .h of the packages that I need.
And I look into CMakeCache.txt, there is only var such as Ceres_DIR, but didn't find var like Ceres_INCLUDE_DIR.
So I debug CMakeList.txt and XXXCofig.cmake, I found that XXX_INCLUDE_DIR is also empty.
In XXXConfig.cmake, comands as below failed:
set(Ceres_INCLUDE_DIR ${ceres-solver_INCLUDE_DIRS_RELEASE} )
Ceres_INCLUDE_DIR is empty too.
The text was updated successfully, but these errors were encountered: