Author Topic: Zyn 4 Z  (Read 2256 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Zyn 4 Z
« on: December 04, 2006, 03:11:33 am »
Last week I tried to compile the realtime, analogue style, multi-channel MIDI synthesiser that is zynaddsubfx for pdaX.

http://zynaddsubfx.sourceforge.net/

I successfully compiled all its dependencies (fltk, mxml and fftw 2.1.5 - v3.x wouldn't compile for me) but then I encountered errors when it came compiling zyn itself. I tried compiling a few older versions when the latest version failed- I noticed that v1.4.3 got further through compilation than 2.2.1.

http://sourceforge.net/project/showfiles.p...ackage_id=59720

I sent gcc's STDOUT and STDERR to zyn's author about a week or so ago hoping he would be able to help get it to compile but I've not heard anything back from him. I have reinstalled pdaX since so I'm unable to paste the error message here I got when trying to compile 1.4.3 without compiling all those dependecies again which I'm not going to do unless I find someone with real C skills who is interested in seeing Zyn on the Z but I've attached the error messages from 2.2.1 to this.

I'm unsure that even an overclocked cxxxx will have enough CPU horsepower to get even one channel/voice running smoothly under zyn but there's only one way to find out- how cool would it be having a USB MIDI adapter plugged into your cxxxx so you could use a decent MIDI keyboard (pref. with a synth surface w/ banks of twiddly knobs) with zyn? IMO this would be the single coolest, most fun thing I could do with my Z so I'm hoping somebody else here shares my enthusiasm!  

EDIT

I should've really had another try compiling, or at least read the error message properly before I came posting here. I've just had another look at the error message and I would guess that its just that the mxml headers must've got installed in some non-standard place where gcc isn't looking for it. I'll try it again tonight if I get time.
« Last Edit: January 04, 2007, 01:33:52 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Zyn 4 Z
« Reply #1 on: December 04, 2006, 03:54:34 am »
There are a couple of holes in my very limited knowledge of *nix libraries I could do with plugging before I attempt to compile Zyn again.

I'm pretty sure that pdaX b3 comes with a fltk library but I don't know what version it is. Is there any way to find the version number out when it isn't listed in the package manager or contaied in the libs filename? I ask because Meanies zgcc pdaX dev package doesn't come with any fltk dev stuff so I had to compile that but it would be best if people didn't have to install a new fltk to use zyn.

If pdaX comes with fltk 1.1.0 but I compile zyn against fltk 1.1.7 is it still likely to work without installing a new fltk? I would presume it would work the other way round (compiling with an older version than pdaX uses) but ideally i would be compiling it against the same fltk that ships with pdaX b3.

Thanks!
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Zyn 4 Z
« Reply #2 on: January 01, 2007, 11:17:52 am »
OK!

I've got the latest version of ZynaddsubFX to compile under pdaXii13 it just fails when it comes to linking as it actually requires the fltk-utf8 lib and I was compiling against normal fltk-1.1.7.

You can download a tarball here

http://developer.berlios.de/project/showfi...p?group_id=4036

but it wouldn't compile for me as it produced 000s of errors when trying to link fluid and then its svn download addresses didn't work for me either

http://www.whoow.org/people/Jean-Marc.Lienher/fltk.html

If we can get fltk-utf8 to compile then every pdaX user gets a free pocketsized analogue-style synthesiser!!!

     

EDIT

If you're going to try compiling Zyn before I get to trying it again then note that you use fftw v 2.x not 3 - use ./configure --prefix=/usr when compiling the required libs and run ldconfig after you 'make install' each lib
« Last Edit: January 01, 2007, 11:23:36 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Zyn 4 Z
« Reply #3 on: January 04, 2007, 10:26:48 am »
OK, I now know why Zyn isn't compiling, its because running

fltk-config --version

Tells me its 1.1.4 when I have installed 1.1.7 so I tried replacing the only fltk-config that was in my path which was

/usr/bin/fltk-config

with fltk-config 1.1.7 which was in the root of my FLTK 1.1.7 build dir but that hasn't helped as gcc seems to take preference of using the one included in zgcc over the one in /usr/bin

When you run

fltk-config --ldflags

with this installed 1.1.4 version it asks for fltk-utf8 which isn't included in zgcc and I have been unable to compile fltk-utf8
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install