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

Can't compile in Ubuntu 18.04 #95

Open
CRTX opened this issue May 12, 2018 · 7 comments
Open

Can't compile in Ubuntu 18.04 #95

CRTX opened this issue May 12, 2018 · 7 comments

Comments

@CRTX
Copy link

CRTX commented May 12, 2018

Here are the logs, is this repository abandoned?

Scanning dependencies of target airwave-host-32
Scanning dependencies of target airwave-plugin
Scanning dependencies of target airwave-manager_autogen
Scanning dependencies of target airwave-host-64
[  1%] Automatic MOC for target airwave-manager
[  3%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/vsteventkeeper.cpp.o
[  6%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/filesystem.cpp.o
[  6%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/logger.cpp.o
[  8%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/__/common/dataport.cpp.o
[ 10%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/event.cpp.o
[ 11%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/main.cpp.o
[ 13%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/__/common/filesystem.cpp.o
[ 15%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/__/common/event.cpp.o
[ 16%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/dataport.cpp.o
[ 18%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/host.cpp.o
[ 20%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/__/common/vsteventkeeper.cpp.o
[ 22%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/main.cpp.o
[ 23%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/__/common/logger.cpp.o
[ 25%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/main.cpp.o
[ 27%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/dataport.cpp.o
[ 30%] Building CXX object src/host/CMakeFiles/airwave-host-64.dir/host.cpp.o
[ 30%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/plugin.cpp.o
[ 32%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/logger.cpp.o
[ 33%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/filesystem.cpp.o
[ 35%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/vsteventkeeper.cpp.o
[ 37%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/storage.cpp.o
[ 42%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/event.cpp.o
[ 42%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/moduleinfo.cpp.o
[ 42%] Building CXX object src/plugin/CMakeFiles/airwave-plugin.dir/__/common/json.cpp.o
Software/Development/phantom-code/airwave/src/common/logger.cpp: In function ‘bool Airwave::loggerInit(const string&, const string&)’:
Software/Development/phantom-code/airwave/src/common/logger.cpp:31:62: warning: format not a string literal and no format arguments [-Wformat-security]
  snprintf(address.sun_path, UNIX_PATH_MAX, socketPath.c_str());
                                                              ^
Software/Development/phantom-code/airwave/src/common/logger.cpp: In function ‘bool Airwave::loggerInit(const string&, const string&)’:
Software/Development/phantom-code/airwave/src/common/logger.cpp:31:62: warning: format not a string literal and no format arguments [-Wformat-security]
  snprintf(address.sun_path, UNIX_PATH_MAX, socketPath.c_str());
                                                              ^
Software/Development/phantom-code/airwave/src/common/logger.cpp: In function ‘bool Airwave::loggerInit(const string&, const string&)’:
Software/Development/phantom-code/airwave/src/common/logger.cpp:31:62: warning: format not a string literal and no format arguments [-Wformat-security]
  snprintf(address.sun_path, UNIX_PATH_MAX, socketPath.c_str());
                                                              ^
[ 44%] Linking CXX executable airwave-host-32
ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.Cgt50a.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine/winebuild failed
src/host/CMakeFiles/airwave-host-32.dir/build.make:250: recipe for target 'src/host/airwave-host-32' failed
make[2]: *** [src/host/airwave-host-32] Error 2
CMakeFiles/Makefile2:142: recipe for target 'src/host/CMakeFiles/airwave-host-32.dir/all' failed
make[1]: *** [src/host/CMakeFiles/airwave-host-32.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Software/Development/phantom-code/airwave/src/common/json.cpp: In member function ‘bool Json::OurReader::readToken(Json::OurReader::Token&)’:
Software/Development/phantom-code/airwave/src/common/json.cpp:1407:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
     if (features_.allowSingleQuotes_) {
     ^~
Software/Development/phantom-code/airwave/src/common/json.cpp:1412:3: note: here
   case '/':
   ^~~~
[ 45%] Linking CXX executable airwave-host-64
[ 45%] Built target airwave-host-64
[ 45%] Built target airwave-manager_autogen
[ 47%] Linking CXX shared library airwave-plugin.so
[ 47%] Built target airwave-plugin
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2


@Sir-hennihau
Copy link

Have you tried installing from the binary?

https://github.com/phantom-code/airwave/releases

@rodlie
Copy link

rodlie commented Jun 5, 2018

Script: https://gist.github.com/rodlie/12aee3ba839b7a9c85fdd414b44c1216
Video: https://youtu.be/p93Fj3I3t9I

Enjoy :)

@rodlie
Copy link

rodlie commented Jun 5, 2018

https://github.com/rodlie/airwave

Forked and fixed build issues. The build will automatically download and use the VST SDK from Steinberg, builds just fine on Ubuntu 18.04. Note that my version currently don't build 32bit and 64bit support, only the arch your on, most plugins are 64bit anyway.

If the owner wants pull request I can do that, if not I will just continue maintaining my fork. Note! I will only maintain, the plugins I need work, so I'm happy :)

@kode54
Copy link

kode54 commented Aug 25, 2018

I used your script to install dependencies, but I use winehq-staging instead of wine-development. Also, I need both 32 and 64 bit, since I have several 32 bit plugins, including several variants of the Yamaha S-YXG50 synthesizer.

I was only missing some development packages to bring in the /usr/include/wine headers.

@seanjean3000
Copy link

Thanks for this--the install script is not working though. I'm getting a 404 for the SDK from Steinberg.

@CRTX
Copy link
Author

CRTX commented Dec 16, 2018 via email

@bengan
Copy link

bengan commented Jan 4, 2019

the Steinberg SDK is on GitHub now

Not version 2 only version 3, right?
https://github.com/steinbergmedia

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

6 participants