New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building using MinGW-W64 fails with "'InetPton' was not declared in this scope" #2225
Labels
Comments
Did you overcome this issue ?which version of ming2 are you using ? |
Under the Windows Platform, Open as Administrator the $ cd spdlog && mkdir build && cd build
$ cmake .. -G "Ninja" && ninja install config cmake_minimum_required(VERSION 3.21)
project(01-hello)
set(CMAKE_PREFIX_PATH C:/Program Files (x86))
find_package(spdlog REQUIRED)
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE spdlog::spdlog spdlog::spdlog_header_only) |
Same issue here. A simple workaround is to set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use CMake to generate a
ninja.build
file, which I use to try to build the library. However, it fails with the following output:Can someone please help me with how to debug/overcome this issue, please?
The text was updated successfully, but these errors were encountered: