Slackware compilation issues.....any help?

Official support for: zynaddsubfx.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
First of all, I wanted to say thanks for making a such a smashing synth. Its absolutely brilliant.

Now...I've successfully built the 1.x series on my Slackware 10 install, but I've had no luck building any of the 2.x releases. With the latest version of ZynAddSubFX, here is my make output:

Code: Select all (#)

flecko@rockbox:~/ZynAddSubFX-2.1.1/src$ make
yes " " | head










make -C UI all
make[1]: Entering directory `/home/flecko/ZynAddSubFX-2.1.1/src/UI'
gcc -O6 -ggdb -Wall  -DOS_LINUX -DALSAMIDIIN -DFFTW_VERSION_3 -DASM_F2I_YES `fl$
make[1]: Leaving directory `/home/flecko/ZynAddSubFX-2.1.1/src/UI'
In file included from ../Params/Presets.h:26,
                 from PresetsUI.h:9,
                 from PresetsUI.cc:3:
../Misc/XMLwrapper.h:128: error: syntax error before `*' token
../Misc/XMLwrapper.h:129: error: syntax error before `*' token
../Misc/XMLwrapper.h:130: error: syntax error before `*' token
../Misc/XMLwrapper.h:131: error: syntax error before `*' token
../Misc/XMLwrapper.h:136: error: syntax error before `*' token
../Misc/XMLwrapper.h:141: error: syntax error before `*' token
../Misc/XMLwrapper.h:146: error: syntax error before `*' token
../Misc/XMLwrapper.h:158: error: syntax error before `*' token
../Misc/XMLwrapper.h:162: error: `mxml_node_t' was not declared in this scope
../Misc/XMLwrapper.h:162: error: `node' was not declared in this scope
../Misc/XMLwrapper.h:162: error: invalid data member initialization
../Misc/XMLwrapper.h:162: error: (use `=' to initialize static data members)
../Misc/XMLwrapper.h:162: error: variable or field `push' declared void
../Misc/XMLwrapper.h:163: error: syntax error before `*' token
../Misc/XMLwrapper.h:164: error: syntax error before `*' token
PresetsUI.cc: In member function `void PresetsUI::cb_copypbutton_i(Fl_Button*,
   void*)'
PresetsUI.cc:25: error: `strlen' undeclared (first use this function)
PresetsUI.cc:25: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
PresetsUI.cc: In member function `void PresetsUI::cb_presetname_i(Fl_Input*,
   void*)':
PresetsUI.cc:53: error: `strlen' undeclared (first use this function)  
make[1]: *** [PresetsUI.o] Error 1
make: *** [all] Error 2
I've followed the compilation instructions and I've edited Makefile.inc to no avail. Does anyone have any suggesstions for me? (And yes, that weird number of spaces exists in the make output as well.) I'm really stumped here and would love to get working on some new material with ZynAddSubFX 2.x and its increased number of presets.

Thanks everyone!
Keep up the good work,
-Flecko

Post

Hi.
The problem is caused because you don't have mxml2 library (that is used since 2.0.0pre).
You can get it from
http://www.easysw.com/~mike/mxml/software.php

About the strlen function issue, it seems that at you, it is necessary to include <string.h> into the PresetsUI.cc file. But first, solve the first issue, because it might include the string.h from mxml headers and this second issue to be solved by itself.

P.S. The latest version of zynaddsubfx is 2.1.1.

Paul

Post

Sweet! You're the man paul.

Getting the mxml lib fixed it all up right. All issues solved.

Now I'm writing tunes using ZynAddSubFX 2.1.1

You made my day! Thanks!
-Flecko

Post Reply

Return to “ZynAddSubFX”