Build

From kJams Wiki
Revision as of 01:50, 21 January 2014 by Dave (talk | contribs)
Jump to navigation Jump to search

to build kjams

Mac

Xcode 3.2.6
delete Python.framework from /developer/SDKs/ both 10.4 and 10.6 /System/Library/Frameworks/Python.framework
sync to head
install kjams pro
install producer
install burner
install Lame
install Vorbis
install p4, plcompile, setfileicon: see depot/kJams/External/PListCompiler0.4/"into /usr/bin" folder
run kjams
show preferences
click "importing"
click "exporting" these actions install necessary prefs
now quit

Windows

  1. install the VS SP1
  2. install the Windows7 SDK
  3. see this bullshit
  4. and this
  5. run C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe, switch to 6, quit, switch to 7, quit
  6. build the XPlat debug Lite and Pro versions on mac
  7. run them each (this will export the windows Menu resources)
  8. install Python 2.7, 32 bit. DO NOT INSTALL Python 3.x!!
  9. install esellerate kit (EWS)
  10. install QuickTime
  11. install Bonjour for Windows
  12. do this insane procedure
  13. go get the latest CrashRpt
    1. unzip it to a folder called "CrashRpt" under "depot/kJams/External/
    2. create the solution file with CMake
    3. build both debug and release
  14. install zip.exe into c:\Windows
  15. in MSDev, go to project settings->debug->command and set "All Configurations" to:
    $(SolutionDir)build\kJams $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
  16. in MSDev, go to "Property Pages", then pick "Configuration: All Configurations", then go to "Configuration Properties->Linker->Command Line" and add this:
    /DYNAMICBASE /ignore:4099
  17. install parallels, get that going
  18. Create Build kJams script launcher for Parallels

info just for me

install boost

compile boost Mac with:

> cd path/to/boost_1_40_0
> sudo ./bootstrap.sh
> sudo ./bjam macosx-version-min=10.4 architecture=combined linkflags="-Wl,-force_cpusubtype_ALL" --with-thread -a install

compile boost windows with

.\bjam --with-thread release

or just download the binaries