-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
gtest.h not found on Mac using Conda #287
Comments
The end of the cmake command gives us a clue of what is possibly going on:
|
Could you try to also install |
OK what I did is uninstall gtest and run ccmake again. the option INSTALL_GTEST was then ON,, and now it works. Also, BUILD_GMOCK is now ON |
I however now have trouble with autodiff. I will also uninstall it and proceed with this minimal setup |
Don't bother with the |
Oh, the |
Right, I haven't ported |
OK now I have it. Pre-installed gtest did not work -- maybe this could be fixed Uninstalled ceres-solver, autodiff, gtest cmake --> make --> OK ! All tests pass except for sgal3 which is the one I wanted to check. Thanks. |
Compilation error
gtest/gtest.h file not found
.I install my packages using mamba which is a wrapper over conda.
Here's my setup using
mamba
(withconda
would be the same):The build setup using
cmake
then with
ccmake
I activate testing and examples. This is theccmake
setup:see that all deps are found, including
gtest
.Then compiling fails:
The text was updated successfully, but these errors were encountered: