airwave icon indicating copy to clipboard operation
airwave copied to clipboard

Can't compile in Ubuntu 18.04

Open CRTX opened this issue 6 years ago • 7 comments

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


CRTX avatar May 12 '18 08:05 CRTX

Have you tried installing from the binary?

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

Sir-hennihau avatar May 15 '18 20:05 Sir-hennihau

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

Enjoy :)

rodlie avatar Jun 05 '18 08:06 rodlie

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

rodlie avatar Jun 05 '18 11:06 rodlie

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.

kode54 avatar Aug 25 '18 09:08 kode54

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

seanjean3000 avatar Dec 16 '18 20:12 seanjean3000

the Steinberg SDK is on GitHub now

Sent from my Pixel 3 XL

On Sun, Dec 16, 2018, 2:08 PM seanjean3000 <[email protected] wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phantom-code/airwave/issues/95#issuecomment-447671779, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBsPTiqYntROhMO2_QTuqVRFxoin4Gbks5u5qhBgaJpZM4T8U0V .

CRTX avatar Dec 16 '18 20:12 CRTX

the Steinberg SDK is on GitHub now

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

bengan avatar Jan 04 '19 17:01 bengan