You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to get Barony to build correctly, I've had to add the NOGDI define to prevent conflicts between wingdi.h and rapidjson
wingdi.h would #define GetObject to GetObjectA/GetObjectW, which would break using rapidjson in light.cpp
Also added WIN32_LEAN_AND_MEAN, none of the additional includes were necessary.
Minor note: Installing all the dependencies through vcpkg, besides theoraplayer and fmod, the SDL2 includes were in their own folder and I had to change all the #include "SDL2.h" and related defines to #include <SDL2/SDL2.h>
The text was updated successfully, but these errors were encountered:
In order to get Barony to build correctly, I've had to add the
NOGDI
define to prevent conflicts between wingdi.h and rapidjsonwingdi.h would
#define GetObject
to GetObjectA/GetObjectW, which would break using rapidjson in light.cppAlso added
WIN32_LEAN_AND_MEAN
, none of the additional includes were necessary.Minor note: Installing all the dependencies through vcpkg, besides theoraplayer and fmod, the SDL2 includes were in their own folder and I had to change all the
#include "SDL2.h"
and related defines to#include <SDL2/SDL2.h>
The text was updated successfully, but these errors were encountered: