Moderators: raboof , MattKingUSA , khz
autostatic
Established Member
Posts: 1994 Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:
Post
by autostatic » Wed Jul 03, 2013 4:17 pm
falkTX wrote: Yes, an internal plugin (Carla has a native/internal API which I use to quickly test and add quick+minor plugins).
The current version is very similar to the DSSI plugin, but mine can show the UI and state is fully stored. Also, we can make use of zyn's 16 MIDI channels.
Later on I'll bring the Zyn FX as separate effect plugins, and 16audio-out too.
Awesome! If ZASFX ever becomes a stable plug-in, that would be quite a great addition to the Linux synth plug-in pool. Yoshimi has 16 audio out btw now.
falkTX wrote: It's a work in progress that I can't say it's truly stable. You know how the DSSI version works...
Still, I've been reporting all issues upstream and it's getting better every day.
I should really get my ass on IRC and talk to Mark
Keep up the great job you're doing Filipe!
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 4:24 pm
Ok I have switched to gcc 4.7.2, but now I'm hitting a completely different error:
Code: Select all
$ gcc --version
gcc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[packager@SL6-64bit Carla-1.0.0]$ make
make -C source/backend
make[1]: Entering directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend'
make -C engine
make[2]: Entering directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend/engine'
g++ CarlaEngine.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngine.cpp.o
g++ CarlaEngineOsc.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineOsc.cpp.o
g++ CarlaEngineThread.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineThread.cpp.o
g++ CarlaEngineNative.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineNative.cpp.o
g++ CarlaEngineBridge.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineBridge.cpp.o
g++ CarlaEngineJack.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineJack.cpp.o
g++ CarlaEngineRtAudio.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o CarlaEngineRtAudio.cpp.o
g++ rtaudio-4.0.12/RtAudio.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o rtaudio-4.0.12/RtAudio.cpp.o
rtaudio-4.0.12/RtAudio.cpp:6464:21: warning: unused parameter ‘device’ [-Wunused-parameter]
rtaudio-4.0.12/RtAudio.cpp:1843:13: warning: ‘void jackSilentError(const char*)’ defined but not used [-Wunused-function]
g++ rtmidi-2.0.1/RtMidi.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -D__UNIX_JACK__ -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtXml -DHAVE_GETTIMEOFDAY -Irtaudio-4.0.12 -Irtaudio-4.0.12/include -Irtmidi-2.0.1 -I/usr/include/alsa -D__LINUX_ALSA__ -D__LINUX_ALSASEQ__ -D_REENTRANT -D__LINUX_PULSE__ -c -o rtmidi-2.0.1/RtMidi.cpp.o
ar rs ../libcarla_engine.a CarlaEngine.cpp.o CarlaEngineOsc.cpp.o CarlaEngineThread.cpp.o CarlaEngineNative.cpp.o CarlaEngineBridge.cpp.o CarlaEngineJack.cpp.o CarlaEngineRtAudio.cpp.o rtaudio-4.0.12/RtAudio.cpp.o rtmidi-2.0.1/RtMidi.cpp.o
ar: creating ../libcarla_engine.a
ar rs ../libcarla_engine_plugin.a CarlaEngine.cpp.o CarlaEngineOsc.cpp.o CarlaEngineThread.cpp.o CarlaEngineNative.cpp.o
ar: creating ../libcarla_engine_plugin.a
make[2]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend/engine'
make -C plugin
make[2]: Entering directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend/plugin'
g++ CarlaPlugin.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c -o CarlaPlugin.cpp.o
/usr/lib64/qt4/bin/moc CarlaPluginGui.hpp -DMOC_PARSING -o moc_CarlaPluginGui.cpp
g++ CarlaPluginGui.cpp -Wall -Wextra -fPIC -pipe -DNDEBUG -O2 -ffast-math -mtune=generic -msse -mfpmath=sse -fvisibility=hidden -std=gnu++0x -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE -DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DVESTIGE_HEADER -DWANT_RTAUDIO -DWANT_FLUIDSYNTH -DWANT_OPENGL -DWANT_AUDIOFILE -DHAVE_FFMPEG -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -c -o CarlaPluginGui.cpp.o
CarlaPluginGui.cpp: In constructor ‘CarlaBackend::CarlaPluginGui::CarlaPluginGui(CarlaBackend::CarlaEngine*, CarlaBackend::CarlaPluginGui::Callback*, const CarlaBackend::CarlaPluginGui::Options&, const QByteArray&)’:
CarlaPluginGui.cpp:59:19: error: inconsistent user-defined literal suffixes ‘__FILE__’ and ‘QTOSTRING’ in string literal
CarlaPluginGui.cpp:59:19: error: unable to find string literal operator ‘operator"" __FILE__’
CarlaPluginGui.cpp:59:55: error: inconsistent user-defined literal suffixes ‘__FILE__’ and ‘QTOSTRING’ in string literal
CarlaPluginGui.cpp:59:55: error: unable to find string literal operator ‘operator"" __FILE__’
CarlaPluginGui.cpp: At global scope:
CarlaPluginGui.cpp:33:1: warning: unused parameter ‘engine’ [-Wunused-parameter]
make[2]: *** [CarlaPluginGui.cpp.o] Error 1
make[2]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend/plugin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend'
make: *** [backend] Error 2
autostatic
Established Member
Posts: 1994 Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:
Post
by autostatic » Wed Jul 03, 2013 4:40 pm
That's why I said I should get my ass on IRC and talk with Mark. I'd really like to converge the codebases and phase out Yoshimi in favor of ZASFX.
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 6:36 pm
falkTX wrote:
This seems to be a generic Qt4 error,
https://bugreports.qt-project.org/browse/QTBUG-22847
Easily fixable. Locate your "qobjectdefs.h" file, should be "/usr/include/Qt/qobjectdefs.h" or "/usr/include/qt4/Qt/qobjectdefs.h", and modify:
Code: Select all
# define QLOCATION "\0"__FILE__":"QTOSTRING(__LINE__)
to:
Code: Select all
# define QLOCATION "\0" __FILE__ ":" QTOSTRING(__LINE__)
Thanks very much, that fixed it although now I have to think of how I can package Carla, since I can't just patch the Qt package, as that's a core package maintaned by Centos/Redhat...
anyway that's my problem not yours.
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 6:42 pm
Actually I have one more problem, right at the end:
Code: Select all
make[4]: Entering directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/theme'
../../resources/resources-theme.qrc -o resources.cpp
make[4]: execvp: ../../resources/resources-theme.qrc: Permission denied
make[4]: *** [resources.cpp] Error 127
make[4]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/theme'
make[3]: *** [theme] Error 2
make[3]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/libs'
make[2]: *** [../../libs/theme.a] Error 2
make[2]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend/standalone'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/backend'
make: *** [backend] Error 2
I'm puzzled by the "Permission denied", I'm running 'make' as normal user but all files in the Carla-1.0.0 tree belong to this user.
Do you maybe have an idea what could be the cause for this?
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 6:51 pm
falkTX wrote:
The RCC tool seems to be missing. What do you get from:
/usr/bin/rcc
falkTX wrote:
If it's "/usr/bin/rcc", then add before the 'make' command:
The cause for this seems to be an empty return of:
Code: Select all
pkg-config --variable=rcc_location QtCore
Your system must be getting old I guess...
Thanks again, the 'export RCC=rcc' fixed it, the build completed successfully!
Yes, Centos 6.4 is a long-term distro, it was released in 2010 so the packages are of similar age as Ubuntu 10.04 LTS.
Early next year Centos 7, will be out so I only have to resist until then.
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 7:17 pm
I tried to run Carla:
Code: Select all
[packager@SL6-64bit Carla-1.0.0]$ python source/carla.py
Traceback (most recent call last):
File "source/carla.py", line 30, in <module>
import patchcanvas
File "/home/packager/rpm/tmp4/carla/Carla-1.0.0/source/patchcanvas.py", line 23, in <module>
from PyQt4.QtCore import QAbstractAnimation, QLineF, QPointF, QRectF, QSizeF, QSettings, QTimer
ImportError: cannot import name QAbstractAnimation
I don't understand this Python runtime error, QAbstractAnimation has been
introduced in Qt 4.6 and I have PyQt4 4.6.2 so this should work?
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Wed Jul 03, 2013 7:48 pm
falkTX wrote: and btw, this is python3!
I hope you're not trying to run it with python2, cause bad things will happen there.
Hmm, ok I thought it would work with either python2 or python3. I have to see if I can get Python3 with PyQt 4.7 but I have a feeling that this is getting complicated. Maybe it would be useful to add a note in the readme that Python3 is a must.
Do you have this working on Ubuntu 10.04 LTS? I guess you backported Python3 and a few other things along with it?
GMaq
Established Member
Posts: 2824 Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 530 times
Been thanked: 572 times
Post
by GMaq » Wed Jul 03, 2013 9:09 pm
@tux99,
Is there a reason you don't want to simply package the pre-rolled binaries? They work great here on Debian Squeeze which has similar aged libraries as 10.04 and CentOS. I will even gladly upload you my package in a tarball if that helps convert and package to an RPM..
Capoeira
Established Member
Posts: 1321 Joined: Tue May 12, 2009 1:01 pm
Location: Brazil
Has thanked: 3 times
Been thanked: 2 times
Post
by Capoeira » Thu Jul 04, 2013 12:17 am
funkmuscle wrote: Capoeira wrote: o mestre
Hey Cap, you have it working on Arch? I can't get the LV2 GUI to pop. This was happening since the git version. I've removed them all, fresh install of the tar and still I can't pop LV2 GUIs!
to buisy for any music stuff atm.
but always following stuff here, and I'll soon test this on Arch
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Thu Jul 04, 2013 6:27 am
GMaq wrote:
Is there a reason you don't want to simply package the pre-rolled binaries? They work great here on Debian Squeeze which has similar aged libraries as 10.04 and CentOS. I will even gladly upload you my package in a tarball if that helps convert and package to an RPM..
Thanks for the offer but I did manage to build the
binary part successfully, the problem I still have left is with the Python dependencies.
What I'm still missing now is PyQt4 for Python3 as in the meantime I also got a Python 3.3 package. I should be able to build a PyQt4 for Python3 package without too many problems.
falkTX is Python 3.3 ok? Also is PyQt4 4.7.4 (dependent on the QT 4.6.2 from Centos) sufficient or does it have to be never?
tux99
Established Member
Posts: 346 Joined: Fri Sep 28, 2012 10:42 am
Contact:
Post
by tux99 » Thu Jul 04, 2013 2:31 pm
falkTX wrote: You'll need python3-liblo to get carla-control to work, in case you're interested.
Ok, thanks I'll post again here when I have it all working, hopefully this weekend if I find the time.
funkmuscle
Established Member
Posts: 2813 Joined: Mon Jun 02, 2008 2:30 pm
Has thanked: 132 times
Been thanked: 34 times
Post
by funkmuscle » Thu Jul 04, 2013 2:55 pm
funkmuscle wrote:
I will for sure tonight.. thanx falk!
still can't launch lv2 GUIs.