CFLite old: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
# Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5) | # Download [http://kjams.com/cflite/downloads/include.zip include.zip] (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5) | ||
# install it where?? | # install it where?? | ||
# you'll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] if you're using Microsoft Visual Studio, it doesn't come with the compiler but is part of the C99 standard. I suggest placing | # you'll need [http://msinttypes.googlecode.com/svn/trunk/stdint.h stdint.h] and [http://www.koders.com/c/fidDF4818DD265741F8A74455FC281F0C1CBA35EB47.aspx stdbool.h] if you're using Microsoft Visual Studio, it doesn't come with the compiler but is part of the C99 standard. I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine. More details about this file are on [http://en.wikipedia.org/wiki/Stdint.h Wikipedia]. Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al? | ||
# Download [[CFLite/CFTest|CFTest]] source files. This is the test harness sample project.<br>* You can ignore the XCode project<br>* create a new project in your windows dev environment and add the two .cpp files.<br>* the "console.txt" is the example output that it '''should''' look like in your console<br>* you may need to tweak the relative path for "test.xml" to load properly. Please document any necessary changes to the source code. | # Download [[CFLite/CFTest|CFTest]] source files. This is the test harness sample project.<br>* You can ignore the XCode project<br>* create a new project in your windows dev environment and add the two .cpp files.<br>* the "console.txt" is the example output that it '''should''' look like in your console<br>* you may need to tweak the relative path for "test.xml" to load properly. Please document any necessary changes to the source code. | ||
Revision as of 05:22, 27 July 2008
This page documents how to build CFLite 476.10 such that you can then link to it in your Windows projects, and then blissfully use CFStrings, CFDictionaries, and all the other CFGoodness that CFLite will bring you. For a "quick and dirty" way to just start *using* CFLite on windows (without having to compile it), click here.
On Windows XP or Windows Vista:
- Install Cygwin
- Download CFLite 476.13. Ooops! Not available? Try: CFLite 476.10
- install it where??
- Download include.zip (contains /usr/include/*, which includes AvailabilityMacros, AssertMacros and TargetConditionals from 10.5)
- install it where??
- you'll need stdint.h and stdbool.h if you're using Microsoft Visual Studio, it doesn't come with the compiler but is part of the C99 standard. I suggest placing these files in your Visual Studio C include folder(C:\Program Files\Microsoft Visual Studio 8\VC\include by default for VS2005), but you can add these on a separate include path if you want to keep your compiler header folder pristine. More details about this file are on Wikipedia. Maybe it would be better to just add this to the include.zip with AvailabilityMacros et al?
- Download CFTest source files. This is the test harness sample project.
* You can ignore the XCode project
* create a new project in your windows dev environment and add the two .cpp files.
* the "console.txt" is the example output that it should look like in your console
* you may need to tweak the relative path for "test.xml" to load properly. Please document any necessary changes to the source code.