I am trying to compile code that includes both JUCE and Python (using anaconda).
The issue is the following:
When including Python.h, it tries to load pyport.h as well.
In there, there is the following:
typedef ssize_t Py_ssize_t;
#elif SIZEOF_VOID_P == SIZEOF_SIZE_T
typedef Py__intptr_t Py_ssize_t;
This causes a conflict with Juce, which in juce_MathsFunctions.h calls:
typedef pointer_sized_int ssize_t;
The error is:
error C2872: 'ssize_t': ambiguous symbol
Any ideas how I could resolve this issue?