Releases: rbdannenberg/arco
arco_src_for_build_everything_cmd.zip
Quick Install and Test
The zip file arco_src_for_build_everything_cmd.zip
contains code and a script
that can be used to compile Arco and the daserpent test program as follows:
- create an empty build directory, e.g.
cd; mkdir build
- move arco_src_for_build_everything_cmd.zip to build directory, e.g.
mv Downloads/arco_src_for_build_everything_cmd.zip build
- unzip the file, e.g.
cd build; unzip arco_src_for_build_everything_cmd.zip
- execute build_everything_cmd.sh in arco, e.g.
cd arco; ./build_everything_cmd.sh
The build_everything_cmd.sh file, in building and installing serpent,
will offer options to configure your system to run serpent. See
serpent/make_src_for_build_everything_cmd.sh
for details.
The script will build only the test program arco/apps/test/daserpent.app
.
Follow the instructions printed by build_everything_cmd.sh
to run the
daserpent
test program.
If you want to work on Arco implementation, you will want to clone the
Arco repository so that you can update your sources with the latest
changes and push your changes to the main shared repository. This
Quick Install and Test gets sources from a zip file, so you should
follow the next section.
Automated Install From a Clone of the Git Repository
Using sources managed by git is similar to the Quick Install and Test
described in the previous section:
- create an empty build directory, e.g.
cd; mkdir build
- change to the build directory:
cd build
- get sources into a directory
build/arco
:
git clone git@github.com:rbdannenberg/arco.git
- execute build_everything_cmd.sh in arco, e.g.
cd arco; ./build_everything_cmd.sh
The build_everything_cmd.sh file, in building and installing serpent,
will offer options to configure your system to run serpent. See
serpent/make_src_for_build_everything_cmd.sh
for details.
The script will build only the test program arco/apps/test/daserpent.app
.
Follow the instructions printed by build_everything_cmd.sh
to run the
daserpent
test program.
Finally, you will probably want to develop with Xcode:
- Open
CMake.app
- change "Where to build the binaries" to your
build/arco/apps/test
,
e.g. I would select/Users/rbd/build/arco/apps/test
. - In the main CMake menu bar, select "File:Delete Cache" (because the
build_everything_cmd.sh
configured CMake to create a Unix makefile,
but you want CMake to build an Xcode project.) - Check Advanced to see all the variables in CMake.
- Under
USE
you should have the following values:- USE_GLCANVAS: TRUE
- USE_HID: ON
- USE_LIBSNDFILE_EXTERNALS: ON
- USE_MIDI: ON, USE_NETWORL: OFF
- USE_O2: TRUE
- USE_PROC: OFF
- USE_SHFILE: OFF
- USE_STATIC_LIBS: ON
- USE_ZEROMQ: OFF
- Push the Configure button
- Push the Generate button
- Push the Open Project button. Xcode should open and you can build
the project in Xcode.
Note that every application in Arco is potentially linked with a
different set of unit generators and has a separate Xcode project.