Code: Select all
export PATH=$PATH:<dir_which_contains_wineg++_file>Code: Select all
export PATH=$PATH:<dir_which_contains_wineg++_file>Code: Select all
:~/airwave/build$ make
Linking CXX executable airwave-host-32
[ 12%] Built target airwave-host-32
Linking CXX executable airwave-host-64
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/i386-linux-gnu/wine/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (airwave-host-64.gJx4xL.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
host/CMakeFiles/airwave-host-64.dir/build.make:235: recipe for target 'host/airwave-host-64' failed
make[2]: *** [host/airwave-host-64] Error 2
CMakeFiles/Makefile2:112: recipe for target 'host/CMakeFiles/airwave-host-64.dir/all' failed
make[1]: *** [host/CMakeFiles/airwave-host-64.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
git clone -b develop https://github.com/phantom-code/airwave.git
cd airwave
unzip ~/vstsdk360_22_11_2013_build_100.zip -d .
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/airwave -DCMAKE_BUILD_TYPE="Release" -DVSTSDK_PATH="../VST3 SDK" -DBUILD_64_BIT=OFF
make
sudo make installCode: Select all (#)
zeljko@ubuntu-desktop:~/airwave/build$ make
Scanning dependencies of target airwave-host-32
[ 1%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/dataport.cpp.o
[ 3%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/eventsignal.cpp.o
[ 5%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/filesystem.cpp.o
[ 7%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/logger.cpp.o
[ 8%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/vsteventkeeper.cpp.o
[ 10%] Building CXX object host/CMakeFiles/airwave-host-32.dir/host.cpp.o
[ 12%] Building CXX object host/CMakeFiles/airwave-host-32.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-32
[ 12%] Built target airwave-host-32
Scanning dependencies of target airwave-host-64
[ 14%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/dataport.cpp.o
[ 15%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/eventsignal.cpp.o
[ 17%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/filesystem.cpp.o
[ 19%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/logger.cpp.o
[ 21%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/vsteventkeeper.cpp.o
[ 22%] Building CXX object host/CMakeFiles/airwave-host-64.dir/host.cpp.o
[ 24%] Building CXX object host/CMakeFiles/airwave-host-64.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-64
[ 24%] Built target airwave-host-64
Scanning dependencies of target airwave-plugin-32
[ 26%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/dataport.cpp.o
[ 28%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/eventsignal.cpp.o
[ 29%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/filesystem.cpp.o
[ 31%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/linkmanager.cpp.o
[ 33%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/logger.cpp.o
[ 35%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/vsteventkeeper.cpp.o
[ 36%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/masterunit.cpp.o
/home/zeljko/airwave/plugin/masterunit.cpp: In member function ‘intptr_t Airwave::MasterUnit::dispatch(Airwave::DataPort*, int32_t, int32_t, intptr_t, void*, float)’:
/home/zeljko/airwave/plugin/masterunit.cpp:331:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
rect_ = *reinterpret_cast<ERect*>(frame->data);
^
/home/zeljko/airwave/plugin/masterunit.cpp:331:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
rect_ = *reinterpret_cast<ERect*>(frame->data);
^
/home/zeljko/airwave/plugin/masterunit.cpp:364:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
rect_ = *reinterpret_cast<ERect*>(frame->data);
^
/home/zeljko/airwave/plugin/masterunit.cpp:364:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
rect_ = *reinterpret_cast<ERect*>(frame->data);
^
[ 38%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/plugin.cpp.o
Linking CXX shared library airwave-plugin-32.so
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
make[2]: *** [plugin/airwave-plugin-32.so] Error 1
make[1]: *** [plugin/CMakeFiles/airwave-plugin-32.dir/all] Error 2
make: *** [all] Error 2
Code: Select all
@localhost build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/airwave -DCMAKE_BUILD_TYPE="Release"
-- VSTSDK_PATH is set to /home/devon/airwave/vstsdk2.4
-- VST SDK headers are found in /home/devon/airwave/vstsdk2.4/pluginterfaces/vst2.x
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindThreads.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
host/CMakeLists.txt:35 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/devon/airwave/build/CMakeFiles/CMakeOutput.log".
See also "/home/devon/airwave/build/CMakeFiles/CMakeError.log".
I don't take donations, don't worry about this. I'm doing this project for fun and because I need it by myself. I want to use VSTs in Linux and I will try to reach my goal. It's not difficult for me to help you. In turn, you can find my errors and this can make the project better. Feedback is always welcome.On another note, do you take donations on this project phant0m? I feel I owe you after all the time you've spent on me here.
Code: Select all
[ 16%] Building CXX object host/CMakeFiles/airwave-host-32.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-32
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.Sku9kV.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
make[2]: *** [host/airwave-host-32] Error 2
make[1]: *** [host/CMakeFiles/airwave-host-32.dir/all] Error 2
make: *** [all] Error 2
Code: Select all
makeCode: Select all
make VERBOSE=1As I anticipated, the 32-bit code is trying to link with a 64-bit library. I will try to fix it, thanks for the detailed information.Devogenes wrote:Results of make VERBOSE:
http://pastebin.com/t14f8XiL
Code: Select all
rpm -ql wine | grep libwinecrt0.aCode: Select all
$ pacman -Ql wine | grep libwinecrt0.a
wine /usr/lib/wine/libwinecrt0.a
wine /usr/lib32/wine/libwinecrt0.a
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement
© KVR Audio, Inc. 2000-2026