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
include could not find requested file
Avatar
fabhenr
Member
Members
April 26, 2021 - 4:07 pm
Member Since: April 26, 2021
Forum Posts: 3
sp_UserOfflineSmall Offline

Hi,

I've followed the video/book instructions and I'm stuck in cMake trying to build my first project (windows 10). That's what I'm getting:

CMake error at cmake/vst_cmake/CMakeLists.txt : include could not find requested file:

 

SMTG_Global

 

And it happens to every reference to SMTG files.

Could you help me?

Thanks

Avatar
W Pirkle
Admin
April 26, 2021 - 5:59 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

Which version of the VST3 SDK are you using?

Steinberg just updated it and changed some stuff as usual, so it broke some of my CMake modules. 

You should use VST3 SDK 3.7.1 which is the currently supported version (see the Download page as well). 

I am not able to legally post the SDK but you can usually find one out there on the internet. So, please first make sure you have the correct VST3 SDK. Steinberg used to keep a legacy folder with old SDKs but they seem to change things around often so I am not sure if they still have that repository. 

I will not have time to revise the ASPiK SDK for the new VST3 SDK until sometime after April 30 (this is because the semester is ending at the University of Miami and we have exams, etc...). However this is on my current TODO list because they broke some of my existing code during the revision process. 

Will 

Avatar
fabhenr
Member
Members
April 26, 2021 - 6:58 pm
Member Since: April 26, 2021
Forum Posts: 3
sp_UserOfflineSmall Offline

Thanks, Will !

I'm using VST3 SDK 3.7.1 . In fact I just found a solution. The problem is with CMake finding the cmake/modules folder. I moved all the stuff inside the VST3_SDK to one level up - VST_SDK and it worked. Ok, that's not the most elegant solution, and it could be a problem for another system that tries to use the SDK,  but it worked. Maybe if you change the cmakelist a little it will run ok.

 

I've found another problema when building the "do nothing" plugin: it is in plugingui.h - const PlatformType& platformType = kDefaultNative, the error is "kdefaultNative: undeclared identifier".

But ok, I'm offtopic now. Will work more and try to find what the problem is.

 

Thanks, man!!

Avatar
W Pirkle
Admin
April 27, 2021 - 2:22 pm
Member Since: January 29, 2017
Forum Posts: 573
sp_UserOfflineSmall Offline

I think you are probably one directory layer off because of the way the projects are packaged on this site. 

If you download any of the projects, the project folder will be inside of an outer containing folder. For the RackAFX projects, the outer folder is RAFX7 and for ASPiK, it is called ASPiK. If this is the case, you need to go into that outer folder and move the "real" project folder up one directory hierarchy. Then, you can discard the RAFX7 or ASPiK folder.

Will 

Avatar
fabhenr
Member
Members
April 27, 2021 - 3:46 pm
Member Since: April 26, 2021
Forum Posts: 3
sp_UserOfflineSmall Offline

Actually I think the problem is in CMake's  VST SDK Location: ${SDK_ROOT}  - It expects the SDK_ROOT to be VST_SDK but after install, everything is in a subfolder named VST3_SDK instead. It must be a case of changing something in the CMake scripts , but copying all the stuff inside VST3_SDK to VST_SDK solved the problem.

Avatar
Tim Campbell
Member
Members
April 27, 2021 - 7:33 pm
Member Since: March 16, 2021
Forum Posts: 7
sp_UserOfflineSmall Offline

Hi fabhenr,

Have you edited the CMakeLists.txt file? Are you doing a universal build?  If your projects are in ALL_SDK/myprojects, you need to make sure set(UNIVERSAL_SDK_BUILD TRUE) even if you are only building the plug-in for VST.  You would set set(AAX_SDK_BUILD FALSE), set(AU_SDK_BUILD FALSE), and set(VST_SDK_BUILD TRUE).  If you are not building a universal project then you would set(UNIVERSAL_SDK_BUILD FALSE) as well as set(AAX_SDK_BUILD FALSE), set(AU_SDK_BUILD FALSE), and set(VST_SDK_BUILD TRUE).  In the latter case, I believe the myprojects folder would reside in the VST_SDK folder.  Just a thought.

 

Tim C

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 51

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: 697

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 41

Topics: 757

Posts: 2894

Newest Members:

Mistahbrock, Jas, Rowan, sojourn, fabhenr, rg1, Niklas, Wutru, Tim Campbell, Danny Jonel

Moderators: W Pirkle: 573

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