Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on Debian Jessie #139

Open
macmobee opened this issue Dec 17, 2019 · 0 comments
Open

Build error on Debian Jessie #139

macmobee opened this issue Dec 17, 2019 · 0 comments

Comments

@macmobee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant