ra
ra copied to clipboard
make error
Hello Robert,
I would like to test your assembler on my Linux system. When compiling the tool, I come across some errors: After:
git clone --recursive https://github.com/rvaser/ra.git ra
cd ra
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
Errors:
In file included from /mydir/software/pool/ra/vendor/rala/src/pile.cpp:11:0:
/mydir/software/pool/ra/vendor/rala/src/overlap.hpp:77:31: error: ‘vector’ in namespace ‘std’ does not name a template type
bool transmute(const std::vector<std::unique_ptr<Pile>>& piles,
^~~~~~
/mydir/software/pool/ra/vendor/rala/src/overlap.hpp:77:37: error: expected ‘,’ or ‘...’ before ‘<’ token
bool transmute(const std::vector<std::unique_ptr<Pile>>& piles,
^
/mydir/software/pool/ra/vendor/rala/src/overlap.hpp:80:26: error: ‘vector’ in namespace ‘std’ does not name a template type
bool trim(const std::vector<std::unique_ptr<Pile>>& piles);
^~~~~~
/mydir/software/pool/ra/vendor/rala/src/overlap.hpp:80:32: error: expected ‘,’ or ‘...’ before ‘<’ token
bool trim(const std::vector<std::unique_ptr<Pile>>& piles);
^
make[2]: *** [vendor/rala/CMakeFiles/rala.dir/src/pile.cpp.o] Error 1
make[1]: *** [vendor/rala/CMakeFiles/rala.dir/all] Error 2
make: *** [all] Error 2
Could you please help me deal with this problem? Thanks in advance.
Hi, there was a missing header in one of the submodule files (newer compilers report this error). I hopefully fixed it and pushed the new version to master.
Best regards, Robert