Build

From kJams Wiki
Revision as of 19:22, 23 March 2012 by Dave (talk | contribs) (Windows)
Jump to navigation Jump to search

to build kjams

Mac

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
install boost

compile boost 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

or just download the binaries

run kjams show preferences click "importing" click "exporting" these actions install necessary prefs now quit

Windows

  1. build the XPlat debug Lite and Pro versions on mac
  2. run them each (this will export the windows Menu resources)
  3. install boost, compile it with
    .\bjam --with-thread release
  4. install Python
  5. install esellerate kit (EWS)
  6. install QuickTime, and the QuickTime SDK
  7. install Bonjour for Windows
  8. do this insane procedure
  9. go into /Program Files/quicktime SDK/" folder and change the folder name "CIncludes" to "QuickTime"
  10. install zip.exe
  11. in MSDev, go to project settings->debug->command and set "All Configurations" to:
    $(SolutionDir)build\kJamsX $(ConfigurationName).app\Contents\Windows\$(TargetFileName)
  12. 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

You won't have to do this

I'm documenting here how i built and installed mDNSResponder dll's

  1. download mDNSResponder from the forge
  2. rename the unzipped folder to NOT have the version number in it
  3. drop it into /depot/CF
  4. go to /depot/CF/mDNSResponder/mDNSWindows/DLL/dnssd.vcproj
  5. build both debug and release
  6. go into the Win32/Debug folder, rename the dnssd.lib and dnssd.dll to be dnssd_d.lib and dnssd_d.dll, respectively
  7. drag the lib's to /depot/CF/opencflite-476.17.2/icu/lib/
  8. drag the dll's to /depot/CF/opencflite-476.17.2/icu/bin/