davidstutz / superpixels-revisited

Library containing 7 state-of-the-art superpixel algorithms with a total of 9 implementations used for evaluation purposes in [1] utilizing an extended version of the Berkeley Segmentation Benchmark.
http://davidstutz.de/projects/superpixelsseeds/
261 stars 71 forks source link

Problem compiling the code #7

Open siddharthsrivastava opened 8 years ago

siddharthsrivastava commented 8 years ago

Hi I am trying to compile the code on Ubuntu 14.04. cmake finishes successfully. But when I try to run 'make' I receive the following error

/usr/bin/ld: error: cannot find -lQt5::Core /usr/bin/ld: error: cannot find -lQt5::Gui /usr/bin/ld: error: cannot find -lQt5::Widgets /usr/bin/ld: error: cannot find -lQt5::Test /usr/bin/ld: error: cannot find -lQt5::Concurrent /usr/bin/ld: error: cannot find -lQt5::OpenGL

During cmake, the following error is shown:

CMake Warning (dev) at vlfeat_slic_cli/CMakeLists.txt:49 (add_executable): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Target "vlfeat_slic_cli" links to target "Qt5::Core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it.

I have checked that I have all qt5*-dev libraries installed.

What could be the issue ?

davidstutz commented 7 years ago

Did you install VLFeat separately or do you use the VLFeat copy shipped with this repository by recursively cloning? If you are using the latter version, you might try to install VLFeat separately (see the webpage) ...