You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found the tool useful and easy to use, therefore I wanted to include it in a pipeline that I would like to make available in Mac and Linux. The compiler gives this error:
$ make
rm -rf target
mvn clean
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------------< abra2:abra2 >-----------------------------
[INFO] Building abra 2.19
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ abra2 ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.303 s
[INFO] Finished at: 2019-08-15T23:12:11+02:00
[INFO] ------------------------------------------------------------------------
mkdir target
clang -g -O2 -Isrc/main/c -I/Users/pbiodiv/miniconda2/include -I/Users/pbiodiv/miniconda2/include/linux -shared -fPIC src/main/c/assembler.cpp src/main/c/sg_aligner.cpp -o target/libAbra.so
In file included from src/main/c/assembler.cpp:11:
src/main/c/sparsehash/sparse_hash_map:94:10: fatal error: 'tr1/functional' file not found
#include HASH_FUN_H // for hash<>
^
src/main/c/sparsehash/internal/sparseconfig.h:10:20: note: expanded from macro 'HASH_FUN_H'
#define HASH_FUN_H <tr1/functional>
^~~~~~~~~~~~~~~~
1 error generated.
make: *** [native] Error 1
And doing some research I found out it is caused by the use of libstdc++ which became deprecated in Mac since version 10.8. Is it possible to modify ABRA2 to be able to compile using libc++ ? or it basically would imply re-writing it?
Thanks
Edgardo
The text was updated successfully, but these errors were encountered:
Hi, I found the tool useful and easy to use, therefore I wanted to include it in a pipeline that I would like to make available in Mac and Linux. The compiler gives this error:
And doing some research I found out it is caused by the use of
libstdc++
which became deprecated in Mac since version 10.8. Is it possible to modify ABRA2 to be able to compile usinglibc++
? or it basically would imply re-writing it?Thanks
Edgardo
The text was updated successfully, but these errors were encountered: