-
Notifications
You must be signed in to change notification settings - Fork 9
Make error #8
Comments
Hi, Best regards, |
The version shows after running |
Please run |
The result shows:
|
Hmm, can you try and update your compiler? |
I will try to update it. Many thanks for your reply and I will update the result later. |
Hello Robert,
When I installed ra tool, I came across some errors:
After:
Errors:
[ 2%] Building CXX object vendor/rala/vendor/thread_pool/CMakeFiles/thread_pool.dir/src/thread_pool.cpp.o In file included from /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:9: /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:15:18: error: future: No such file or directory /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:16:18: error: atomic: No such file or directory In file included from /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:9: /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:65: error: expected type-specifier /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:65: error: expected initializer /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:101: error: ISO C++ forbids declaration of ‘atomic’ with no type /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:101: error: invalid use of ‘::’ /home/chifa/ra/vendor/rala/vendor/thread_pool/include/thread_pool/thread_pool.hpp:101: error: expected ‘;’ before ‘<’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp: In member function ‘void thread_pool::Semaphore::wait()’: /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:38: error: expected primary-expression before ‘[’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:38: error: expected primary-expression before ‘]’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp: In constructor ‘thread_pool::ThreadPool::ThreadPool(uint32_t)’: /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:47: error: ‘terminate_’ was not declared in this scope /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp: In destructor ‘thread_pool::ThreadPool::~ThreadPool()’: /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:56: error: ‘terminate_’ was not declared in this scope /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:60: error: expected initializer before ‘:’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected primary-expression before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected ‘;’ before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected primary-expression before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected ‘)’ before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected primary-expression before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:63: error: expected ‘;’ before ‘}’ token /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp: In static member function ‘static void thread_pool::ThreadPool::worker_thread(thread_pool::ThreadPool*)’: /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:70: error: ‘class thread_pool::ThreadPool’ has no member named ‘terminate_’ /home/chifa/ra/vendor/rala/vendor/thread_pool/src/thread_pool.cpp:81: error: ‘class thread_pool::ThreadPool’ has no member named ‘terminate_’ make[2]: *** [vendor/rala/vendor/thread_pool/CMakeFiles/thread_pool.dir/src/thread_pool.cpp.o] Error 1 make[1]: *** [vendor/rala/vendor/thread_pool/CMakeFiles/thread_pool.dir/all] Error 2 make: *** [all] Error 2
Could you help me identify the problem? Many thanks.
The text was updated successfully, but these errors were encountered: