tora icon indicating copy to clipboard operation
tora copied to clipboard

Build error on Debian Jessie

Open macmobee opened this issue 5 years ago • 0 comments

Hi,

I am trying to build TOra on Debian Jessie (8). I downloaded the latest source files from the GitHub repository and followed the instructions in the RELEASE.CMAKE but ran into the error below during the build process;

[ 4%] Building CXX object src/CMakeFiles/tora.dir/docklets/toastwalk.cpp.o In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:45:0, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1, from /home/developer/sources/tora-master/src/core/tologger.h:217, from /home/developer/sources/tora-master/src/docklets/toastwalk.cpp:2: /home/developer/sources/tora-master/src/docklets/toastwalk.cpp: In lambda function: /home/developer/sources/tora-master/src/docklets/toastwalk.cpp:25:5: error: statement-expressions are not allowed outside functions nor in template-argument lists foreach(SQLParser::Token * table, tables) ^ /home/developer/sources/tora-master/src/docklets/toastwalk.cpp:25:5: error: statement-expressions are not allowed outside functions nor in template-argument lists foreach(SQLParser::Token * table, tables) ^ src/CMakeFiles/tora.dir/build.make:6623: recipe for target 'src/CMakeFiles/tora.dir/docklets/toastwalk.cpp.o' failed make[3]: *** [src/CMakeFiles/tora.dir/docklets/toastwalk.cpp.o] Error 1 CMakeFiles/Makefile2:311: recipe for target 'src/CMakeFiles/tora.dir/all' failed make[2]: *** [src/CMakeFiles/tora.dir/all] Error 2 CMakeFiles/Makefile2:318: recipe for target 'src/CMakeFiles/tora.dir/rule' failed make[1]: *** [src/CMakeFiles/tora.dir/rule] Error 2 Makefile:251: recipe for target 'tora' failed make: *** [tora] Error 2

Any assistance will be appreciated.

Thank you

macmobee avatar Dec 17 '19 08:12 macmobee