Integer literals has not the required size on MingW
The issue appear when including TuioServer.h
. TUIO tell us that integer literals should be in a specific size.
Start on line 164 of OscOutboundPacketStream.cpp
// sanity check integer types declared in OscTypes.h
// you'll need to fix OscTypes.h if any of these asserts fail
assert( sizeof(osc::int32) == 4 );
assert( sizeof(osc::uint32) == 4 );
assert( sizeof(osc::int64) == 8 );
assert( sizeof(osc::uint64) == 8 );
The proposed solution is adding typedef in OscTypes.h
#elif defined(__WIN32__) || defined(WIN32) || defined(_WIN32)
#include <stdint.h>
typedef int64_t int64;
typedef uint64_t uint64;
int64_t and uint64_t are 8 bytes long.
See the provided patch tuio_mingw.patch