Compiling ZynAddSubFX on MacOS X

Official support for: zynaddsubfx.sourceforge.net
RELATED
PRODUCTS

Post

I'm trying to compile ZynAddSubFX on MacOS X (using gentoo portage and directly building source tarballs when neccessary)
i have all the dependancies installed, but i get this error on make:

Code: Select all

[10:11:16 bennyp~/Desktop/ZynAddSubFX-2.0.0/src] % > make 
yes " " | head
 
 
 
 
 
 
 
 
 
 
make -C UI all
fluid -c WidgetPDial.fl
make[1]: fluid: Command not found
make[1]: *** [WidgetPDial.cc] Error 127
make: *** [all] Error 2

Post

Hi.
First thing I want to say that I don't have a access to a mac (btw. is anybody here who wants to donate me a mac in order to develop zynaddsubfx on it? 8) :D ).

By reading the error messages, it seems that 1) the fltk is not installed or 2) the fltk's "fluid" is under different name.

Paul

Post

fltk is installed
what is fltk's fluid and where would/SHOULD it be located?
by the way zynaddsubfx is beautiful, a truly marvelous piece of work
i'd like you to hear the song i created using zynaddsubfx and hydrogen with ardour and jack
check your pm's

Post

Bennyp wrote:fltk is installed
what is fltk's fluid and where would/SHOULD it be located?
fluid is the interface designer of the fltk and the converter from .fl files to C++ files. I don't know where it should be located on a MAC.
by the way zynaddsubfx is beautiful, a truly marvelous piece of work
i'd like you to hear the song i created using zynaddsubfx and hydrogen with ardour and jack
check your pm's
Thanks.
I listened it. Nice :)
Paul

Post

I compiled in Windows using MSYS.
What I suppose fluid should be placed in /local/bin
I got it there after compilation of files from fltk-1.1.5rc2 archive.

best regards

Post

i checked in /usr/local/bin and no fluid
also, locate fluid yielded no usefull results

does fltk have to be configure with certain flags to make fluid work??

Post

Bennyp wrote:i checked in /usr/local/bin and no fluid
also, locate fluid yielded no usefull results

does fltk have to be configure with certain flags to make fluid work??
The "fluid" is included into the fltk package.
Please recompile, the fltk and check it into the source .
Paul

Post

i did

Code: Select all

emerge sync
and then

Code: Select all

emerge -upv world
and lo and behold, fltk was one of the packages needing and update, so i did it.

NEW BUG! YAY!

Code: Select all

fluid -c VirKeyboard.fl
VirKeyboard.fl:2: unknown version '1.0105'
gcc -O6 -ggdb -Wall  -DOS_LINUX -DALSAMIDIIN -DOSSAUDIOOUT -DFFTW_VERSION_3 -DASM_F2I_YES `fltk-config --cflags`    -c -o VirKeyboard.o VirKeyboard.cc
In file included from ../Misc/Util.h:29,
                 from ../Effects/Effect.h:27,
                 from ../Effects/EffectMgr.h:28,
                 from ../Misc/Master.h:28,
                 from VirKeyboard.h:10,
                 from VirKeyboard.cc:3:
../DSP/FFTwrapper.h:42:19: fftw3.h: No such file or directory
In file included from ../Misc/Util.h:29,
                 from ../Effects/Effect.h:27,
                 from ../Effects/EffectMgr.h:28,
                 from ../Misc/Master.h:28,
                 from VirKeyboard.h:10,
                 from VirKeyboard.cc:3:
../DSP/FFTwrapper.h:56: error: parse error before `,' token
make[1]: *** [VirKeyboard.o] Error 1
make: *** [all] Error 2
[21:11:26 bennyp~/Desktop/ZynAddSubFX-2.0.0/src] % > fltk-config --version
1.1.4

Post

It seems that the problem is on the fftw part (see the include file fftwrapper.h). Please check the FFTW instalation (www.fftw.org)
Paul

Post

Downloaded and installed fftw again
new error"

Code: Select all

gcc -O6 -ggdb -Wall  -DOS_LINUX -DALSAMIDIIN -DOSSAUDIOOUT -DFFTW_VERSION_3 -DASM_F2I_YES `fltk-config --cflags`    -c -o FormantFilter.o FormantFilter.C
FormantFilter.C: In member function `void FormantFilter::setpos(float)':
FormantFilter.C:93: error: unknown register name `st' in `asm'
make[2]: *** [FormantFilter.o] Error 1
make[1]: *** [DSP] Error 2
make: *** [all] Error 2

Post

Hi.
The problem is caused by the fact, I am using i386 assembler code.
You can disable it in the makefile.inc (set the ASM_F2I to "NO" ).

Please tell me if you had succesfull compiled/run zynaddsubfx on a mac.

Paul

Post

I have yuet to get alsalib working, so I will compile with no sound in

i tried compiling with portaudio out - no worky
so i tried with jack (jack for mac installed - no dev headers yet though) and no worky
so then i tried with audio_none - and then again with everything commented:

Code: Select all

gcc -O6 -ggdb -Wall  -DOS_LINUX -DNONEMIDIIN -DAUDIOOUT -DFFTW_VERSION_3 -DASM_F2I_NO `fltk-config --cflags`    -c -o main.o main.C
main.C: In function `void set_realtime()':
main.C:89: error: `sched_setscheduler' undeclared (first use this function)
main.C:89: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.C: In function `void* thread2(void*)':
main.C:138: error: `audioout' undeclared (first use this function)
make[1]: *** [main.o] Error 1
make: *** [all] Error 2
the jack people are working on putting the coreaudio code into the main jack tree... after that it might work (when the devel headers area available)

Post

check if You have sched.h file in somewhere include path

Post

i installed the latest jack (0.99.0) with coreaudio drivers and tried remaking zynaddsubfx with jack support, but it doesn't recognize jack (jack.pc does not exist)

Post

You don't need jack.pc fot zynaddsubfx.

Paul

Post Reply

Return to “ZynAddSubFX”