cant compile RWS on master branch
I cant compile RWS from master branch.
Used the following script:
cd RobWork mkdir -p build cd build
RWSTUDIO
mkdir -p ../RWStudio cd ../RWStudio make clean cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../../RobWorkStudio make -j$num_cores sudo make install
Output is:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- RobWork has not been compiled with a Version Number
-- Looking for yaobi - found
-- Looking for pqp - found
-- Looking for sdurw_qhull - found
-- Looking for sdurw_csgjs - found
-- Looking for sdurw_algorithms - found
-- Looking for sdurw_pathplanners - found
-- Looking for sdurw_pathoptimization - found
-- Looking for sdurw_simulation - found
-- Looking for sdurw_opengl - found
-- Looking for sdurw_assembly - found
-- Looking for sdurw_task - found
-- Looking for sdurw_calibration - found
-- Looking for sdurw_csg - found
-- Looking for sdurw_control - found
-- Looking for sdurw_proximitystrategies - found
-- Looking for sdurw - found
-- Looking for sdurw_core - found
-- Looking for sdurw_common - found
-- Looking for sdurw_math - found
-- Found RobWork: /usr/local/share/robwork-20.6/cmake (Required is at least version "20.6.17")
-- RobWorkStudio: Build configuration: relwithdebinfo
-- RobWorkStudio: Version 20.6.17
-- RobWorkStudio: ROOT dir: /home/michael/libraries/RobWork/RobWorkStudio
-- Found Python interpreter 3.6.9
-- Found Python libraries 3.6.9
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- program_options
-- RobWorkStudio: Using Qt5.
-- RobWork: OpenGL and GLUT ENABLED! FOUND!
-- RobWorkStudio: SWIG 3+ not found!
-- RobWorkStudio: Lua DISABLED!
-- RobWorkStudio: Adding RWS CXX flags: -Wall -Wno-strict-aliasing -Wno-unused-function -Wno-pragmas -fPIC -fopenmp
-- RobWorkStudio: Addubg RWS definitions: -DBOOST_DISABLE_ASSERTS;-DQT_NO_DEBUG
-- RobWorkStudio: Using dynamic linking of default plugins!
-- BUILD_sdurws ON : Enabled by default.
-- BUILD_sdurws_plugin.rwplugin ON : Enabled by default.
-- BUILD_sdurws_atask ON : Enabled by default.
-- BUILD_sdurws_gtask ON : Enabled by default.
-- BUILD_sdurws_jog ON : Enabled by default.
-- BUILD_sdurws_log ON : Enabled by default.
-- BUILD_sdurws_playback ON : Enabled by default.
-- BUILD_sdurws_propertyview ON : Enabled by default.
-- BUILD_sdurws_treeview ON : Enabled by default.
-- BUILD_sdurws_planning ON : Enabled by default.
-- BUILD_sdurws_sensors ON : Enabled by default.
-- BUILD_sdurws_workcelleditor ON : Enabled by default.
-- BUILD_sdurws_workcelleditorplugin ON : Enabled by default.
-- BUILD_sdurws_luaeditor OFF : Disabled by default.
-- BUILD_sdurws_luapl OFF : Disabled by default.
-- BUILD_sdurws_robworkstudioapp ON : Enabled by default.
-- BUILD_sdurws_lua OFF : SWIG not found!
-- BUILD_sdurws_java OFF : SWIG not found!
-- BUILD_sdurws_python OFF : SWIG not found!
-- BUILD_RobWorkStudio ON : Enabled by default.
-- RobWorkStudio: platform Ubuntu_18.04.4_LTS_amd64_relwithdebinfo
-- RobWorkStudio: tests ENABLED!
-- Current Git revision is Release/1.0.12-119-g0a5056b7b-dirty
-- Configuring done
CMake Error in src/rws/CMakeLists.txt:
Imported target "RW::sdurw_proximitystrategies" includes non-existent path
"/usr/local/"include/robwork-20.6/ext/rwpqp/""
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in src/rws/CMakeLists.txt:
Imported target "RW::sdurw_proximitystrategies" includes non-existent path
"/usr/local/"include/robwork-20.6/ext/rwpqp/""
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error at gtest/CMakeLists.txt:63 (add_executable):
Target "sdurws_sdurws-gtest" links to target "RW::gtest_main" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:63 (add_executable):
Target "sdurws_sdurws-gtest" links to target "RW::gtest" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:84 (add_executable):
Target "sdurws_sensor-gtest" links to target "RW::gtest_main" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:84 (add_executable):
Target "sdurws_sensor-gtest" links to target "RW::gtest" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:84 (add_executable):
Target "sdurws_sensor-gtest" links to target "RW::gtest_main" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:84 (add_executable):
Target "sdurws_sensor-gtest" links to target "RW::gtest" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:63 (add_executable):
Target "sdurws_sdurws-gtest" links to target "RW::gtest_main" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:63 (add_executable):
Target "sdurws_sdurws-gtest" links to target "RW::gtest" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:45 (add_library):
Target "sdurws-gtest-main" links to target "RW::gtest_main" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at gtest/CMakeLists.txt:45 (add_library):
Target "sdurws-gtest-main" links to target "RW::gtest" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error in src/rws/CMakeLists.txt:
Imported target "RW::sdurw_proximitystrategies" includes non-existent path
"/usr/local/"include/robwork-20.6/ext/rwpqp/""
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in src/rws/CMakeLists.txt:
Imported target "RW::sdurw_proximitystrategies" includes non-existent path
"/usr/local/"include/robwork-20.6/ext/rwpqp/""
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done
-- Build files have been written to: /home/michael/libraries/RobWork/build/RWStudio
Scanning dependencies of target qtpropertybrowser_autogen
Scanning dependencies of target sdurws_robworkstudioapp_autogen
Scanning dependencies of target sdurws-gtest-main_autogen
[ 1%] Automatic MOC for target qtpropertybrowser
[ 2%] Automatic MOC for target sdurws-gtest-main
[ 3%] Automatic MOC for target sdurws_robworkstudioapp
[ 3%] Built target sdurws_robworkstudioapp_autogen
[ 3%] Built target sdurws-gtest-main_autogen
Scanning dependencies of target sdurws-gtest-main
[ 4%] Building CXX object gtest/CMakeFiles/sdurws-gtest-main.dir/test-main.cpp.o
[ 4%] Building CXX object gtest/CMakeFiles/sdurws-gtest-main.dir/TestEnvironment.cpp.o
[ 5%] Building CXX object gtest/CMakeFiles/sdurws-gtest-main.dir/sdurws-gtest-main_autogen/mocs_compilation.cpp.o
[ 5%] Built target qtpropertybrowser_autogen
[ 6%] Generating qrc_qtpropertybrowser.cpp
Scanning dependencies of target qtpropertybrowser
[ 7%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtpropertybrowser.cpp.o
[ 8%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qteditorfactory.cpp.o
[ 9%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtvariantproperty.cpp.o
[ 9%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtpropertymanager.cpp.o
[ 9%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qttreepropertybrowser.cpp.o
[ 9%] Linking CXX static library /home/michael/libraries/RobWork/RobWorkStudio/libs/relwithdebinfo/libsdurws-gtest-main.a
[ 9%] Built target sdurws-gtest-main
[ 10%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtbuttonpropertybrowser.cpp.o
[ 11%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtgroupboxpropertybrowser.cpp.o
[ 11%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/src/qtpropertybrowserutils.cpp.o
[ 12%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/qrc_qtpropertybrowser.cpp.o
[ 13%] Building CXX object ext/qtpropertybrowser/CMakeFiles/qtpropertybrowser.dir/qtpropertybrowser_autogen/mocs_compilation.cpp.o
[ 13%] Linking CXX static library /home/michael/libraries/RobWork/RobWorkStudio/libs/relwithdebinfo/libqtpropertybrowser.a
[ 13%] Built target qtpropertybrowser
Scanning dependencies of target sdurws_autogen
[ 14%] Automatic MOC for target sdurws
[ 14%] Built target sdurws_autogen
[ 16%] Generating ui_AboutBox.h
[ 16%] Generating qrc_rwstudio_resources.cpp
[ 16%] Generating ui_PropertyViewEditor.h
[ 17%] Generating ui_PropertyViewDialog.h
Scanning dependencies of target sdurws
[ 17%] Building CXX object src/rws/CMakeFiles/sdurws.dir/ArcBallController.cpp.o
[ 18%] Building CXX object src/rws/CMakeFiles/sdurws.dir/RWSImageLoaderPlugin.cpp.o
[ 19%] Building CXX object src/rws/CMakeFiles/sdurws.dir/ImageUtil.cpp.o
[ 19%] Building CXX object src/rws/CMakeFiles/sdurws.dir/RobWorkStudio.cpp.o
[ 20%] Building CXX object src/rws/CMakeFiles/sdurws.dir/RWStudioView3D.cpp.o
[ 21%] Building CXX object src/rws/CMakeFiles/sdurws.dir/SceneOpenGLViewer.cpp.o
/home/michael/libraries/RobWork/RobWorkStudio/src/rws/ArcBallController.cpp:20:10: fatal error: rwlibs/os/rwgl.hpp: No such file or directory
#include <rwlibs/os/rwgl.hpp>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/rws/CMakeFiles/sdurws.dir/build.make:144: recipe for target 'src/rws/CMakeFiles/sdurws.dir/ArcBallController.cpp.o' failed
make[2]: *** [src/rws/CMakeFiles/sdurws.dir/ArcBallController.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/michael/libraries/RobWork/RobWorkStudio/src/rws/SceneOpenGLViewer.cpp:28:0:
/usr/local/include/robwork-20.6/rwlibs/opengl/DrawableUtil.hpp:29:10: fatal error: rwlibs/os/rwgl.hpp: No such file or directory
#include <rwlibs/os/rwgl.hpp>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/rws/CMakeFiles/sdurws.dir/build.make:279: recipe for target 'src/rws/CMakeFiles/sdurws.dir/SceneOpenGLViewer.cpp.o' failed
make[2]: *** [src/rws/CMakeFiles/sdurws.dir/SceneOpenGLViewer.cpp.o] Error 1
CMakeFiles/Makefile2:1356: recipe for target 'src/rws/CMakeFiles/sdurws.dir/all' failed
make[1]: *** [src/rws/CMakeFiles/sdurws.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Edited by Michael K. Schmidt