I managed to compile SooperLooper under Ubuntu Studio, and I found a couple things that needed changing which I documented on the SooperLooper forum here:
viewtopic.php?f=20&t=5006&p=7287#p7287
I still had to make the change to build rubberband, while fftw3 didn't have any problems compiling this time.
Now, here's what happens when I run sooperlooper (just the engine part) on my Pi:
Code: Select all
pi@raspberrypi:~ $ sooperlooper
SooperLooper 1.7.3
Copyright 2007 Jesse Chappell
OSC server URI (network) is: osc.udp://raspberrypi:9952/
Here's what I get when trying to run slgui:
Code: Select all
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $ which slgui
/usr/local/bin/slgui
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $ ls -l $(which slgui)
-rwxr-xr-x 1 root root 15424652 Nov 10 06:19 /usr/local/bin/slgui
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $ slgui
slgui: our URL is osc.udp://raspberrypi:17056/
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 1046
Current serial number in output stream: 1048
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $
https://askubuntu.com/questions/833795/ ... r-operatio
If I run the installed version of SooperLooper that came from the Raspbian repository, I get this (and it works):
I tried running gdb, and the same error pops up when I set a breakpoint at "main", run to main, and then use the "next" command:
Code: Select all
Breakpoint 1, main (argc=1, argv=0x7efff384) at gui_app.cpp:65
65 IMPLEMENT_APP(SooperLooperGui::GuiApp)
(gdb) n
slgui: our URL is osc.udp://raspberrypi:17528/
[New Thread 0x732722f0 (LWP 27571)]
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 1046
Current serial number in output stream: 1048
[Thread 0x73758010 (LWP 27568) exited]
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
[Inferior 1 (process 27568) exited with code 01]
(gdb)
Same thing happens if I try to use "s" instead of "n" so I trace into functions instead of executing until they return. I am not very experienced with gdb so maybe I'm doing something stupid.
Code: Select all
Breakpoint 1, main (argc=1, argv=0x7efff384) at gui_app.cpp:65
65 IMPLEMENT_APP(SooperLooperGui::GuiApp)
(gdb) s
slgui: our URL is osc.udp://raspberrypi:17725/
[New Thread 0x732722f0 (LWP 27579)]
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 12 (X_ConfigureWindow)
Value in failed request: 0x0
Serial number of failed request: 1046
Current serial number in output stream: 1048
[Thread 0x73758010 (LWP 27576) exited]
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
warning: Error removing breakpoint 0
[Inferior 1 (process 27576) exited with code 01]
(gdb)
Code: Select all
./configure --enable-gtk2
Code: Select all
pi@raspberrypi:~ $ ps ax | grep gtk
868 ? Sl 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
27583 pts/5 S+ 0:00 grep --color=auto gtk
pi@raspberrypi:~ $
Code: Select all
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.6.0... yes (version 2.24.32)
checking if GTK+ is version >= 2.18... yes
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking for Xxf86vm... yes
checking for X11/extensions/xf86vmode.h... yes
checking for SM... yes
checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for GL... yes
checking for GLU... yes
...
Configured wxWidgets 3.0.4 for `armv7l-unknown-linux-gnueabihf'
Which GUI toolkit should wxWidgets use? GTK+ 2 with support for GTK+ printing libnotify
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 no
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
STL no
jpeg sys
png sys
regex builtin
tiff sys
zlib sys
expat sys
libmspack no
sdl no
pi@raspberrypi:~/Downloads/wxWidgets-3.0.4 $
Code: Select all
pi@raspberrypi:~/Downloads/sooperlooper/src $ cd gui
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $ ./slgui &
[2] 22792
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $ 17:42:35: Error: Unable to initialize GTK+, is DISPLAY set properly?
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $
[2]+ Exit 255 ./slgui
pi@raspberrypi:~/Downloads/sooperlooper/src/gui $