Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
VSTGUI Hosed with attempt to use Rackafx V7
Avatar
JimmyM
Member
Members
June 21, 2019 - 8:36 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will,

 

I'm not sure how to even start getting out of this one. I decided to give V7 a try, and somehow I can't get past VSTGUI errors now. So I reverted back to version 6.9, and reverted my project back to a previous version but the errors persist as if all of a sudden the coders of VSTGUI really didn't know how to code anything at all 🙂

I have a ton like the following:

 

Severity Code Description Project File Line Suppression State
Error (active) expected an identifier JIMMYSVST c:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2589 '(': illegal token on right side of '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2059 syntax error: '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2011 'VSTGUI::CMouseWheelAxis': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 47
Error C2011 'VSTGUI::CMouseEventResult': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 56
Error C2011 'VSTGUI::CCursorType': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 68
Error C2011 'VSTGUI::CViewAutosizing': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 85
Error C2011 'VSTGUI::DragResult': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 96
Error C2589 '(': illegal token on right side of '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2059 syntax error: '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2011 'VSTGUI::CMouseWheelAxis': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 47
Error C2011 'VSTGUI::CMouseEventResult': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 56
Error C2011 'VSTGUI::CCursorType': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 68
Error C2011 'VSTGUI::CViewAutosizing': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 85
Error C2011 'VSTGUI::DragResult': 'enum' type redefinition JIMMYSVST  D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 96
Error C2589 '(': illegal token on right side of '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2059 syntax error: '::' JIMMYSVST C:\Program Files (x86)\RackAFX\BaseClassFiles\vstgui4\vstgui\lib\vstguifwd.h 16
Error C2011 'VSTGUI::CMouseWheelAxis': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 47
Error C2011 'VSTGUI::CMouseEventResult': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 56
Error C2011 'VSTGUI::CCursorType': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 68
Error C2011 'VSTGUI::CViewAutosizing': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 85
Error C2011 'VSTGUI::DragResult': 'enum' type redefinition JIMMYSVST D:\projects jimmy vst RackAFX\VST3 SDK\vstgui4\vstgui\lib\vstguifwd.h 96

 

Any help would be appreciated. I eventually look forward to updating everything to the latest and greatest, including down the line figuring out how to get CMAKE going, but at least having my project back to working would be awesome.

Avatar
JimmyM
Member
Members
June 21, 2019 - 9:29 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Weird - I did fix it in my typical cowboy coding fashion:

 

For the first error I changed the line

static constexpr uint32_t kStreamIOError = std::numeric_limits<uint32_t>::max ();

to

static constexpr uint32_t kStreamIOError = (std::numeric_limits<uint32_t>::max)();

 

Then for the rest, since they were redefinitions I just commented out each, and it compiled like a dream - and runs as expected.

Eventually I'll give version 7 a shot, and note this posting as a reference if I run into trouble again. Meantime I'm back to algorithm tweaking.

 

Looking forward to checking out the new stuff!

Avatar
W Pirkle
Admin
June 24, 2019 - 12:38 pm
Member Since: January 29, 2017
Forum Posts: 344
sp_UserOfflineSmall Offline

Hi Jimmy

RackAFX7 requires VSTGUI4.8, so I am guessing you are using an older version? Or you are trying to share it with the VST3 SDK?

You can install v4.8 right from the Utilities menu (save your older version). It must be installed in the same folder as your RackAFX7 projects. In previous versions of RackAFX, VSTGUI4 was only needed if you did custom GUI stuff. 

The new version requires it now because your plugin renders its own GUI instead of linking to that massive .LIB as with the previous versions. 

We used RAFX7 and VSTGUI4.8 in plugins class last semester, and everything was stable and working. 

Let me know if you have any other problems. 

There is a video tutorial on it here:

https://www.willpirkle.com/support/rackafx7-video-tutorials/

See the chunk:

Plugin Design Tutorial Part 1

Add the VSTGUI4 library then begin your first RackAFX7 project; includes knob control tapering notes.

- Will

Avatar
JimmyM
Member
Members
August 10, 2019 - 12:50 pm
Member Since: July 21, 2016
Forum Posts: 33
sp_UserOfflineSmall Offline

Hi Will,

Thank you so much! I hadn't had a chance to check back in a while. 

The second video which spells out pretty clearly how to properly set up the environment, so I'll give that a shot and holler back if I run into any issues.

 

Much appreciated!

 

Best regards,

 

Jimmy

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 41

clau_ste: 39

TheSmile: 37

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 565

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 581

Posts: 2326

Newest Members:

frankthetank, dhodgson, Wanderer, mister1234, Evan Galvanek, Rowan Fraser, patrickbarr1984, Ray C., Jon R., Pat

Moderators: W Pirkle: 344

Administrators: Tom: 69, JD Young: 80, Will Pirkle: 0, W Pirkle: 344