Can someone explain why it wont compile? I am verry new to C++(I have only used java and a bit of python before) and I have no clue what could be cousing these issues.
I have added botcraft as a git submodule(git submodule add https://github.com/adepierre/Botcraft lib/botcraft
).
Oh and im using clion(idk if that helps).
cmake_minimum_required(VERSION 3.22)
project(czeropthreebot)
set(CMAKE_CXX_STANDARD 11)
add_executable(czeropthreebot src/main.cpp)
add_definitions(-DGAME_VERSION=1.12.2 -DBOTCRAFT_BUILD_EXAMPLES=ON -DBOTCRAFT_COMPRESSION=ON -DBOTCRAFT_ENCRYPTION=ON -DBOTCRAFT_USE_OPENGL_GUI=OFF) #doesnt work???????????
add_subdirectory(lib/botcraft EXCLUDE_FROM_ALL)
target_link_libraries(czeropthreebot PRIVATE botcraft)
====================[ Build | czeropthreebot | Debug ]==========================
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\cmake\win\bin\cmake.exe --build C:\Users\keesg\CLionProjects\czeropthreebot\cmake-build-debug --target czeropthreebot -j 6
[1/3] Building CXX object CMakeFiles/czeropthreebot.dir/src/main.cpp.obj
[2/3] Linking CXX shared library ..\bin\libbotcraft_d.dll
FAILED: ../bin/libbotcraft_d.dll ../lib/libbotcraft_d.dll.a
cmd.exe /C "cd . && C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin\g++.exe -g -shared -o ..\bin\libbotcraft_d.dll -Wl,--out-implib,..\lib\libbotcraft_d.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\botcraft.rsp && cd ."
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::winsock_init_base::startup(asio::detail::winsock_init_base::data&, unsigned char, unsigned char)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/winsock_init.ipp:38: undefined reference to `__imp_WSAStartup'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::winsock_init_base::cleanup(asio::detail::winsock_init_base::data&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/winsock_init.ipp:55: undefined reference to `__imp_WSACleanup'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::clear_last_error()':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:68: undefined reference to `__imp_WSASetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::close(unsigned long long, unsigned char&, bool, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:314: undefined reference to `__imp_closesocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:331: undefined reference to `__imp_ioctlsocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:346: undefined reference to `__imp_closesocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::recv(unsigned long long, _WSABUF*, unsigned long long, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:767: undefined reference to `__imp_WSARecv'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::send(unsigned long long, _WSABUF const*, unsigned long long, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1166: undefined reference to `__imp_WSASend'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::socket(int, int, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1394: undefined reference to `__imp_WSASocketW'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1405: undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::poll_read(unsigned long long, unsigned char, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1833: undefined reference to `__imp_select'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::poll_write(unsigned long long, unsigned char, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1887: undefined reference to `__imp_select'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::poll_connect(unsigned long long, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1991: undefined reference to `__imp_select'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::translate_addrinfo_error(int)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3304: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::getaddrinfo(char const*, char const*, addrinfo const&, addrinfo**, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3322: undefined reference to `__imp_getaddrinfo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `asio::detail::socket_ops::freeaddrinfo(addrinfo*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3396: undefined reference to `__imp_freeaddrinfo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `unsigned long long asio::detail::socket_ops::error_wrapper<unsigned long long>(unsigned long long, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:81: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `int asio::detail::socket_ops::error_wrapper<int>(int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:81: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `int asio::detail::socket_ops::call_connect<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, sockaddr const*, unsigned long long)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:469: undefined reference to `__imp_connect'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `int asio::detail::socket_ops::call_setsockopt<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, int, int, void const*, unsigned long long)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1440: undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/Authentifier.cpp.obj: in function `int asio::detail::socket_ops::call_getsockopt<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, int, int, void*, unsigned long long*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1527: undefined reference to `__imp_getsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::win_fd_set_adapter::is_set(unsigned long long) const':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/win_fd_set_adapter.hpp:82: undefined reference to `__WSAFDIsSet'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::set_internal_non_blocking(unsigned long long, unsigned char&, bool, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:423: undefined reference to `__imp_ioctlsocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::non_blocking_connect(unsigned long long, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:573: undefined reference to `__imp_select'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::listen(unsigned long long, int, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:691: undefined reference to `__imp_listen'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::recvfrom(unsigned long long, _WSABUF*, unsigned long long, int, sockaddr*, unsigned long long*, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:920: undefined reference to `__imp_WSARecvFrom'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::sendto(unsigned long long, _WSABUF const*, unsigned long long, int, sockaddr const*, unsigned long long, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1292: undefined reference to `__imp_WSASendTo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::ioctl(unsigned long long, unsigned char&, int, unsigned long*, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1724: undefined reference to `__imp_ioctlsocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::select(int, fd_set*, fd_set*, fd_set*, timeval*, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1793: undefined reference to `__imp_select'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::inet_pton(int, char const*, void*, unsigned long*, std::error_code&)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:2304: undefined reference to `__imp_WSAStringToAddressA'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::network_to_host_long(unsigned long)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3521: undefined reference to `__imp_ntohl'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::host_to_network_long(unsigned long)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3536: undefined reference to `__imp_htonl'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::socket_ops::host_to_network_short(unsigned short)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:3561: undefined reference to `__imp_htons'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::win_iocp_socket_service_base::start_send_op(asio::detail::win_iocp_socket_service_base::base_implementation_type&, _WSABUF*, unsigned long long, int, bool, asio::detail::win_iocp_operation*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:397: undefined reference to `__imp_WSASend'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:399: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::win_iocp_socket_service_base::start_receive_op(asio::detail::win_iocp_socket_service_base::base_implementation_type&, _WSABUF*, unsigned long long, int, bool, asio::detail::win_iocp_operation*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:452: undefined reference to `__imp_WSARecv'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:455: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::win_iocp_socket_service_base::start_connect_op(asio::detail::win_iocp_socket_service_base::base_implementation_type&, int, int, sockaddr const*, unsigned long long, asio::detail::win_iocp_socket_connect_op_base*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:625: undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `asio::detail::win_iocp_socket_service_base::get_connect_ex(asio::detail::win_iocp_socket_service_base::base_implementation_type&, int)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp:736: undefined reference to `__imp_WSAIoctl'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `unsigned long long asio::detail::socket_ops::call_accept<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, sockaddr*, unsigned long long*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:95: undefined reference to `__imp_accept'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `int asio::detail::socket_ops::call_bind<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, sockaddr const*, unsigned long long)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:273: undefined reference to `__imp_bind'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/botcraft/CMakeFiles/botcraft.dir/src/Network/TCP_Com.cpp.obj: in function `int asio::detail::socket_ops::call_getsockname<int>(int asio::detail::socket_ops::msghdr::*, unsigned long long, sockaddr*, unsigned long long*)':
C:/Users/keesg/CLionProjects/czeropthreebot/lib/botcraft/3rdparty/asio/asio/include/asio/detail/impl/socket_ops.ipp:1691: undefined reference to `__imp_getsockname'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0x456): undefined reference to `__imp_getnameinfo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0x498): undefined reference to `gai_strerrorA'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0x4cf): undefined reference to `__imp_ntohs'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0x843): undefined reference to `__imp_freeaddrinfo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0xe3f): undefined reference to `__imp_getaddrinfo'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_addr.c.obj):b_addr.c:(.text+0xee1): undefined reference to `gai_strerrorA'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x2a6): undefined reference to `__imp_ntohs'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x328): undefined reference to `__imp_getsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x33a): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x35e): undefined reference to `__imp_gethostbyname'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x3b6): undefined reference to `__imp_WSAStartup'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x3c3): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x445): undefined reference to `__imp_WSACleanup'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x479): undefined reference to `__imp_ioctlsocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x48b): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x68b): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x866): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x915): undefined reference to `__imp_getsockname'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock.c.obj):b_sock.c:(.text+0x927): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x3f): undefined reference to `__imp_socket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x51): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x156): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x163): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x1eb): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x1f8): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x278): undefined reference to `__imp_connect'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x294): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x367): undefined reference to `__imp_bind'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x374): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x44d): undefined reference to `__imp_getsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x462): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x510): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x51d): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x5a5): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x5b2): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x64c): undefined reference to `__imp_setsockopt'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x659): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x6e6): undefined reference to `__imp_listen'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x6f4): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x7a1): undefined reference to `__imp_accept'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x7c1): undefined reference to `__imp_WSAGetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x83a): undefined reference to `__imp_closesocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(b_sock2.c.obj):b_sock2.c:(.text+0x866): undefined reference to `__imp_closesocket'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(bss_sock.c.obj):bss_sock.c:(.text+0x166): undefined reference to `__imp_WSASetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(bss_sock.c.obj):bss_sock.c:(.text+0x18b): undefined reference to `__imp_recv'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(bss_sock.c.obj):bss_sock.c:(.text+0x204): undefined reference to `__imp_WSASetLastError'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(bss_sock.c.obj):bss_sock.c:(.text+0x229): undefined reference to `__imp_send'
C:\Users\keesg\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\221.5591.52\bin\mingw\bin/ld.exe: lib/botcraft/3rdparty/openssl/install/lib/libcrypto.a(bss_sock.c.obj):bss_sock.c:(.text+0x3f2): undefined reference to `__imp_WSAGetLastError'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.