cmake failed
jwcrawley opened this issue · comments
I've tried installing the appropriate modules and following the minimum versions required for gr-inspector. After making a build/ dir, and running cmake ../ in it, I get the following errors:
josh@josh-Precision-M4800:~/source_projects/gr-inspector/build$ cmake ../
-- Build type not specified: defaulting to release.
CMake Deprecation Warning at CMakeLists.txt:56 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- filesystem
-- system
--
-- Python checking for PyQt4
-- Python checking for PyQt4 - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Qt4 (missing: QT_QWTPLOT3D_LIBRARY) (found suitable version
"4.8.7", minimum required is "4.2.0")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindQt4.cmake:1327 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:152 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeOutput.log".
See also "/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeError.log".
Reading CMakeError.log gives me the following:
josh@josh-Precision-M4800:~/source_projects/gr-inspector/build$ cat /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeError.log
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ca7f7/fast"
/usr/bin/make -f CMakeFiles/cmTC_ca7f7.dir/build.make CMakeFiles/cmTC_ca7f7.dir/build
make[1]: Entering directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ca7f7.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_ca7f7.dir/CheckSymbolExists.cxx.o -c /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope
return ((int*)(&Q_WS_WIN))[argc];
^~~~~~~~
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_WIN))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_ca7f7.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ca7f7.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_ca7f7.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_ca7f7/fast' failed
make: *** [cmTC_ca7f7/fast] Error 2
File /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_WIN
return ((int*)(&Q_WS_WIN))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_21c40/fast"
/usr/bin/make -f CMakeFiles/cmTC_21c40.dir/build.make CMakeFiles/cmTC_21c40.dir/build
make[1]: Entering directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_21c40.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_21c40.dir/CheckSymbolExists.cxx.o -c /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope
return ((int*)(&Q_WS_QWS))[argc];
^~~~~~~~
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_QWS))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_21c40.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_21c40.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_21c40.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_21c40/fast' failed
make: *** [cmTC_21c40/fast] Error 2
File /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_QWS
return ((int*)(&Q_WS_QWS))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_82e2a/fast"
/usr/bin/make -f CMakeFiles/cmTC_82e2a.dir/build.make CMakeFiles/cmTC_82e2a.dir/build
make[1]: Entering directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_82e2a.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -I/usr/include/qt4 -o CMakeFiles/cmTC_82e2a.dir/CheckSymbolExists.cxx.o -c /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope
return ((int*)(&Q_WS_MAC))[argc];
^~~~~~~~
/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’
return ((int*)(&Q_WS_MAC))[argc];
^~~~~~~~
Q_WS_X11
CMakeFiles/cmTC_82e2a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_82e2a.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTC_82e2a.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_82e2a/fast' failed
make: *** [cmTC_82e2a/fast] Error 2
File /home/josh/source_projects/gr-inspector/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_MAC
return ((int*)(&Q_WS_MAC))[argc];
#else
(void)argc;
return 0;
#endif
}
The error message is pretty clear in what is going wrong:
Could NOT find Qt4 (missing: QT_QWTPLOT3D_LIBRARY)
Please install QwtPlot3D.
Closing due to inactivity