Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VST SDK path #92

Open
Taikakim opened this issue Mar 16, 2018 · 25 comments
Open

VST SDK path #92

Taikakim opened this issue Mar 16, 2018 · 25 comments

Comments

@Taikakim
Copy link

Taikakim commented Mar 16, 2018

OK, really basic problem, the compiler commands don't find the SDK.
I installed it in ~/VST3/SDK (where resides VST_SDK folder that came from Steinberg's zip)

When I try: cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/opt/airwave -DVSTSDK_PATH=${HOME}/VST3/SDK ..

I get the "VST SDK is not found" error.

I tried moving the contents of VST_SDK one level down to ~/VST3/SDK, but that did not help.

Also in the installation instructions there is line to install wine1.7-dev, but I have wine-rt from the KX Studio repositories installed. I installed wine-rt-dev instead.

@Taikakim
Copy link
Author

I found the mistake: Steinberg has changed the directory structure.

You need to copy the two directories under the VST2 sub-directory to the directory where the VSTSDK_PATH is set. So one level down, basically.

@Taikakim
Copy link
Author

But installation went somewhere strange, I got:
Install the project...
-- Install configuration: "Release"
-- Installing: /downloads/airwave-master/bin/airwave-plugin.so
-- Installing: /downloads/airwave-master/bin/airwave-host-64.exe
-- Installing: /downloads/airwave-master/bin/airwave-host-64.exe.so
-- Installing: /downloads/airwave-master/bin/airwave-host-32.exe
-- Installing: /downloads/airwave-master/bin/airwave-host-32.exe.so
-- Installing: /downloads/airwave-master/bin/airwave-manager
-- Installing: /downloads/airwave-master/share/icons/hicolor/48x48/apps/airwave-manager.png
-- Installing: /downloads/airwave-master/share/applications/airwave-manager.desktop

That is the root directory of my system where those directories where created. Now I'm not sure where to copy all that. To /usr/bin? How about the .so plugins?

@ProdByJuliot
Copy link

ProdByJuliot commented Mar 17, 2018

So, for creating the VST/SDK directory in the first place, can you just manually make a folder, or is there a terminal process needed? I'm kind of a noob when it comes to manually installing programs on linux.

So, could I just make a new folder in home and name it VST/SDK? Then, extract the Steinberg tools, and take them out of the main folder?

Ok, I got it... The folder needed to be named VST3 SDK in your home folder... If I could just read what the error tells me geez.

@Taikakim
Copy link
Author

Taikakim commented Mar 26, 2018

Hmm I can't compile. When I make, I get until some point when I get this error:
ld: Relocatable linking with relocations from format elf64-x86-64 (/opt/wine-devel/lib64/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.WqklSw.o) is not supported

I have Wine-dev installed from WineHQ

@gordol
Copy link

gordol commented Nov 28, 2018

https://web.archive.org/web/*/https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip

@tosho
Copy link

tosho commented Dec 11, 2018

do I need the SDK if I've installed airwave with .deb ?

@seanjean3000
Copy link

I've tried dozens of different paths and also moving folders around in the SDK from Steinberg, but no matter what I do I keep getting an error message that the SDK cannot be found or that the specified directory doesn't contain CMakeLists.txt (which I plainly see is there). Can any kind soul help me get this sorted?

@gordol
Copy link

gordol commented Dec 27, 2018

the SDK only is needed to build airwave.

using the archive.org link i sent above, you can follow the original instructions from the repo README.

if you don't put the SDK in the path specified, then you need to change the path to point to the SDK.

you MUST download the old SDK that I linked above, or you cannot build, as steinberg moved files around. the new SDK is not compatible with the old one.

@seanjean3000
Copy link

Hey thanks. Still no dice; downloaded the archived version of the SDK and tried putting it in all sorts of different places / changing the path, but nothing. Still getting an error that the SDK can't be found. Probably just making some basic mistake but I give up.

@vixl152
Copy link

vixl152 commented Dec 30, 2018

Hello together,

I had the same error when installing via cmake:

When I try: cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/opt/airwave -DVSTSDK_PATH=${HOME}/VST3_SDK ..

I get the "VST SDK is not found" error.

What worked for me was using the SDK from gordols archive.

https://web.archive.org/web/*/https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip

Also I had to point to the VST2_SDK directory! Like this:

cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/home/me/opt/airwave -DVSTSDK_PATH=/home/me/Downloads/VST_SDK/VST2_SDK ..

But know I'm getting the an error doing the make:

[ 20%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/dataport.cpp.o
In file included from /usr/include/c++/8/ext/string_conversions.h:41,
from /usr/include/c++/8/bits/basic_string.h:6400,
from /usr/include/c++/8/string:52,
from /usr/include/c++/8/stdexcept:39,
from /usr/include/c++/8/array:39,
from /usr/include/c++/8/tuple:39,
from /usr/include/c++/8/bits/unique_ptr.h:37,
from /usr/include/c++/8/memory:80,
from /home/viktor/Downloads/airwave/src/common/types.h:6,
from /home/viktor/Downloads/airwave/src/common/dataport.h:5,
from /home/viktor/Downloads/airwave/src/common/dataport.cpp:1:

/usr/include/c++/8/cstdlib:75:15: Fatal Error stdlib.h: File or directory not found
#include_next <stdlib.h>

Someone any idea, how to solve this one?

I'm sitting on a Fedora 29 machine.

@gordol
Copy link

gordol commented Jan 2, 2019

@vixl152 have you installed the libc-dev packages?

@vixl152
Copy link

vixl152 commented Jan 2, 2019

Yes I have. Did the yum install like in the install instructions:

sudo yum -y install gcc-c++ git cmake wine wine-devel wine-devel.i686 file file-devel libX11-devel libX11-devel.i686 qt5-devel glibc-devel.i686 glibc-devel

Here on my machine:

[vixl152@fedora build]$ rpm -qa|grep glibc-devel

glibc-devel-2.28-26.fc29.x86_64
glibc-devel-2.28-26.fc29.i686

@mihahauke
Copy link

@seanjean3000
I don't think that you are doing anything wrong. Cmake requires aeffect.h and aeffectx.h which are not in the new SDK cause fuck legacy code and VST 2. It looks like some parts of code need to be rewriten cause 5 minute code substitutions I made weren't enough and caused furter errors.

I might be wrong, I'm not much into C/C++. Perhaps it's just about imports but perhaps not . . . sad face, sad face, wink wink

@seanjean3000
Copy link

seanjean3000 commented Feb 2, 2019 via email

@gordol
Copy link

gordol commented Feb 7, 2019

y'all, using the archive.org link to grab the old SDK works fine.

screenshot

for vst3, native linux is supported, almost globally across every VST that I've tried.

@snate28
Copy link

snate28 commented Jun 11, 2019

Hello together,

I had the same error when installing via cmake:

When I try: cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/opt/airwave -DVSTSDK_PATH=${HOME}/VST3_SDK ..
I get the "VST SDK is not found" error.

What worked for me was using the SDK from gordols archive.

https://web.archive.org/web/*/https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip

Also I had to point to the VST2_SDK directory! Like this:

cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX=/home/me/opt/airwave -DVSTSDK_PATH=/home/me/Downloads/VST_SDK/VST2_SDK ..

But know I'm getting the an error doing the make:

[ 20%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/dataport.cpp.o
In file included from /usr/include/c++/8/ext/string_conversions.h:41,
from /usr/include/c++/8/bits/basic_string.h:6400,
from /usr/include/c++/8/string:52,
from /usr/include/c++/8/stdexcept:39,
from /usr/include/c++/8/array:39,
from /usr/include/c++/8/tuple:39,
from /usr/include/c++/8/bits/unique_ptr.h:37,
from /usr/include/c++/8/memory:80,
from /home/viktor/Downloads/airwave/src/common/types.h:6,
from /home/viktor/Downloads/airwave/src/common/dataport.h:5,
from /home/viktor/Downloads/airwave/src/common/dataport.cpp:1:

/usr/include/c++/8/cstdlib:75:15: Fatal Error stdlib.h: File or directory not found #include_next <stdlib.h>

Someone any idea, how to solve this one?

I'm sitting on a Fedora 29 machine.

If you did solve the problem, can you please share?

@gordol
Copy link

gordol commented Jun 12, 2019

you need the libc dev packages. some distros package them in a wrapper called build-essential, but it may be called libc-dev or libc6-dev.

@Frenkfil
Copy link

Frenkfil commented Nov 21, 2019

For new SDK package change in CMakeLists.txt to this:

 find_path(VSTSDK_INCLUDE_DIR NAMES audioeffect.h audioeffectx.h
        PATHS "${VSTSDK_PATH}/VST2_SDK/public.sdk/source/vst2.x")

if(NOT VSTSDK_INCLUDE_DIR)
        message(FATAL_ERROR "VST SDK is not found. You should set the VSTSDK_PATH variable "
                        "to the directory, where your copy of the VST SDK is located.")
endif()
``` EDIT: ....  but it fails then when make compile. Too many errors :( 

@QkiZMR
Copy link

QkiZMR commented Apr 29, 2020

Compiling with the newest version of SDK is unsuccessful. Can someone share a link to last working version of SDK?

@ndri
Copy link

ndri commented May 14, 2020

The SDK from https://web.archive.org/web/20180201000000*/https://download.steinberg.net/sdk_downloads/vstsdk369_01_03_2018_build_132.zip still works. Just get the one from 2018, not 2020.

@QkiZMR
Copy link

QkiZMR commented May 18, 2020

Sometimes works but transfer is interrupted by server. After 6 or 7 trials I downloaded file.

@ljleb
Copy link

ljleb commented Aug 31, 2020

Right now, the link seems dead. Is there any other way to get a 2018 release? Or should we update the code to use the new VST SDK 3?

@ndri
Copy link

ndri commented Aug 31, 2020

Right now, the link seems dead. Is there any other way to get a 2018 release? Or should we update the code to use the new VST SDK 3?

I still have the zip and have uploaded it to Drive for you: https://drive.google.com/file/d/15sOCzi7TB63YRdYTOK7rGv2KPQ4wXT9C/view?usp=sharing

@alexxmed
Copy link

alexxmed commented Sep 1, 2020

I have tried all of these suggestions, and frankly, things are a mess now. I wonder if anyone can provide a simple 1, 2, 3 type guide that actually works. For example, by "Go to the airwave source directory and execute the following commands:" do you mean:
cd airwave/src
or
cd airwave
Should airwave be extracted from within VST_SDK or side by side with it so that both VST_SDK and airwave are under the home directory (~/VST_SDK and ~/airwave)?
Why does it not seem to matter where I put things, I still get the error that "VST SDK is not found" .
So close and yet, no-where.

@NARFNra
Copy link

NARFNra commented Dec 16, 2020

I ran into this error while trying to compile. I fixed it by downloading the legacy version of VST_SDK from ndri's reply.

After that, I checked the cmake file for airwave. It's looking for this specific directory.

find_path(VSTSDK_INCLUDE_DIR NAMES aeffect.h aeffectx.h PATHS "${VSTSDK_PATH}/pluginterfaces/vst2.x/")

I searched and pluginterfaces/vst2.x is directly under VST2_SDK in the unpacked folder, so the location you need to point to for airwave to build is...

-DVSTSDK_PATH=[Wherever-You-Extracted-It-To]/VST_SDK/VST2_SDK

After I did this, simply running the cmake line pointing at the location of airwave's cmake worked.

Unfortunately, I later ran into a separate error involving my wine version, but I believe that it's unrelated to this problem.

SFrijters added a commit to SFrijters/nixpkgs that referenced this issue Feb 3, 2023
The unfree source is old and hard to find; small version bump so the required
zip file is available via psycha0s/airwave#92 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests