-
Notifications
You must be signed in to change notification settings - Fork 109
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 on raspberry pi fails #23
Comments
bgregory@raspberrypi:~/orocos/orocos_toolchain $ g++ --version |
Quick hint, I did not check yet: This issue (throw specifiers) should have been fixed with #12, no? Maybe not on branch |
Doh, yeah, moved up to 2.10 and we'll see how it goes. |
Hm, now getting this. [ 2%] Building CXX object CMakeFiles/orocos-log4cpp.dir/src/DailyRollingFileAppender.cpp.o |
Based upon Google, I edited DailyRollingFileAppender.hh and DailyRollingFileAppender.cpp to change "struct tm" to "tm" and this cleared enough to continue the build. Not a fix, but a workaround for now. |
Nope, never mind |
Adding #include <time.h> to DailyRollingFileAppender.hh seemed to work, for now. |
In file included from /home/bgregory/orocos/orocos_toolchain/log4cpp/include/log4cpp/Appender.hh:21,
from /home/bgregory/orocos/orocos_toolchain/log4cpp/src/Appender.cpp:11:
/home/bgregory/orocos/orocos_toolchain/log4cpp/include/log4cpp/Priority.hh:107:9: error: ISO C++17 does not allow dynamic exception specifications
107 | throw(std::invalid_argument);
| ^~~~~
make[5]: *** [CMakeFiles/orocos-log4cpp.dir/build.make:76: CMakeFiles/orocos-log4cpp.dir/src/Appender.cpp.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:143: CMakeFiles/orocos-log4cpp.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/log4cpp.dir/build.make:86: stamp/log4cpp-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/log4cpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
bgregory@raspberrypi:~/orocos/orocos_toolchain $ git status
On branch toolchain-2.9
Your branch is up to date with 'origin/toolchain-2.9'.
nothing to commit, working tree clean
The text was updated successfully, but these errors were encountered: