Topic: Problems compiling with (x)ubuntu 12.04
dershrimp Topic Opener |
Posted at: 2013-08-07, 10:29
Just run the update script, now there is a problem compiling the new version. Anyone an idea what went wrong? [ 71%] Building CXX object src/CMakeFiles/widelands_all.dir/game_io/game_preload_data_packet.cc.o /home/justus/widelands/src/game_io/game_preload_data_packet.cc: In member function ‘virtual void Widelands::Game_Preload_Data_Packet::Write(FileSystem&, Widelands::Game&, Widelands::Map_Map_Object_Saver*)’: /home/justus/widelands/src/game_io/game_preload_data_packet.cc:156:17: error: ‘<::’ cannot begin a template-argument list [-fpermissive] /home/justus/widelands/src/game_io/game_preload_data_packet.cc:156:17: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’ /home/justus/widelands/src/game_io/game_preload_data_packet.cc:156:17: note: (if you use ‘-fpermissive’ G++ will accept your code) make[2]: *** [src/CMakeFiles/widelands_all.dir/game_io/game_preload_data_packet.cc.o] Error 1 make[1]: *** [src/CMakeFiles/widelands_all.dir/all] Error 2 make: *** [all] Error 2 Edited: 2013-08-07, 10:32
Top Quote |
QCS |
Posted at: 2013-08-07, 11:36
There is a bug entry on this very exact topic: https://bugs.launchpad.net/widelands/+bug/1209125 CMake is evil. Top Quote |
dershrimp Topic Opener |
Posted at: 2013-08-07, 12:48
thanks. Following the discussion there. Top Quote |
QCS |
Posted at: 2013-08-07, 13:02
Apparently this has been fixed, so you can run update again CMake is evil. Top Quote |