Installation Notes for Serpent
Roger B. Dannenberg
Serpent is currently released in three zip files, one each for Win32,
Linux, and Mac OS X systems. This may change from time to time.
Each zip file contains source code for two versions of serpent.
- serpent -- command line version
- wxserpent -- serpent with wxWidgets linked in to provide a
graphical interface
In addition, the Win32 and Mac OS X zip files contain compiled
executables (the Mac OS X distribution currenly only has an Intel
executable).
The source files have been built on the following systems:
- Windows (Visual C++,
linked with wxWidgets 2.2.6), use the serpent.sln and wxs/wxserpent.sln
"solutions". For wxserpent, edit the include paths and libraries
according to your installation of wxWidgets (not included here). You
will need the PortMidi library: see the pm_util.h problem below.
- Linux (Fedora Core 2,
linked with wxWidgets 2.4), use Makefile and wxs/Makefile. You will
need the PortMidi library and your system will have to have ALSA if you
build Serpent with the default midi support.
- Mac OS X (Version 10.4.2, gcc 3.3, wxWidgets 2.6.3)
- You must install the Apple Developer tools.
- install PortMidi.
- You may have to use the command "sudo gcc_select 3.3" to switch
to the version 3.3 GCC compiler.
- Build PortMidi (see documentation in PortMidi).
- The Serpent code assumes the portmidi directory is at the same
level, e.g. /home/rbd/portmidi and /home/rbd/serpent.
- Use "make -f Makefile.osx" from the serpent directory to build
serpent from the sources.
- For wxWindows, install wxWindows 2.6.3. Modify wxs/Makefile.osx
if your paths do not match my paths.
- Use "make -f Makefile.osx" in portmidi/wxs to build wxserpent
from the sources.
Important: Serpent Environment
Serpent uses the environment to figure out where to search for
files.