Personal tools
You are here: Home documentation developer BuildingPdExtended
Views

Edit history

Edit: -1 of 1
Time: 2014-05-22 15:47:01
Note: /pd/pd/docs/developer/BuildingPdExtended/vote

changed:
-
----

If you don't already have the Pd sources, then read [[GettingPdSource]]. The '''rsync''' method is the easiest way to get started, or for more detail on the possible options for getting the source, see [[WorkingWithPdExtendedSources]] for how to put the sources together from scratch.

If you want to build only Pd without all of the libraries included in Pd-extended, then read [[BuildingPd]]. You will also need to install all of the dependencies before trying to build. That is specific to each OS, see the OS-specific pages in the '''Setting Up Your Machine for Building''' section of the [http://puredata.info/docs/developer Developer's Documentation]. Once you have all of the sources and dependencies, you can start compiling. 

Try building the whole thing and see if it works for you.  If you run into included libraries that don't build on your system, you can remove them from the build.  Look for `LIB_TARGETS` in '''externals/Makefile''' and remove the library names you do not want to build.

= GNU/Linux =

For building on any GNU/Linux distro, the basic commands are currently the same.  The Makefile will create a tarball unless it finds the `dpkg-dev` tools.  If the `dpkg-dev` tools are found, then the end result will be a .deb.

{{{
cd pure-data/packages/linux_make
make install && make package
}}}

It will then build for a while, then you'll see a .tar.bz2 or .deb in `pure-data/packages/linux_make/build`.  The Makefile checks for the Debian utility `dpkg-shlibdeps` to determine whether it should build a .deb package or a tarball.  If you want to force building the tarball, you can run the build like this:

{{{
cd pure-data/packages/linux_make
make PACKAGE_TYPE=tarbz2 install && make PACKAGE_TYPE=tarbz2 package
}}}


= Mac OS X =

Once you have all of the sources, then you can start compiling.  Try building the whole thing and see if it works for you:

{{{
cd pure-data/packages/darwin_app
make install && make package
}}}

It will then build for a while, and it should end up with a Pd-extended.dmg package in `pure-data/packages/darwin_app/build`. 

= Windows =

Once you have all of the sources, then you can start compiling.  Try building the whole thing and see if it works for you:

{{{
cd pure-data/packages/win32_inno
make install && make package
}}}

It will then build for a while, and it should end up with a Pd-extended.exe package in `pure-data/packages/win32_inno/Output`. 

= Auto-build Scripts =

You can also use the same scripts that the [[PdLab]] build farm use to build Pd every night.

 * first get the source: [[GettingPdSource]]
 * then run the scripts: [[AutoBuildScripts]]

So in the Terminal, do something like this for Pd-extended:

{{{
mkdir ~/auto-build
cd ~/auto-build
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.43 pd-extended
~/auto-build/pd-extended/scripts/auto-build/pd-extended-auto-builder.sh
}}}

= Building Pd-Extended for Development =

See [[WorkingWithPdExtendedSources]] In order to build Pd-Extended from sources under version control in a manner that enables an effective development cycle.


Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser