Build: Difference between revisions
Jump to navigation
Jump to search
| Line 36: | Line 36: | ||
#run them each (this will export the windows Menu resources) | #run them each (this will export the windows Menu resources) | ||
# do [https://karaoke.kjams.com/wiki/Build/WinLink4099 this insane procedure] (only applies to VS8? not VS9?) | # do [https://karaoke.kjams.com/wiki/Build/WinLink4099 this insane procedure] (only applies to VS8? not VS9?) | ||
# do this to be able to build [[Paddle x86]] | |||
# go get [http://code.google.com/p/crashrpt/downloads/list the latest CrashRpt] | # go get [http://code.google.com/p/crashrpt/downloads/list the latest CrashRpt] | ||
## unzip it to a folder called "CrashRpt" under "depot/kJams/External/ | ## unzip it to a folder called "CrashRpt" under "depot/kJams/External/ | ||
Revision as of 03:05, 30 May 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
- using the 10.6 VM:
- edit the XIB file as necessary
- Open "kJams" xcodeproj, not "kJams6"
- set the target to "Pro | kJams | ppc" (not Lite, not Debug)
- go to the "Resources" group
- 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
Windows
Update: note there's more to it than this.
- do the entire "Post Install" folder
- build the XPlat debug Lite and Pro versions on mac
- run them each (this will export the windows Menu resources)
- do this insane procedure (only applies to VS8? not VS9?)
- do this to be able to build Paddle x86
- go get the latest CrashRpt
- unzip it to a folder called "CrashRpt" under "depot/kJams/External/
- create the solution file with CMake
- build both debug and release
- in MSDev, go to project settings->debug->command and set "All Configurations" to:
$(SolutionDir)build\kJams $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
- 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
- install parallels, get that going
- install Perforce, and when creating a workspace, set your linefeeds to "unix"
- 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):
- /depot/CF/opencflite-476.17.2/windows/CFLiteLib.vcproj.XXXX.davec.user
- /depot/CFTest/project/win_vs/CFTest.vcproj.XXXX.davec.user
- /depot/kJams/Development/xplat/proj/win/kJams64.vcproj.XXXX.davec.user
info just for me
compile boost on both platforms with:
> cd path/to/boost_X.YY.Z
Then on mac:
> sudo ./bootstrap.sh > ./b2 cxxflags="-arch i386 -arch x86_64" address-model=32_64 cxxflags="-mmacosx-version-min=10.9" linkflags="-mmacosx-version-min=10.9"
i had to rename "boost" to "boost~" at this path:
/usr/local/include/boost~
Or on win:
> bootstrap > ./b2 ?? 64? 32? see here http://informilabs.com/building-boost-32-bit-and-64-bit-libraries-on-windows/
After building, drag results into the "stage" folder where the mac stuff was staged, so both plats can get their stuff from the same place