A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
- Posts: 132
- Joined: Tue Jun 21, 2016 1:46 pm
On Windows, using VSTGUI 4.3, I am getting a compiler error in cstream.h, on this line (line 45):
Code: Select all
static const uint32_t kStreamIOError = std::numeric_limits<uint32_t>::max ();
The error is that in "max ()", the "(" is an invalid token. How can I fix this? It compiles fine on the Mac in Xcode.
- Posts: 383
- Joined: Mon Jun 20, 2016 7:53 am
Visual Studio headers like to define a "max" macro. You always have to
bevor including Windows.h