Search found 67 matches

by willpirkle
Mon Mar 20, 2017 8:20 pm
Forum: VST 3 SDK
Topic: [Solved] nullptr compile error
Replies: 1
Views: 1476

Re: nullptr compile error

You can fix this in ftypes.h: In ftypes.h, scroll down to the bottom - this is what mine looks like now, and is set here for VS2008: -- For non-C++11 compliant compilers (eg VS2008) //#ifndef SMTG_CPP11_STDLIBSUPPORT // Enable this for old compilers #define nullptr NULL //#endif #define nullptr NULL...
by willpirkle
Sun Mar 19, 2017 10:14 pm
Forum: VSTGUI
Topic: CNewFileSelector crash, MacOS
Replies: 3
Views: 2787

CNewFileSelector crash, MacOS

I recently ran into an issue with CNewFileSelector with identical problems as the thread here (MacOS only): https://sourceforge.net/p/vstgui/mailman/message/34870506/ It was also very repeatable - choosing <Save> or <Cancel> always crashed, from within the host code. I replicated this same problem w...
by willpirkle
Fri Mar 10, 2017 9:38 pm
Forum: VST 3 SDK
Topic: SDK 3.6.7 and XCode 6 Issues/Errors/Fixes
Replies: 6
Views: 3357

Re: SDK 3.6.7 and XCode 6 Issues/Errors/Fixes

Hi YVan

That does not work, however this does (also) compile:

CFURLRef bundleUrl = CFBundleCopyBundleURL (bundle);

The warning that is generated a few lines below can be removed by casting the CFURLRef as id:

auto resUrl = [(id)bundleUrl URLByAppendingPathComponent:@"Contents"];

Best,

- Will
by willpirkle
Wed Mar 08, 2017 5:00 pm
Forum: VST 3 SDK
Topic: SDK 3.6.7 and XCode 6 Issues/Errors/Fixes
Replies: 6
Views: 3357

SDK 3.6.7 and XCode 6 Issues/Errors/Fixes

I'm having multiple issues with the SDK3.6.7 + XCode 6 on MacOS. This includes a failure with xcodebuild (after CMake) as well as multiple failures in XCode. I was able to fix the issues and get a complete build, but I wanted to make sure the steps I took are OK, as well as detail the errors/fixes f...
by willpirkle
Tue Jan 31, 2017 2:05 pm
Forum: VST 3 SDK
Topic: vst2wrapper problem in Cubase/Nuendo only
Replies: 5
Views: 2700

Re: vst2wrapper problem in Cubase/Nuendo only

Hi Howard First, for VST2, yes it is normal for createView( ) to get called twice; the first time, as you saw, was when the host checked to see if you have an editor - interestingly, it does this by trying to create your view. If you put a breakpoint there you can track back to the hasEditor( ) func...
by willpirkle
Fri Jan 20, 2017 1:06 pm
Forum: VSTGUI
Topic: setFocusView( ) and setWantsFocus( ) with CTextEdit control
Replies: 1
Views: 1878

Re: setFocusView( ) and setWantsFocus( ) with CTextEdit control

Though I still don't know why this is happening at the root level, I tracked it down to the CTextEdit::takeFocus( ) method; when the edit control takes focus while its parent is selected, it redraws the background, even if it is transparent, causing that block to appear. My solution was to subclass ...
by willpirkle
Wed Jan 18, 2017 10:11 pm
Forum: VST 3 SDK
Topic: auval says "Cannot open component: -1"
Replies: 8
Views: 3663

Re: auval says "Cannot open component: -1"

Not sure what your problem is, but I have AU's with spaces in the Audio Unit Name that pass validation.

I do not use the AU Wrapper though, mine are native AUs.

- Will
by willpirkle
Wed Jan 04, 2017 6:55 pm
Forum: VSTGUI
Topic: setFocusView( ) and setWantsFocus( ) with CTextEdit control
Replies: 1
Views: 1878

setFocusView( ) and setWantsFocus( ) with CTextEdit control

I've had a drag-and-drop VSTGUI editor running for a few years now (Windows only, which is why I was curious about a standalone version for both Win/Mac). It currently has one issue that I have not been able to fix involving the CTextEdit control. In my software, when the user hovers the mouse curso...
by willpirkle
Tue Dec 27, 2016 4:51 pm
Forum: VSTGUI
Topic: CSegmentButton + VS2010 with some segment count(s)
Replies: 1
Views: 1985

Re: CSegmentButton + VS2010 with some segment count(s)

FYI:

This turned out to be user error (face-palm) - the vmax value was being set incorrectly for the CSegmentButton. :oops:

The rounding was handled differently in VS2015, but in the end, it didn't matter.

My Bad... sorry for the spam-post.

- Will
by willpirkle
Mon Dec 05, 2016 2:42 pm
Forum: VST 3 SDK
Topic: Beginner Tutorial
Replies: 6
Views: 14792

Re: Beginner Tutorial

The terragon audio website you are referencing here is for VST2 plugins, not VST3 plugins. In addition, there is a video on the main page of the RackAFX website that details how to create VST3 plugins with the VST3 SDK, showing all the steps necessary. You should also direct RackAFX questions to tha...