LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
228 stars 93 forks source link

Installation error (make: *** [all] Error 2) #79

Open julienroyd opened 6 years ago

julienroyd commented 6 years ago

I am having troubles installing HFO. I have followed the installation directions:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..
make -j4
make install

At the step make -j4 I get the following error:

[ 74%] Linking CXX static library libplayer_chain_action.a [ 74%] Built target player_chain_action Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

I am not sure how to deal with this. I am running on Ubuntu 18.04. Any idea?

mhauskn commented 6 years ago

I haven't tested HFO with Ubuntu 18.04, so it's quite possible that there could be an error. Could you provide a more detailed error log (you may need to run "make clean" followed by "make VERBOSE=1").

julienroyd commented 6 years ago

Hi @mhauskn, thanks for the quick reply. Here is a more detailed output:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..

-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.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
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user1/packages/HFO/build

make VERBOSE=1 -j4

.
.
.
bunch of stuff
.
.
.

[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o
/usr/bin/c++  -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action  -std=c++11 -fPIC -O2 -g -DNDEBUG   -o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/strict_check_pass_generator.cpp
[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/c++  -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action  -std=c++11 -fPIC -O2 -g -DNDEBUG   -o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/tackle_generator.cpp
[ 74%] Linking CXX static library libplayer_chain_action.a
/usr/bin/cmake -P CMakeFiles/player_chain_action.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/player_chain_action.dir/link.txt --verbose=1
/usr/bin/ar qc libplayer_chain_action.a  CMakeFiles/player_chain_action.dir/src/bhv_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_offensive_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_tackle.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_custom_before_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_force_pass.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_go_to_static_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_chase_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_prepare_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_goal_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_indirect_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_in.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_their_goal_kick_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_penalty_kick.cpp.o CMakeFiles/player_chain_action.dir/src/feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/lowlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/highlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/neck_default_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_goalie_turn_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_offensive_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/view_tactical.cpp.o CMakeFiles/player_chain_action.dir/src/intention_receive.cpp.o CMakeFiles/player_chain_action.dir/src/intention_wait_after_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/soccer_role.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_defensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_goalie.cpp.o CMakeFiles/player_chain_action.dir/src/role_offensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_sample.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_keeper.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_taker.cpp.o CMakeFiles/player_chain_action.dir/src/sample_communication.cpp.o CMakeFiles/player_chain_action.dir/src/keepaway_communication.cpp.o CMakeFiles/player_chain_action.dir/src/sample_field_evaluator.cpp.o CMakeFiles/player_chain_action.dir/src/sample_player.cpp.o CMakeFiles/player_chain_action.dir/src/strategy.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_cross.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_direct_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_self_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_short_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_simple_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_strict_check_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_graph.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_holder.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_chain_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_normal_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_pass_kick_find_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_strict_check_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/body_force_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cooperative_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cross_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/field_analyzer.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/hold_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/neck_turn_to_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/predict_state.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/self_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/short_dribble_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/simple_pass_checker.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o
/usr/bin/ranlib libplayer_chain_action.a
make[2]: Leaving directory '/home/user1/packages/HFO/build'
[ 74%] Built target player_chain_action
make[1]: Leaving directory '/home/user1/packages/HFO/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
mhauskn commented 6 years ago

Unfortunately, this doesn't contain the actual error message. It's necessary to single-threaded build so the error doesn't get buried. Could you make clean and make VERBOSE=1

On Mon, Oct 29, 2018 at 8:14 AM Julien Roy notifications@github.com wrote:

Hi @mhauskn https://github.com/mhauskn, thanks for the quick reply. Here is a more detailed output:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo ..

-- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.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 -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- filesystem -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- Found FLEX: /usr/bin/flex (found version "2.6.4") -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7") -- Configuring done -- Generating done -- Build files have been written to: /home/user1/packages/HFO/build

make VERBOSE=1 -j4

. . . bunch of stuff . . .

[ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o /usr/bin/c++ -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action -std=c++11 -fPIC -O2 -g -DNDEBUG -o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/strict_check_pass_generator.cpp [ 73%] Building CXX object CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o /usr/bin/c++ -DELOG -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/rcssbase -I/home/user1/packages/HFO/build/rcssserver-prefix/src/rcssserver/src -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/src -I/home/user1/packages/HFO/src/chain_action -std=c++11 -fPIC -O2 -g -DNDEBUG -o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o -c /home/user1/packages/HFO/src/chain_action/tackle_generator.cpp [ 74%] Linking CXX static library libplayer_chain_action.a /usr/bin/cmake -P CMakeFiles/player_chain_action.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/player_chain_action.dir/link.txt --verbose=1 /usr/bin/ar qc libplayer_chain_action.a CMakeFiles/player_chain_action.dir/src/bhv_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_offensive_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_basic_tackle.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_custom_before_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_force_pass.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_go_to_static_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_basic_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_chase_ball.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_goalie_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_prepare_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_goal_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_indirect_free_kick.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_in.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_set_play_kick_off.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_their_goal_kick_move.cpp.o CMakeFiles/player_chain_action.dir/src/bhv_penalty_kick.cpp.o CMakeFiles/player_chain_action.dir/src/feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/lowlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/highlevel_feature_extractor.cpp.o CMakeFiles/player_chain_action.dir/src/neck_default_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_goalie_turn_neck.cpp.o CMakeFiles/player_chain_action.dir/src/neck_offensive_intercept_neck.cpp.o CMakeFiles/player_chain_action.dir/src/view_tactical.cpp.o CMakeFiles/player_chain_action.dir/src/intention_receive.cpp.o CMakeFiles/player_chain_action.dir/src/intention_wait_after_set_play_kick.cpp.o CMakeFiles/player_chain_action.dir/src/soccer_role.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_center_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_defensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_goalie.cpp.o CMakeFiles/player_chain_action.dir/src/role_offensive_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_sample.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_back.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_forward.cpp.o CMakeFiles/player_chain_action.dir/src/role_side_half.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_keeper.cpp.o CMakeFiles/player_chain_action.dir/src/role_keepaway_taker.cpp.o CMakeFiles/player_chain_action.dir/src/sample_communication.cpp.o CMakeFiles/player_chain_action.dir/src/keepaway_communication.cpp.o CMakeFiles/player_chain_action.dir/src/sample_field_evaluator.cpp.o CMakeFiles/player_chain_action.dir/src/sample_player.cpp.o CMakeFiles/player_chain_action.dir/src/strategy.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_cross.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_direct_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_self_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_short_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_simple_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/actgen_strict_check_pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_graph.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/action_chain_holder.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_chain_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_normal_dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_pass_kick_find_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/bhv_strict_check_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/body_force_shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/clear_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cooperative_action.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/cross_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/dribble.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/field_analyzer.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/hold_ball.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/neck_turn_to_receiver.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/pass.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/predict_state.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/self_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/shoot_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/short_dribble_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/simple_pass_checker.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/strict_check_pass_generator.cpp.o CMakeFiles/player_chain_action.dir/src/chain_action/tackle_generator.cpp.o /usr/bin/ranlib libplayer_chain_action.a make[2]: Leaving directory '/home/user1/packages/HFO/build' [ 74%] Built target player_chain_action make[1]: Leaving directory '/home/user1/packages/HFO/build' Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/79#issuecomment-433948117, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNOaNRCITsWqheeaIzmiL6bGDIFkytks5upxthgaJpZM4X69u_ .

julienroyd commented 6 years ago

Right, my mistake! Here's the error message:

make VERBOSE=1


[ 69%] Performing build step for 'soccerwindow2'
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && make
make[3]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
/usr/bin/cmake -H/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -B/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[4]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/depend
make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake --color=
Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal".
Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal".
Scanning dependencies of target soccerwindow2_autogen
make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/build
make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build'
[  2%] Automatic MOC for target soccerwindow2
/usr/bin/cmake -E cmake_autogen /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir MinSizeRel
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.cpp
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.h
AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.h
Generating MOC source 26NLMM5NFG/moc_color_setting_dialog.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_log_dir_dialog.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h
Generating MOC source 26NLMM5NFG/moc_debug_message_window.cpp
AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h" because it doesn't exist
/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

AutoMoc subprocess error

moc failed for "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h"

Command

/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

Output

/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"

CMakeFiles/soccerwindow2_autogen.dir/build.make:57: recipe for target 'CMakeFiles/soccerwindow2_autogen' failed make[5]: [CMakeFiles/soccerwindow2_autogen] Error 1 make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/soccerwindow2_autogen.dir/all' failed make[4]: [CMakeFiles/soccerwindow2_autogen.dir/all] Error 2 make[4]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' Makefile:83: recipe for target 'all' failed make[3]: [all] Error 2 make[3]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' CMakeFiles/soccerwindow2.dir/build.make:112: recipe for target 'soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build' failed make[2]: [soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build] Error 2 make[2]: Leaving directory '/home/user1/packages/HFO/build' CMakeFiles/Makefile2:218: recipe for target 'CMakeFiles/soccerwindow2.dir/all' failed make[1]: [CMakeFiles/soccerwindow2.dir/all] Error 2 make[1]: Leaving directory '/home/user1/packages/HFO/build' Makefile:129: recipe for target 'all' failed make: [all] Error 2

mhauskn commented 6 years ago

Looks like qt4 is having an error building the soccer visualizer. The relevant part of the error seems to be: /usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"

Short workaround is to build without Soccerwindow:

cmake -DCMAKE_BUILD_TYPE=RelwithDebInfo -DBUILD_SOCCERWINDOW=False ..

On Tue, Oct 30, 2018 at 6:54 AM Julien Roy notifications@github.com wrote:

Right, my mistake! Here's the error message:

make VERBOSE=1

[ 69%] Performing build step for 'soccerwindow2' cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && make make[3]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' /usr/bin/cmake -H/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -B/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[4]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/depend make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' cd /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake --color= Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/DependInfo.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal". Dependee "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir/depend.internal". Scanning dependencies of target soccerwindow2_autogen make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' make -f CMakeFiles/soccerwindow2_autogen.dir/build.make CMakeFiles/soccerwindow2_autogen.dir/build make[5]: Entering directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' [ 2%] Automatic MOC for target soccerwindow2 /usr/bin/cmake -E cmake_autogen /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/CMakeFiles/soccerwindow2_autogen.dir MinSizeRel AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.cpp AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/ball.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_client_parser.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_data.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_log_holder.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/debug_view_data.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/main_data.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/monitor_view_data.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/options.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/player.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/playmode.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/team.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/trainer_data.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model/view_holder.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_painter_rcss.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/ball_trace_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_server.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/detail_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/dir_selector.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/draw_config.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_canvas.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/field_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/font_setting_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/image_save_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/launcher_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/log_player_tool_bar.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/main_window.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_client.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/monitor_move_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/offside_line_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_control_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_painter_rcss.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_trace_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/player_type_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/score_board_painter_rcss.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/team_graphic_painter.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/view_config_dialog.h AutoMoc: Checking: /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/voronoi_diagram_painter.h Generating MOC source 26NLMM5NFG/moc_color_setting_dialog.cpp AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h" because it doesn't exist /usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_color_setting_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/color_setting_dialog.h Generating MOC source 26NLMM5NFG/moc_debug_log_dir_dialog.cpp AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h" because it doesn't exist /usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_log_dir_dialog.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_log_dir_dialog.h Generating MOC source 26NLMM5NFG/moc_debug_message_window.cpp AutoMoc: Generating "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp" from its source file "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h" because it doesn't exist /usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

AutoMoc subprocess error

moc failed for "/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h"

Command

/usr/lib/x86_64-linux-gnu/qt4/bin/moc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/include -I/home/user1/packages/HFO/build/librcsc-prefix/src/librcsc -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2 -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/model -I/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4 -I/usr/include -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -o /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build/soccerwindow2_autogen/26NLMM5NFG/moc_debug_message_window.cpp /home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2/src/qt4/debug_message_window.h

Output

/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"

CMakeFiles/soccerwindow2_autogen.dir/build.make:57: recipe for target 'CMakeFiles/soccerwindow2_autogen' failed make[5]: [CMakeFiles/soccerwindow2_autogen] Error 1 make[5]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/soccerwindow2_autogen.dir/all' failed make[4]: [CMakeFiles/soccerwindow2_autogen.dir/all] Error 2 make[4]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' Makefile:83: recipe for target 'all' failed make[3]: [all] Error 2 make[3]: Leaving directory '/home/user1/packages/HFO/build/soccerwindow2-prefix/src/soccerwindow2-build' CMakeFiles/soccerwindow2.dir/build.make:112: recipe for target 'soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build' failed make[2]: [soccerwindow2-prefix/src/soccerwindow2-stamp/soccerwindow2-build] Error 2 make[2]: Leaving directory '/home/user1/packages/HFO/build' CMakeFiles/Makefile2:218: recipe for target 'CMakeFiles/soccerwindow2.dir/all' failed make[1]: [CMakeFiles/soccerwindow2.dir/all] Error 2 make[1]: Leaving directory '/home/user1/packages/HFO/build' Makefile:129: recipe for target 'all' failed make: [all] Error 2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/79#issuecomment-434309917, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNOcnzG2UtZsMyeficfx1yud6nBdvUks5uqFosgaJpZM4X69u_ .

julienroyd commented 6 years ago

Ok, installation goes through with DBUILD_SOCCERWINDOW=False.

Can you provide which version of Qt4 and cmake you are using? (maybe that will do it)

mhauskn commented 6 years ago

qmake --version QMake version 2.01a Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu

On Tue, Oct 30, 2018 at 11:41 AM Julien Roy notifications@github.com wrote:

Ok, installation goes through with DBUILD_SOCCERWINDOW=False.

Can you provide which version of Qt4 and cmake you are using? (maybe that will do it)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/79#issuecomment-434418861, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNOaAjc6EjppaO8z7zfaV5rB-_YBw_ks5uqJ1ggaJpZM4X69u_ .

julienroyd commented 6 years ago

Using the same Qt version didn't succeed. Did you install Qt from source?

I have found bug report that seems similar here which suggest to patch qt as follows.

mhauskn commented 6 years ago

I installed Qt using apt-get. Let me know if you have success with the patch.

G-Thor commented 5 years ago

I am experiencing this same error. Same versions of QMake and Qt as @mhauskn

jespestana commented 5 years ago

First, thanks for the information on this issue. I had the same problem with a different software. It seems to be a conflict between qt4 (4.8.7) and boost (1.65.1), the current versions of the libraries that are on the Ubuntu 18.04 repositories.

The solution is to make moc-qt4 compile with the flags specified in this bugfix-patch of qt4: https://src.fedoraproject.org/cgit/rpms/qt.git/tree/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch (link provided by @julienroy13 above). This does not require to recompile qt4, you just need to modify your CMakeLists.txt , like follows:

if (Boost_MINOR_VERSION LESS 65)
  QT4_WRAP_CPP(application_HEADERS_MOC ${application_HEADERS} OPTIONS -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) #for boost previous to 1.65.1
else(Boost_MINOR_VERSION LESS 65)
  QT4_WRAP_CPP(application_HEADERS_MOC ${application_HEADERS} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION -DBOOST_LEXICAL_CAST_INCLUDED -DBOOST_NEXT_PRIOR_HPP_INCLUDED -DBOOST_TYPE_TRAITS_HPP -D_SYS_SYSMACROS_H_OUTER) #for boost 1.65.1
endif(Boost_MINOR_VERSION LESS 65)

I hope that this also works for your software!

lafmdp commented 2 years ago

I've found a solution to this issue.

First, "sudo apt install libfl-dev"

Second, refer to above answer and add the additional lines to the front of the CmakeFile.txt