-
Notifications
You must be signed in to change notification settings - Fork 787
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
Fatal error: cs.h not found #502
Comments
rtabmap/cmake_modules/FindG2O.cmake Line 2 in e2e2227
Make sure sudo apt install libsuitesparse-dev |
Hey there, |
I updated the code to build with latest OpenCV version from source. See commit above. |
Ok, done with that one :) Heres another one: Sorry for the problems... |
It says there is an error in the generated Makefiles, but not actually saying what is the error... Try cleanup the build directory and remake. rm -rf rtabmap/build/*
cd rtabmap/build
cmake ..
make -j4 |
I'm sorry to bother you again... Last time I tried to clear the build folder didn't work, but this time it did. Sorry for this beginner's error -. - The next one is this: It comes out of nowhere... Seems to be a issue with the gui building, but I don't find a hint what might be wrong... Maybe a lib is missing, but I don't know which may be... |
Use "make" (without -j4), so only one file is built at the same time to make easier to read the error. |
Thanks for the tip, now it's more clear what failed. Didn't know that multi compile just exist somewhere.
|
OK, quick update: I did recompile g2o and found out that it does use the EIGEN package. The result is: YES! It did compile without errors and I've successfully build it now. Hope I could help you, thanks a lot for helping. Hope I do actually use it :) |
RTAB-Map doesn't depend on Eigen directly, it is why it is not explicitly specified (when building against PCL, the eigen headers directory is automatically included in rtabmap compilation). It looks more a g2o error to me, not sure eigen was the problem, unless g2o was using another version than the one used by PCL. Great that you managed to build it! cheers, |
The file is truly not there and I didnt find anything helping with this.
Any help appreciated :)
The text was updated successfully, but these errors were encountered: