Unable to create a project ($) | Compiler Errors & Warnings | Forum

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
Unable to create a project ($)
Avatar
Member
Members
July 7, 2022 - 11:17 am
Member Since: July 7, 2022
Forum Posts: 3
sp_UserOfflineSmall Offline

Hi,

I bought the book looking forward to getting into some plugin development.  I've not used C++ in a few years (I'm all C# these days) but I thought I'd manage ok.

It's entirely possible I'm approaching this in completely the wrong way, but - wow - this is a PITA to get started.

* I'm running Visual Studio 2022 on a Windows 11 machine
* I've downloaded the latest VST SDK
* I've pulled ASPiK from github
* I've set the folder structure up the way the docs say I must (though I must admit I find the requirement to build projects *inside* an SDK distribution very weird... I had expected the SDK/dependencies would be build outside and linked to the plugin projects but... anyway)
* I've run ASPiKreactor to generate a project structure
* I've worked through the first set of issues that appear to be related to the current Plugin Templates being outdated against VST3 3.7.5 - I see that there's been a pull request in github for some of these changes since January.  This is a bit of a worry...
* I won't pretend to really understand CMake syntax very well yet so this may be obvious to others, but when I try to run cmake on my initial project, I get to a point where this error is repeated:

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.<br />-- --- Updated File: project_source/source/PluginKernel/plugindescription.h<br />--<br />-- ------&gt; Starting VST Project Build:<br />-- VST SDK Location: D:/Audio/VST_SDK/vst3sdk<br />--<br />-- -&gt; Adding VST ported project...<br />-- VST Target Name: Reversey<br />--<br />-- [SMTG] Setup running moduleinfotool for Reversey<br />-- [SMTG] Setup running validator for Reversey<br />-- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)<br />-- VSTGUI will use the embedded Expat package!<br />-- Configuring done<br />CMake Error at D:/Audio/VST_SDK/vst3sdk/cmake/modules/SMTG_AddVST3Library.cmake:89 (add_custom_command):<br />Error evaluating generator expression:<br /><br />
$&lt;TARGET_FILE:moduleinfotool&gt;<br />
<br />
No target "moduleinfotool"<br />Call Stack (most recent call first):<br />D:/Audio/VST_SDK/vst3sdk/cmake/modules/SMTG_AddVST3Library.cmake:179 (smtg_target_create_module_info_file)<br />D:/Audio/VST_SDK/vst3sdk/cmake/modules/SMTG_AddVST3Library.cmake:233 (smtg_add_vst3plugin_with_pkgname)<br />project_source/cmake/vst_cmake/CMakeLists.txt:115 (smtg_add_vst3plugin)

And so on...

If I use the Steinberg VST3 Project generator, I have utility projects there for moduleinfo and validator, but I'm failing to see how these are supposed to be called by the ASPiK Cmake scripts, or - if they're a dependency that CMake should build, why they're not.  But then, why would a utility be built fresh for every plugin?

I'm sure the answer is easy when you know how, but it does feel like C++ build environments have a lot of catching up to do with C#.  Build the equivalent of Hello World shouldn't be like pulling teeth...

Any pointers on how to get the *current* VST3 SKD building would be gratefully received.  I'm a little worried that this has become dormant?

Cheers,

Oliver

Avatar
Member
Members
July 7, 2022 - 11:23 am
Member Since: July 7, 2022
Forum Posts: 3
sp_UserOfflineSmall Offline

Apologies for the messy output - I tried to make it look nice, but the forum decided to "help" 😉  If I try to edit the original post I get a server error.  I just noticed the title of my post was mauled too... it should include "moduleinfotool" but the angled brackets killed that!  Is it 1994 again? 😉

Avatar
Admin
July 7, 2022 - 12:24 pm
Member Since: January 29, 2017
Forum Posts: 693
sp_UserOfflineSmall Offline

I am sorry you are having issues here. My life has gone through some big changes, the last of which was quitting my job at the university and I have just moved about 700 miles, and have still not unpacked. 

I am a couple of revisions behind on ASPiK & VST3 SDK. If you look at the recent Forum posts you can see what is currently supported/tested:

You can find the SDK requirements, etc..,. here https://www.aspikplugins.com/download/

My main admin has been involved in a new project, and I've started a new job as a software engineer. As all of this work is done for $0.00, we have both been swamped with real job stuff. 

My plan is to get unpacked to the point that I can actually do my normal job, and then revise ASPiK for the latest VST3 SDK, which should be sooner than later.

If that timeline does not work for you, please switch to JUCE -  maybe it will be less of a PITA for you. They are a funded company with paid engineers, tech support, etc... ASPiK is open source and has no funding so unfortunately, updates do not happen as quickly.

Will Pirkle

Avatar
Member
Members
July 7, 2022 - 3:28 pm
Member Since: July 7, 2022
Forum Posts: 3
sp_UserOfflineSmall Offline

Hi Will,

Sorry - I didn't intend to suggest I didn't appreciate the work you and your contributors are doing here, so I apologies if that's how I came across.  My comments - where negative - weren't aimed at your work, but more a comment on the apparent difference between the C++ build environment and what I'm more used to in C# where packages, dependencies, project templates and so on seem to come together rather less opaquely!

Like I mentioned, I'm sure with more experience, I'll find it all more intuitive.  I'll try to work out why moduleinfotool isn't being found/built by cmake.

I'll get myself up to speed and if I can offer anything back to the project I will - my comment on the github pull request was only because I've been involved in projects where contributions lie unactioned and that's sometimes a sign the project is going stale.

Best of luck with the new job, unpacking, etc. and I'll keep following.

Cheers,

Oliver

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online: jkarstedt
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 2

Members: 784

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 850

Posts: 3372

Moderators: W Pirkle: 693