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
Not sure what library conflicts with windows.h as some library also defines byte, was necessary to add #define WIN32_LEAN_AND_MEAN at the top of the header file to make it work, without the macro, throws a bunch of compilation errors like this: In file included from c:\mingdef\mingw\x86_64-w64-mingw32\include\wtypes.h:8, from c:\mingdef\mingw\x86_64-w64-mingw32\include\winscard.h:10, from c:\mingdef\mingw\x86_64-w64-mingw32\include\windows.h:97, from {path} headers/color.hpp:11, from {path} testing.cpp:7: c:\mingdef\mingw\x86_64-w64-mingw32\include\rpcndr.h:64:11: error: reference to 'byte' is ambiguous 64 | typedef byte cs_byte; | ^~~~
The text was updated successfully, but these errors were encountered:
Not sure what library conflicts with windows.h as some library also defines byte, was necessary to add #define WIN32_LEAN_AND_MEAN at the top of the header file to make it work, without the macro, throws a bunch of compilation errors like this:
In file included from c:\mingdef\mingw\x86_64-w64-mingw32\include\wtypes.h:8, from c:\mingdef\mingw\x86_64-w64-mingw32\include\winscard.h:10, from c:\mingdef\mingw\x86_64-w64-mingw32\include\windows.h:97, from {path} headers/color.hpp:11, from {path} testing.cpp:7: c:\mingdef\mingw\x86_64-w64-mingw32\include\rpcndr.h:64:11: error: reference to 'byte' is ambiguous 64 | typedef byte cs_byte; | ^~~~
The text was updated successfully, but these errors were encountered: