Compilation error building codecs
Posted: Sun Feb 09 2020 7:55 pm
Hello everyone,
I am building copperspice 1.6.1 from source. After some trouble chasing dependencies I got cmake to produce the makefiles. It complained that mysql and postgres could not be find, even though they were installed, but these components seem to be optional so I pressed ahead with make and got the compilation error below:-
Scanning dependencies of target CsCore
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qabstractanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qvariantanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qpropertyanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qsequentialanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qparallelanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qpauseanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qisciicodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qlatincodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qsimplecodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o
/home/marlowa/Downloads/copperspice-1.6.1/src/core/codecs/qtextcodec.cpp:68:14: fatal error: ../../plugins/codecs/jp/qfontjpcodec.h: No such file or directory
# include "../../plugins/codecs/jp/qfontjpcodec.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/core/CMakeFiles/CsCore.dir/build.make:302: recipe for target 'src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/core/CMakeFiles/CsCore.dir/all' failed
make[1]: *** [src/core/CMakeFiles/CsCore.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
I am building copperspice 1.6.1 from source. After some trouble chasing dependencies I got cmake to produce the makefiles. It complained that mysql and postgres could not be find, even though they were installed, but these components seem to be optional so I pressed ahead with make and got the compilation error below:-
Scanning dependencies of target CsCore
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qabstractanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qvariantanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qpropertyanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qsequentialanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qparallelanimationgroup.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/animation/qpauseanimation.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qisciicodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qlatincodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qsimplecodec.cpp.o
[ 0%] Building CXX object src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o
/home/marlowa/Downloads/copperspice-1.6.1/src/core/codecs/qtextcodec.cpp:68:14: fatal error: ../../plugins/codecs/jp/qfontjpcodec.h: No such file or directory
# include "../../plugins/codecs/jp/qfontjpcodec.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/core/CMakeFiles/CsCore.dir/build.make:302: recipe for target 'src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o' failed
make[2]: *** [src/core/CMakeFiles/CsCore.dir/codecs/qtextcodec.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/core/CMakeFiles/CsCore.dir/all' failed
make[1]: *** [src/core/CMakeFiles/CsCore.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2