Search found 115 matches

by pongasoft
Mon Sep 14, 2020 1:11 pm
Forum: VST 3 SDK
Topic: VST3 Host Questions...
Replies: 6
Views: 3605

Re: VST3 Host Questions...

Hi all. I'd sure appreciate any help on this because I'm stumped. Thanks. I do not know what is wrong with what you are doing, but I would suggest to use a simple VST3 plugin and modify it so that it logs every single call. You can then load the plugin in VST3PluginTestHost for example and look at ...
by pongasoft
Thu Sep 10, 2020 1:09 pm
Forum: VST 3 SDK
Topic: smtg_add_plugin_resource inconsistent between platforms
Replies: 5
Views: 2518

Re: smtg_add_plugin_resource inconsistent between platforms

Hey, the function smtg_add_plugin_resource is designed the way it only takes a relative file path. This makes sense for cross platform development. What is the use case for putting an absolute file path into that function? Cheers, René Example of use case: you have a set of image resources that are...
by pongasoft
Wed Sep 09, 2020 2:13 pm
Forum: VST 3 SDK
Topic: smtg_add_plugin_resource inconsistent between platforms
Replies: 5
Views: 2518

Re: smtg_add_plugin_resource inconsistent between platforms

I just ran into this as well. What file did you quote in your extract there, and is there a fix I can do locally to address the inconsistency? I didn't find a fix. I migrated from 3.6.9 which did not use the .vst3 folder format for Windows. So I left it that way (which means the SMTG_CREATE_BUNDLE_...
by pongasoft
Thu Aug 13, 2020 7:01 pm
Forum: VST 3 SDK
Topic: smtg_add_plugin_resource inconsistent between platforms
Replies: 5
Views: 2518

smtg_add_plugin_resource inconsistent between platforms

I am trying to build my plugin with 3.7.0 and found an inconsistency between platforms: function(smtg_add_plugin_resource target input_file) if(SMTG_LINUX OR (SMTG_WIN AND SMTG_CREATE_BUNDLE_FOR_WINDOWS)) ..... add_custom_command(TARGET ${target} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_C...
by pongasoft
Wed Aug 12, 2020 3:15 pm
Forum: VST 3 SDK
Topic: CMake ARGV2 is "dangerous"
Replies: 1
Views: 1692

Re: CMake ARGV2 is "dangerous"

Note that you could use ${ARGC} to check if more arguments are provided so you could write instead:

Code: Select all

// dangerous
if(ARGV2)

// instead use
if(ARGC GREATER 2 AND ARGV2)
Yan
by pongasoft
Sat Aug 08, 2020 2:08 pm
Forum: VSTGUI
Topic: Issue with Modal View Session
Replies: 4
Views: 2600

Re: Issue with Modal View Session

I think what is wrong is that there is one more call to "forget" than "remember". If you change your unit test this way: TEST(setModalView, auto frame = owned (new CFrame (CRect (0, 0, 100, 100), nullptr)); auto view = shared (new View ()); auto nbReferences = view->getNbReference (); // here nbRefe...
by pongasoft
Fri Aug 07, 2020 3:05 pm
Forum: VSTGUI
Topic: Issue with Modal View Session
Replies: 4
Views: 2600

Re: Issue with Modal View Session

I tweaked the code further like this to clearly point out what is going on: { DLOG_F(INFO, "Start of block"); auto dialog = VSTGUI::owned<MyContainer>(new MyContainer({0, 0, 100, 100})); DLOG_F(INFO, "before beginModalViewSession..."); auto id = button->getFrame()->beginModalViewSession(dialog); DLO...
by pongasoft
Thu Aug 06, 2020 9:24 pm
Forum: VSTGUI
Topic: Issue with Modal View Session
Replies: 4
Views: 2600

Issue with Modal View Session

I have the following code: // button is a view { auto dialog = VSTGUI::owned<MyContainer>(new MyContainer({0, 0, 100, 100})); DLOG_F(INFO, "before beginModalViewSession..."); auto id = button->getFrame()->beginModalViewSession(dialog); DLOG_F(INFO, "after beginModalViewSession..."); button->getFrame...
by pongasoft
Tue Aug 04, 2020 3:52 pm
Forum: VST 3 SDK
Topic: CMake ARGV2 is "dangerous"
Replies: 1
Views: 1692

CMake ARGV2 is "dangerous"

I have the following code: function(jamba_add_vst3_resource target type filename) smtg_add_vst3_resource(${target} "${JAMBA_RESOURCE_DIR}/${filename}") # use type... endfunction() The issue is that: function(smtg_add_vst3_resource target input_file) smtg_add_plugin_resource(${target} ${input_file}) ...
by pongasoft
Tue Aug 04, 2020 2:07 pm
Forum: VST 3 SDK
Topic: Issue with VST3 Generator app
Replies: 4
Views: 2606

Issue with VST3 Generator app

I have been trying to use the new app included with the zip file for 3.7.0 to generate a project on macOS. I have been unable to do so. After I select (Welcome tab) the location of the SDK and the location of CMake, I can't do anything else. It won't let me switch to either of the 2 other tabs (Crea...