Build: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
Line 54: Line 54:
compile boost on both platforms with:
compile boost on both platforms with:
  > cd path/to/boost_X.YY.Z
  > cd path/to/boost_X.YY.Z
  > sudo ./bootstrap.sh
  > mac: sudo ./bootstrap.sh
> win: bootstrap
  > ./b2
  > ./b2


on mac, i had to rename "boost" to "boost~" at this path:
on mac, i had to rename "boost" to "boost~" at this path:
  /usr/local/include/boost~
  /usr/local/include/boost~

Revision as of 17:11, 29 January 2019

to build kjams

Mac

Install Xcode
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
add these lines to your .bash_profile:

PYTHONPATH="${PYTHONPATH}:/Users/davec/Developer/depot/CF/python/"
export PYTHONPATH

Creating the NIB file on Mac

  1. using the 10.6 VM:
  2. edit the XIB file as necessary
  3. Open "kJams" xcodeproj, not "kJams6"
  4. set the target to "Pro | kJams | ppc" (not Lite, not Debug)
  5. go to the "Resources" group
  6. 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)
  7. building latest will now copy the file into place

Windows

Update: note there's more to it than this.

  1. do the entire "Post Install" folder
  2. build the XPlat debug Lite and Pro versions on mac
  3. run them each (this will export the windows Menu resources)
  4. do this insane procedure (only applies to VS8? not VS9?)
  5. 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
  6. in MSDev, go to project settings->debug->command and set "All Configurations" to:
    $(SolutionDir)build\kJams $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
  7. 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
  8. install parallels, get that going
  9. install Perforce, and when creating a workspace, set your linefeeds to "unix"
  10. if the computer name changed, update these file names (so the same, OLD file is used, not the new one if you accidentally already opened the projects):
    1. /depot/CF/opencflite-476.17.2/windows/CFLiteLib.vcproj.XXXX.davec.user
    2. /depot/CFTest/project/win_vs/CFTest.vcproj.XXXX.davec.user
    3. /depot/kJams/Development/xplat/proj/win/kJams64.vcproj.XXXX.davec.user

info just for me

install boost

compile boost on both platforms with:

> cd path/to/boost_X.YY.Z
> mac: sudo ./bootstrap.sh
> win: bootstrap
> ./b2

on mac, i had to rename "boost" to "boost~" at this path:

/usr/local/include/boost~