Build: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
Line 21: Line 21:
# using the 10.6 VM:
# using the 10.6 VM:
# edit the XIB file as necessary
# edit the XIB file as necessary
# in "kJams Pro" PPC version, under "Resources", right click "kJams.xib" and pick "compile"
# in "kJams Pro" PPC version, under "Resources", right click "kJams.xib" and pick "compile" (if kJams hasn't been built at all yet, just do a build, but you don't need to build the whole thing: as long as you see "CompileXIB" go by, you can stop there)
# building latest will now copy the file into place
# building latest will now copy the file into place



Revision as of 16:31, 30 May 2016

to build kjams

Mac

Install Xcode 3.2.6
install pyDes
install p4 and get info from me on how to get connected
sync to head in p4
install kjams pro
install producer
install burner
install Lame
install Vorbis
install 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

Creating the NIB file on Mac

  1. using the 10.6 VM:
  2. edit the XIB file as necessary
  3. in "kJams Pro" PPC version, under "Resources", right click "kJams.xib" and pick "compile" (if kJams hasn't been built at all yet, just do a build, but you don't need to build the whole thing: as long as you see "CompileXIB" go by, you can stop there)
  4. building latest will now copy the file into place

Windows

Update: note there's more to it than this. Ask dave for the "Post Install" folder

  1. see this bullshit
  2. and this
  3. run C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe, switch to 6, quit, switch to 7, quit
  4. build the XPlat debug Lite and Pro versions on mac
  5. run them each (this will export the windows Menu resources)
  6. install Python 2.7, 32 bit. DO NOT INSTALL Python 3.x!!
  7. install esellerate kit (EWS)
  8. install QuickTime
  9. install Bonjour for Windows
  10. do this insane procedure
  11. 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
  12. install zip.exe into c:\Windows
  13. in MSDev, go to project settings->debug->command and set "All Configurations" to:
    $(SolutionDir)build\kJams $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
  14. 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
  15. install parallels, get that going
  16. Create Build kJams script launcher for Parallels
  17. install Perforce, and when creating a workspace, set your linefeeds to "unix"

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