-
Notifications
You must be signed in to change notification settings - Fork 189
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
Cannot find lsgm
#61
Comments
Hi. @bchao1 Try following build instruction: developer@de01b56f2148:/tmp$ git clone https://github.com/fixstars/libSGM
Cloning into 'libSGM'...
remote: Enumerating objects: 2129, done.
remote: Total 2129 (delta 0), reused 0 (delta 0), pack-reused 2129
Receiving objects: 100% (2129/2129), 346.91 KiB | 595.00 KiB/s, done.
Resolving deltas: 100% (1384/1384), done.
developer@de01b56f2148:/tmp$ cd libSGM/
developer@de01b56f2148:/tmp/libSGM$ mkdir build
developer@de01b56f2148:/tmp/libSGM$ cd build/
developer@de01b56f2148:/tmp/libSGM/build$ cmake .. -DENABLE_SAMPLES=on
developer@de01b56f2148:/tmp/libSGM/build$ make
developer@de01b56f2148:/tmp/libSGM/build$ ls sample/image/
CMakeFiles Makefile cmake_install.cmake stereo_test |
After executing the above commands, I got the following error message:
|
CMake checks OpenCV exists before build. Did you succeed to build any programs using OpenCV? |
I'm using opencv4 and I'm sure that I've got opencv on my computer. I added some messages in the top-level CMakeLists.txt:
Not sure why make is not successfully compiling though. |
How can I manually compile a single sample in the |
I haven't tried that. |
Hello @bchao1 , did you try to append at the file specified below, just after Line 28 in b44351b
Who knows if that should be added at the file below as well.
|
After building libsgm by following the steps in README, I tested out code in
sample/image
. I executed the following:and got the following error:
Why is this error happening?
The text was updated successfully, but these errors were encountered: