Closed kiwec closed 7 years ago
cd src make
Outputs :
g++ -c binacpp_utils.cpp -fPIC -o ../lib/libbinacpp/lib/binacpp_utils.o In file included from binacpp_utils.cpp:2:0: binacpp_utils.h: In function ‘bool file_exists(const string&)’: binacpp_utils.h:36:35: error: ‘F_OK’ was not declared in this scope return ( access( name.c_str(), F_OK ) != -1 ); ^~~~ binacpp_utils.h:36:13: error: ‘access’ was not declared in this scope return ( access( name.c_str(), F_OK ) != -1 ); ^~~~~~ binacpp_utils.h:36:13: note: suggested alternative: ‘class’ return ( access( name.c_str(), F_OK ) != -1 ); ^~~~~~ class make: *** [Makefile:51: ../lib/libbinacpp/lib/binacpp_utils.o] Error 1
Arch linux, with libcurl and libwebsockets already installed from AUR (matching versions).
try again with this fix https://github.com/binance-exchange/binacpp/commit/a9627fcee52771dd03e7ae467657a5710e93ed98
Outputs :
Arch linux, with libcurl and libwebsockets already installed from AUR (matching versions).