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

Build fail on Arch #34

Closed
looplog opened this issue Apr 21, 2013 · 2 comments
Closed

Build fail on Arch #34

looplog opened this issue Apr 21, 2013 · 2 comments

Comments

@looplog
Copy link

looplog commented Apr 21, 2013

Attempting to build on Arch(x86) fails for me at the linuxsampler plugin:

g++ LinuxSamplerPlugin.cpp -Wall -Wextra -fPIC -O2 -ffast-math -mtune=generic -msse ->mfpmath=sse -DNDEBUG -std=gnu++0x -march=i686 -mtune=generic -O2 -pipe -fstack->protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVESTIGE_HEADER ->fvisibility=hidden -fPIC -I. -I.. -I../../includes -I../../libs -I../../utils -DWANT_NATIVE ->DWANT_LADSPA -DWANT_DSSI -DWANT_LV2 -DWANT_VST -DWANT_FLUIDSYNTH ->DWANT_LINUXSAMPLER -DWANT_OPENGL -DWANT_AUDIOFILE -DWANT_MIDIFILE ->DWANT_ZYNADDSUBFX -DWANT_ZYNADDSUBFX_UI -DQT_SHARED -I/usr/include/qt4 >-I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtXml -I/usr/include/qt4 ->I/usr/include/qt4/QtCore -c -o LinuxSamplerPlugin.cpp.o
In file included from /usr/include/linuxsampler/engines/Engine.h:27:0,
from ../../includes/linuxsampler/EngineFactory.h:24,
from LinuxSamplerPlugin.cpp:22:
/usr/include/linuxsampler/common/global.h:72:13: error: #if with no expression

if IS_CPP11

        ^

make[2]: *** [LinuxSamplerPlugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory /data/AUR/i686/carla-git/src/carla-build/source/backend/plugin' make[1]: *** [all] Error 2 make[1]: Leaving directory/data/AUR/i686/carla-git/src/carla-build/source/backend'
make: *** [backend] Error 2

I should add that I am running a patched version of linuxsampler-svn to reduce the channel count of the LV2 plugin to stereo. Is this the likely cause of this failure?

@falkTX
Copy link
Owner

falkTX commented Apr 21, 2013

This is a bug in linuxsampler code, please report a bug to them.

For now you can edit your local "/usr/include/linuxsampler/common/global.h" and change:
#if IS_CPP11
to:
#ifdef IS_CPP11

@looplog
Copy link
Author

looplog commented Apr 21, 2013

Indeed that fixes the issue. Thanks

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