Cannot compile v0.8.8 on MacOs 10.14.4
When I tried to compile the newest version of JPSeditor, I got the following error:
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- System ........................................ Darwin (18.5.0, x86_64)
-- Generating ................................... JPSeditor (0.8.7) -- Release
-- JPSeditor will be installed to /Applications
-- CMAKE_BINARY_DIR .............................. /Users/tobias/development/jupedsim/jpseditor/build-v0.8.8
-- CMAKE_SOURCE_DIR .............................. /Users/tobias/development/jupedsim/jpseditor
-- CMAKE_CURRENT_SOURCE_DIR ...................... /Users/tobias/development/jupedsim/jpseditor
-- CMAKE_RUNTIME_OUTPUT_DIRECTORY ................ /Users/tobias/development/jupedsim/jpseditor/build-v0.8.8/bin
-- EXECUTABLE_OUTPUT_PATH ........................ /Users/tobias/development/jupedsim/jpseditor/build-v0.8.8/bin
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Checking for C++11 compiler ................... yes
-- Searching for Qt version ...................... 5
-- Found Qt version .............................. 5.12.3
-- Working with Qt5
-- Release flags ................................. -std=c++11 , -O3 -DNDEBUG
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/tobias/development/jupedsim/jpseditor/build-v0.8.8
Scanning dependencies of target JPSeditor_autogen
[ 1%] Automatic MOC for target JPSeditor
[ 1%] Built target JPSeditor_autogen
[ 3%] Generating ui_goalwidget.h
[ 5%] Generating qrc_resources.cpp
[ 7%] Generating ui_mainwindow.h
[ 9%] Generating ui_roomwidget.h
/Users/tobias/development/jupedsim/jpseditor/forms/roomwidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.
/Users/tobias/development/jupedsim/jpseditor/forms/roomwidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget2'.
[ 11%] Generating ui_widgetlandmark.h
[ 12%] Generating ui_widgetsettings.h
[ 14%] Generating ui_settingdialog.h
[ 16%] Generating ui_inifilewidget.h
/Users/tobias/development/jupedsim/jpseditor/forms/inifilewidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.
/Users/tobias/development/jupedsim/jpseditor/forms/inifilewidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget2'.
/Users/tobias/development/jupedsim/jpseditor/forms/inifilewidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget3'.
/Users/tobias/development/jupedsim/jpseditor/forms/inifilewidget.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget4'.
[ 18%] Generating ui_snappingoptions.h
[ 20%] Generating ui_sourcewidget.h
Scanning dependencies of target JPSeditor
[ 22%] Building CXX object CMakeFiles/JPSeditor.dir/JPSeditor_autogen/mocs_compilation.cpp.o
In file included from /Users/tobias/development/jupedsim/jpseditor/build-v0.8.8/JPSeditor_autogen/mocs_compilation.cpp:2:
/Users/tobias/development/jupedsim/jpseditor/build-v0.8.8/JPSeditor_autogen/M4YTXQ7V2H/moc_jpselementlistmodel.cpp:9:10: fatal error: '../../../../../../Documents/development/jupedsim/jpseditor/src/models/jpselementlistmodel.h' file not found
#include "../../../../../../Documents/development/jupedsim/jpseditor/src/models/jpselementlistmodel.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/JPSeditor.dir/JPSeditor_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/JPSeditor.dir/all] Error 2
make: *** [all] Error 2