heroiclabs / nakama-cpp

Generic C/C++ client for Nakama server.
https://heroiclabs.com/docs/cpp-client-guide
Apache License 2.0
69 stars 25 forks source link

vcpkg build is broken #159

Open xamado opened 1 month ago

xamado commented 1 month ago

I've been trying to create a new project from scratch just using vcpkg and cmake, and failing miserably.

Then I thought I would try to build the example project, and that is also failing. For some reason "config.h" (D:\vcpkg\buildtrees\nakama-sdk\x64-windows-dbg\interface\nakama-cpp\config.h) ends with an empty #define line which obviously causes a compile error.

`

pragma once

define optional_CONFIG_SELECT_OPTIONAL optional_OPTIONAL_NONSTD

define BUILD_HTTP_LIBHTTPCLIENT

define BUILD_WEBSOCKET_LIBHTTPCLIENT

define

`

linear[bot] commented 1 month ago

SDK-829 vcpkg build is broke