[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
OpenBW • Linking error when building openbw/bwapi
Page 1 of 1

Linking error when building openbw/bwapi

Posted: Fri Oct 13, 2017 2:22 pm
by rumpel998
Hello,
on a Fedora 26 system (gcc 7.2.1) I get the following error message when following the instructions on how to build openbw/bwapi:

foo6[build]:make
[  2%] Built target openbw_ui
[  3%] Built target OpenBWData
[  5%] Built target BWAPICore
[ 31%] Built target BWAPILIB
[ 60%] Built target BWAPIObj
[ 60%] Built target BWAPI
[ 61%] Linking CXX executable ../../bin/BWAPILauncher
../../lib/libBWAPILIB.so: undefined reference to `std::allocator<BWAPI::UnitType>::allocator()'
collect2: error: ld returned 1 exit status
make[2]: *** [bwapi/BWAPILauncher/CMakeFiles/BWAPILauncher.dir/build.make:100: bin/BWAPILauncher] Error 1
make[1]: *** [CMakeFiles/Makefile2:448: bwapi/BWAPILauncher/CMakeFiles/BWAPILauncher.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I poked around a little but didn't get far figuring out what's causing it.
Can somebody help me with this? Thanks!