Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.
This repository was archived by the owner on May 30, 2019. It is now read-only.

Make error #8

@Chi-Fa

Description

@Chi-Fa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions