Build craches under Arch Linux (gcc (GCC) 6.2.1 20160830)
THS-on opened this issue · comments
Thore Sommer commented
Hello,
I'm trying to package the new version of enki for Arch, but the build is crashing always.
[ 95%] Linking CXX executable enkiplayground
[ 95%] Built target enkiplayground
Scanning dependencies of target pyenki
[ 97%] Building CXX object python/CMakeFiles/pyenki.dir/enki.cpp.o
/home/user/aseba/aseba-tmp/src/enki/python/enki.cpp: In Funktion »void init_module_pyenki()«:
/home/user/aseba/aseba-tmp/src/enki/python/enki.cpp:399:9: Fehler: ungültige Verwendung des nicht-statischen Datenelementes »Enki::World::takeObjectOwnership«
World::takeObjectOwnership(false);
^~~~~~~~~~~~~~~~~~~
In file included from /home/user/aseba/aseba-tmp/src/enki/python/enki.cpp:40:0:
/home/user/aseba/aseba-tmp/src/enki/python/../enki/PhysicalEngine.h:459:8: Anmerkung: hier deklariert
bool takeObjectOwnership;
^~~~~~~~~~~~~~~~~~~
make[2]: *** [python/CMakeFiles/pyenki.dir/build.make:63: python/CMakeFiles/pyenki.dir/enki.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:292: python/CMakeFiles/pyenki.dir/all] Fehler 2
make: *** [Makefile:128: all] Fehler 2
Is this a compiler or a program issue?
THS-on
Stéphane Magnenat commented
It was a bug of mine, fixed it d46b90c.