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

Surge++ LV2 Linux Build Fails #1287

Closed
tank-trax opened this issue Nov 14, 2019 · 2 comments
Closed

Surge++ LV2 Linux Build Fails #1287

tank-trax opened this issue Nov 14, 2019 · 2 comments

Comments

@tank-trax
Copy link
Collaborator

tank-trax commented Nov 14, 2019

Linux build
VST2 and VST3 succeed
fails at the LV2

Creating target/lv2/Release/Surge.lv2
Linking surge-lv2
Running postbuild commands
python scripts/linux/generate-lv2-ttl.py target/lv2/Release/Surge.lv2/Surge++.so
Surge Error
Unable to load windows.wt
Unable to load '/usr/share/SurgePlusPlus//windows.wt'. This file is required for surge to operate properly. This occurs when Surge is mis-installed and shared resources are not in the os-specific shared directory, which on your OS is a directory called 'Surge' in /usr/share or ~/.local/share. Please install shared assets correctly and restart.
free(): invalid pointer
surge-lv2.make:207: recipe for target 'target/lv2/Release/Surge.lv2/Surge++.so' failed
make[1]: *** [target/lv2/Release/Surge.lv2/Surge++.so] Aborted
make[1]: *** Deleting file 'target/lv2/Release/Surge.lv2/Surge++.so'
Makefile:55: recipe for target 'surge-lv2' failed
make: *** [surge-lv2] Error 2

(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
+ build_suc=2
+ set +o pipefail
+ [[ 2 = 0 ]]
+ echo

+ echo '**' Build of lv2 'failed**'
** Build of lv2 failed**
+ grep -i error build_logs/build_lv2.log
SurgeError.cpp
tinyxmlerror.cpp
Surge Error
make: *** [surge-lv2] Error 2
(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:70:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(zenity:17100): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
+ echo

+ echo '**' Exiting failed lv2 'build**'
** Exiting failed lv2 build**
+ echo Complete information is in build_logs/build_lv2.log
Complete information is in build_logs/build_lv2.log
+ exit 2
@baconpaul
Copy link
Collaborator

That's the same leak I kludged around in the VST2. For now can you just do S++ in VST2 land and we can clean up the LV2 when we get closer to S++ being ... well ... something?

@baconpaul baconpaul added this to the Surge++ alpha 1 milestone Nov 14, 2019
@baconpaul baconpaul changed the title Surge++ Surge++ LV2 Linux Build Fails Nov 15, 2019
@baconpaul
Copy link
Collaborator

I've got a fix for this coming.

baconpaul added a commit to baconpaul/surge that referenced this issue Nov 15, 2019
Turn on Azure PR for s++-master branch and in doing so find
a failure-to-return-value in CScalableBitmap and also
an error in bootstrapping the LV2 implementation which as
a result Closes surge-synthesizer#1287.
baconpaul added a commit that referenced this issue Nov 15, 2019
Turn on Azure PR for s++-master branch and in doing so find
a failure-to-return-value in CScalableBitmap and also
an error in bootstrapping the LV2 implementation which as
a result Closes #1287.
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

2 participants