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
cmake problem: SMTG_PACKAGE_ICON_PATH is not set to (as expected)
Avatar
Makai
New Member
Members
September 1, 2020 - 8:05 am
Member Since: September 1, 2020
Forum Posts: 2
sp_UserOfflineSmall Offline

Hello Mr. Pirkle.

I'd like to try coding a vst3 plugin, using your ASPIK SDK.

I downloaded the latest VST_SDK, AU_SDK and cloned the github ASPIK repository.

After setting up the SDK, as described in the documentation (I hope I did), I created a new project with the ASPiKreator.

At the point when I run Cmake, it outputs some messages, i.a. this one:

SMTG_PACKAGE_ICON_PATH is not set to (as expected) : C:/Users/musikus/source/repos/ALL_SDK/VST_SDK/VST3_SDK/doc/artwork/VST_Logo_Steinberg.ico

The "doc" subdirectory doesn't exist in the VST3_SDK folder structure, it is current named "vst3_doc". In the end the Visual Studio files are not created in the  win_build folder.

I created a new "doc" folder at the location where cmake expected it and copied the artwork folder into it, so cmake was able to create the Visual Studio files.

Is there maybe a way to change a setting in the ASPiKreator preferences,  or similar? So that there is no need to touch the VST3_SDK folder structure?

 

Thank you very much in advantage.

Best regards, 

Makai

Avatar
Makai
New Member
Members
September 1, 2020 - 10:43 am
Member Since: September 1, 2020
Forum Posts: 2
sp_UserOfflineSmall Offline

Found a way that works, for me.

I edited a line in the "ASPiK\PluginTemplate\project_source\cmake\vst_cmake\CMakeLists.txt" file.

I guess this is the template for the vst plugins part..?

 

Changed the line fom:

set(DEFAULT_ICON_PATH ${SDK_ROOT}/doc/artwork/VST_Logo_Steinberg.ico)

to:

set(DEFAULT_ICON_PATH ${SDK_ROOT}/vst3_doc/artwork/VST_Logo_Steinberg.ico)

 

I hope there are no side effects to other things...

 

Best regards, 

Makai

Avatar
DrWig
Member
Members
September 17, 2020 - 3:53 pm
Member Since: September 15, 2015
Forum Posts: 16
sp_UserOfflineSmall Offline

I just got the same issue.... Fixed it the other way around.... Renamed the vst_doc folder in the sdk to doc..... (edit.... I see you did that first too!) 

This only seems an issue for cmake on windows..... 

 

Cheers

Bruce

Avatar
W Pirkle
Admin
October 21, 2020 - 9:58 am
Member Since: January 28, 2017
Forum Posts: 550
sp_UserOfflineSmall Offline

Are you using VST3 SDK 3.6.14, the last supported version?

Will 

Avatar
W Pirkle
Admin
December 4, 2020 - 4:12 pm
Member Since: January 28, 2017
Forum Posts: 550
sp_UserOfflineSmall Offline

As far as I can tell, this is a minor bug in the VST3 SDK as well - even after editing my cmakelists.txt file, the message still pops up and it comes from within the SDK. I just downloaded 3.7.1 and it is still there, in their own CMake modules in the SDK (AddVST3Options...). The SDK definitely arrives with the folder named vst3_doc, yet the Steinberg CMake code references the old directory from 3.6.X. If you build the plugin and you get the new bundle icon, then the build stuff is OK, regardless of what CMake says.

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online: Mina
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 49

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

jim: 34

JimmyM: 33

Gwen: 32

Member Stats:

Guest Posters: 1

Members: 677

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 740

Posts: 2835

Newest Members:

bmarx, Tom Helvey, Ludovic, Mihir Shah, Mina, robbie, Matteo Desantis, jacobwotson, Nowhk, reynaldo_fm

Moderators: W Pirkle: 550

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 550, VariableCook: 3