Skip to content
ilans edited this page Aug 13, 2012 · 28 revisions

install on OS X

  1. On your machine, run from terminal:
    git clone https://github.com/Potion/pocode.git
  2. Move the entire pocode directory to your root (you may be asked for admin password):
    mv pocode /
  3. Make a local Xcode Library directory (if it doesn’t exist):
    mkdir -p ~/Library/Developer/Xcode/Templates
  4. Copy the osx and ios templates to that directory:
    cp -r /pocode/templates/pocodeApp* ~/Library/Developer/Xcode/Templates/
  5. Open Xcode→Preferences→Locations→Advanced→Custom. Set to: “Relative to Workspace”
  6. Open pocode in Xcode:
    open /pocode/osx/pocode.xcodeproj
  7. Build for Debug and Release

To create a new project:

  1. Open Xcode→File→New→Project→Templates→pocodeAppIOS or pocodeAppOSX
  2. Give it a name and location

building notes

boost

export boost_libs='--with-date_time --with-filesystem --with-system --with-thread --with-regex'
export boost_args='toolset=darwin runtime-link=shared link=static threading=multi address-model=32 architecture=x86'
export boost_cflags='-fvisibility=hidden -fvisibility-inlines-hidden'
./bjam $boost_libs $boost_args cflags='$boost_cflags' variant=release stage

links

paper on flattening bezier curves
otool, so i don't forget again what its called
gdb intro
utf8 strlen function

licenses

Clone this wiki locally