Scopy Build QWT Includes


I am trying to compile Scopy on a Manjaro 18.0.4 and have some problems at the last step of the building guide. When I try to make Scopy I got the follwing error message:

Scanning dependencies of target scopy_autogen
[  1%] Automatic MOC for target scopy
[  1%] Built target scopy_autogen
Scanning dependencies of target scopy
[  2%] Building CXX object CMakeFiles/scopy.dir/scopy_autogen/mocs_compilation.cpp.o
In file included from /home/chris/SHM_CJ/99_scopy_test/scopy/scopy_autogen/UVLADIE3JM/../../src/DisplayPlot.h:46,
                 from /home/chris/SHM_CJ/99_scopy_test/scopy/scopy_autogen/UVLADIE3JM/../../src/ConstellationDisplayPlot.h:30,
                 from /home/chris/SHM_CJ/99_scopy_test/scopy/scopy_autogen/UVLADIE3JM/moc_ConstellationDisplayPlot.cpp:9,
                 from /home/chris/SHM_CJ/99_scopy_test/scopy/scopy_autogen/mocs_compilation.cpp:56:
/home/chris/SHM_CJ/99_scopy_test/scopy/scopy_autogen/UVLADIE3JM/../../src/extendingplotzoomer.h:6:10: fatal error: qwt_plot_shapeitem.h: No such file or directory
 #include <qwt_plot_shapeitem.h>
compilation terminated.
make[2]: *** [CMakeFiles/scopy.dir/build.make:504: CMakeFiles/scopy.dir/scopy_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/scopy.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I know that the missing files are located at /usr/local/qwt-6.4.0-svn/include, but I am not so familiar with cmake where to add this path. In order to complete the guide I had to include this path to the qwtpolarbuild.pri. But where to I add this in the Scopy cmake files?

I tried to add this to cmake/Modules/FindQwt.cmake under   ${CMAKE_INSTALL_PREFIX}/include/qwt PATHS, but that didn't solved the issue.

Thanks for your help!


Parents Reply Children
No Data