NISwGSP
NISwGSP copied to clipboard
How to config the VLFEAT_LIBRARY
you've mentioned here like this use the CMake to configure the project and make sure set the VLFEAT_LIBRARY with the "./vlfeat-0.9.20/bin/(the name depend on you system)/libvl"* I don't quite understand how to configure,while I change the CMakeLists.txt like this set(VLFEAT_LIBRARY ./vlfeat-0.9.20/bin/glnxa64/libvl), it turns to be /usr/bin/ld: cannot find -l./vlfeat-0.9.20/bin/glnxa64/libvl
I use the cmake-gui
to configure the VLFEAT_LIBRARY
successfully.
firstly:
cd ./vlfeat-0.9.20/
make
If make success,in your vlfeat-0.9.20
dir you can find bin
folder
the just run cmake-gui
and configure VLFEAT_LIBRARY
with ./vlfeat-0.9.20/bin/(the name depend on you system)/libvl
then click configure button,after it done,close the cmake-gui and continue run the cmake and make...
Hi, I face exactly the same question on a Ubuntu 16.04 machine, but when I make under ./vlfeat-0.9.20, there doesn't seem to be a CMakeLists.txt to configure VLFEAT_LIBRARY on cmake-gui. Could you please offer more details about your solution? Thanks a lot!
ok i have faced the same question, if you solved the problem please tell me
I ran into the same issue and got it fixed.
After finishing making the vlfeat-0.9.20, you can simply go to UglyMan_NISwGSP_Stitching/CMakeLists.txt and modify the last line to this:
target_link_libraries(NISwGSP ${OpenCV_LIBS} "/the full path to your vlfeat bin/libvl.so")
For me, it is like:
target_link_libraries(NISwGSP ${OpenCV_LIBS} "/home/wbk/Desktop/UG_Thesis/NISwGSP-master/UglyMan_NISwGSP_Stitching/UglyMan_NISwGSP_Stitching/vlfeat-0.9.20/bin/glnxa64/libvl.so")
This is a simple way to link the VLFEAT library to the project if you're not so familiar with CMake.