Hello World,
When I try to compile libGiGi within my project, compiling fails at 40%
Code:
[ 40%] Building CXX object src/CMakeFiles/GiGi.dir/Texture.cpp.o
In file included from /home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/GIL/extension/io/../dynamic_image/apply_operation.hpp:25:0,
from /home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/GIL/extension/io/../dynamic_image/dynamic_image_all.hpp:28,
from /home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/GIL/extension/io/jpeg_dynamic_io.hpp:28,
from /home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/Texture.cpp:38:
/home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/GIL/extension/io/../dynamic_image/apply_operation_base.hpp:121:22: error: reference ‘_op’ cannot be declared ‘mutable’ [-fpermissive]
/home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG/src/GIL/extension/io/../dynamic_image/apply_operation_base.hpp:134:22: error: reference ‘_op’ cannot be declared ‘mutable’ [-fpermissive]
make[4]: *** [src/CMakeFiles/GiGi.dir/Texture.cpp.o] Fehler 1
oir_work/3rdParty/GG'
make[3]: *** [src/CMakeFiles/GiGi.dir/all] Fehler 2
make[3]: Leaving directory `/home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty/GG'
make[1]: *** [GG/libGiGi.so] Fehler 2
make[1]: Leaving directory `/home/andy/Programming/Projects/OilImperiumReloaded/oir_work/3rdParty'
make: *** [all-recursive] Fehler 1
Compiler:
Code:
andy@shannara:~/Programming/Projects/OilImperiumReloaded/oir_work$ gcc --version
gcc (Debian 4.6.1-5) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Do I miss something or what's the problem here?
TIA and best regards
Andreas aka SF