Split

How to build prodatum from source

What you need:

Building steps:

  • compile FLTK [2] and portmidi [3]
  • start fluid [4] (comes with FLTK) and open pd_test.fl from prodatum/
  • tell fluid to generate the source code File -> Write Code
  • in a terminal change into the prodatum/ directory
  • run autoreconf --install
  • create a bin/ subdirectory and change into it.
  • inside, create a lib/ directory and copy libportmidi.a and libftlk.a into it
  • run ../configure && make
  • if all goes well you should get a prodatum.exe. launch - and mix as usual! :)

Hack:

You can now hack the code (I recommend using Eclipse CDT) and have your own prodatum flavor. if you have problems anywhere in the process don't hesitate to bother me. ;-) Janus

[1] If you are on Windows get minGW: use the Graphical User Interface Installer as described here. Make sure to check the C++ compiler and developer tools options when you install! Once installed you have all the tools you need to build prodatum!

[2] minGW: Start an Msys shell from the start menu. Locate the extracted FLTK sources and change to the directory above (eg if you extracted FLTK to /c/fltk-1.1.10, go to /c). Download the "gleam" patch and patch FLTK as described on the gleam homepage. Make sure to get the patch for FLTK 1.1.10! Copy fl_gleam.cxx from the prodatum sources to /c/fltk-1.1.10/src/.
Now change into the fltk-1.1.10/ directoy and type: ./configure --disable-threads --disable-gl --disable-cygwin && make [ENTER]. This will build FLTK.

[3] This is tricky for Windows! I recommend getting Eclipse CDT and using these project settings (archive includes ready to use static windows lib and project setting to build it).

[4] fluid is the interface designer of FLTK and can be found in /c/fltk-1.1.10/fluid/ (once you have compiled FLTK)

screen

Home