So i'm trying to make a simple bot using the Binance API. Its currently only for me i want it to analyse the market and when some pattern is completeed it should send me a notification to a telegram channel.
My big problem is i cannot get the API working. I included all header and source files. Also added the openssl data that was not included in the Binance files.
My problem rn is in the last few lines of the binacpp.cpp i get the compile errors:
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1803|undefined reference to `_imp__curl_global_init'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1805|undefined reference to `_imp__curl_easy_init'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1809|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1810|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1811|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1812|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1818|undefined reference to `_imp__curl_slist_append'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1820|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1826|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1828|undefined reference to `_imp__curl_easy_setopt'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1831|undefined reference to `_imp__curl_easy_perform'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1838|undefined reference to `_imp__curl_easy_cleanup'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp.cpp|1840|undefined reference to `_imp__curl_global_cleanup'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_utils.cpp|99|undefined reference to `EVP_sha256'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_utils.cpp|99|undefined reference to `HMAC'|
obj\Debug\src\binacpp_utils.o||In function `Z6sha256B5cxx11PKc':|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_utils.cpp|108|undefined reference to `SHA256_Init'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_utils.cpp|109|undefined reference to `SHA256_Update'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_utils.cpp|110|undefined reference to `SHA256_Final'|
obj\Debug\src\binacpp_websocket.o||In function `ZN17BinaCPP_websocket8event_cbEP3lws20lws_callback_reasonsPvS3_j':|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|32|undefined reference to `lws_callback_on_writable'|
obj\Debug\src\binacpp_websocket.o||In function `ZN17BinaCPP_websocket4initEv':|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|89|undefined reference to `lws_create_context'|
obj\Debug\src\binacpp_websocket.o||In function `ZN17BinaCPP_websocket16connect_endpointEPFiRN4Json5ValueEEPKc':|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|113|undefined reference to `lws_canonical_hostname'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|118|undefined reference to `lws_client_connect_via_info'|
obj\Debug\src\binacpp_websocket.o||In function `ZN17BinaCPP_websocket16enter_event_loopEv':|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|133|undefined reference to `lws_service'|
C:\Users\llbri\Desktop\binacpp-master\src\binacpp_websocket.cpp|139|undefined reference to `lws_context_destroy'|
||error: ld returned 1 exit status|
||=== Build failed: 25 error(s), 179 warning(s) (0 minute(s), 14 second(s)) ===|
As u see i want to run the example file but i don't quite get why these errors occurr.
I am Using win64 and code::blocks IDE
I would apreciate any advice
sincerly AD