[Solved] validator causes Build All to fail

SDK for VST 3 audio plug-in and host development.
Post Reply
howardantares
Posts: 126
Joined: Tue Jun 21, 2016 1:46 pm

[Solved] validator causes Build All to fail

Post by howardantares » Fri Jul 12, 2019 6:01 pm

Building the VST3 SDK using the ALL_BUILD target, my project fails to build because validator has this line of code that fails:

randIndex = rand () % (numBusses);

It says that rand is an undeclared identifier. I have not modified anything in the cmake-generated project. Is there some path I might have missed adding or setting when using cmake (the GUI app), that might cause this?

howardantares
Posts: 126
Joined: Tue Jun 21, 2016 1:46 pm

Re: validator causes Build All to fail

Post by howardantares » Fri Jul 12, 2019 8:17 pm

Ah, just saw this post that explains the issue:

viewtopic.php?f=4&t=687#p2157

Post Reply