Stazed / non-mixer-xt

Reboot of Non Mixer with eXTended LV2 support, CLAP, VST(2) and VST3 support.
GNU General Public License v2.0
27 stars 6 forks source link

Build error on aarch64 / Fedora 39 #24

Closed ycollet closed 9 months ago

ycollet commented 9 months ago

I am building non-mixer-xt 1.3.0 for fedora 38 / 39 and I met an error:

[ 65%] Building CXX object mixer/CMakeFiles/non-mixer-xt.dir/src/vst3/VST3PluginHost.C.o
cd /builddir/build/BUILD/non-mixer-xt/redhat-linux-build/mixer && /usr/bin/g++ -DRELEASE -I/builddir/build/BUILD/non-mixer-xt/mixer/src/vst3/vst3sdk -I/usr/include/ntk -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/raptor2 -I/usr/include/lilv-0 -I/usr/include/lv2 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/suil-0 -I/usr/include/zix-0 -I/usr/include/pango-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -Wno-unused-parameter -Wno-unused-result -O3 -fomit-frame-pointer -ffast-math -pipe -march=native -mtune=native -std=gnu++17   -D'VERSION="1.3.0"' -D'WEBSITE="https://github.com/Stazed/non-mixer-xt"' -D'PACKAGE="non-mixer-xt"' -D'PIXMAP_PATH="/usr/share/pixmaps"' -D'DOCUMENT_PATH="/usr/share/doc"' -D'LADSPA_SUPPORT=1' -D'LV2_SUPPORT=1' -D'CLAP_SUPPORT=1' -D'VST2_SUPPORT=1' -D'VST3_SUPPORT=1' -D'HAVE_JACK_METADATA=1' -D'HAVE_JACK_PORT_GET_LATENCY_RANGE=1' -D'HAS_BUILTIN_ASSUME_ALIGNED=1' -D'HAVE_MLOCK=1' -D'NDEBUG=1' -MD -MT mixer/CMakeFiles/non-mixer-xt.dir/src/vst3/VST3PluginHost.C.o -MF CMakeFiles/non-mixer-xt.dir/src/vst3/VST3PluginHost.C.o.d -o CMakeFiles/non-mixer-xt.dir/src/vst3/VST3PluginHost.C.o -c /builddir/build/BUILD/non-mixer-xt/mixer/src/vst3/VST3PluginHost.C
/builddir/build/BUILD/non-mixer-xt/mixer/src/vst3/Vst3_Discovery.C: In member function 'std::string vst3_discovery::vst3_discovery_scan::get_vst3_object_file(std::string)':
/builddir/build/BUILD/non-mixer-xt/mixer/src/vst3/Vst3_Discovery.C:50:24: error: expected ';' before 'V3_ARCHITECTURE'
   50 | #define V3_CONTENT_DIR V3_ARCHITECTURE "-" V3_PLATFORM
      |                        ^~~~~~~~~~~~~~~
/builddir/build/BUILD/non-mixer-xt/mixer/src/vst3/Vst3_Discovery.C:697:51: note: in expansion of macro 'V3_CONTENT_DIR'
  697 |     binaryfilename += "Contents" CARLA_OS_SEP_STR V3_CONTENT_DIR CARLA_OS_SEP_STR;
Stazed commented 9 months ago

Just pushed a fix in the wip branch which will hopefully build. If it builds, can you check if the VST3s are being discovered properly for aarch64 please...

Thanks for the report.

ycollet commented 9 months ago

At least , the build succeeded :) I have no solution to test the VST3 discoveries on aarch64 yet. Let's close this ticket and if somebody reports me a problem on non-mixer-xt related to that, I will open a new ticket. Thanks a lot for your work !