Building MacP4 1) in order to build Mac P4, you need one more header that is not in the Public API (yet). It is called "strtable.h" 2) In your CW project, you must have "Enable bool support" ON (ie. checked) 3) Download the latest Universal Headers from Apple and make sure you point to both the StubLibraries directory and the CHeaders directory. http://developer.apple.com/sdk/ 4) Get MoreFiles from Apple and include it in your project. http://developer.apple.com/samplecode/Sample_Code/Files/MoreFiles.htm 5) Use the proper prefix file depending on if you are building a CFM Carbon version or a classic version. File Lists for your project: Classic: <SIOUXTOOL>/classic.prefix <SIOUXTOOL>/siouxtool.cc The MoreFiles library The MSL Libraries (Including whatever SIOUX things you need) The Perforce API libs <UI>/Universal/Libraries/StubLibraries/OpenTransportLib <UI>/Universal/Libraries/StubLibraries/OpenTptInternetLib <UI>/Universal/Libraries/PPCLibraries/OpenTransportAppPPC.o <UI>/Universal/Libraries/PPCLibraries/OpenTptInetPPC.o <UI>/Universal/Libraries/StubLibraries/InterfaceLib <UI>/Universal/Libraries/StubLibraries/InternetConfigLib Carbon: <SIOUXTOOL>/carbon.prefix <SIOUXTOOL>/siouxtool.cc The MoreFiles library built for Carbon The MSL Libraries built for Carbon (Including whatever SIOUX things you need) The Perforce API libs build for Carbon <UI>/Universal/Libraries/StubLibraries/CarbonLib <UI>/Universal/Libraries/StubLibraries/CarbonFrameworkLib
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 7979 | Michael Bishop | /Users/mbishop/dev/public_1666/mbishop_mac/guest/michael_bishop/P4APIForJava/README.txt | ||
#1 | 1094 | mbishop |
Added instructions and files for people other than Perforce internal people so they can build MacP4. No functional change |