Building small big things
A play through on Easy 
Sunday, June 13, 2010, 04:16 PM - News
Posted by Administrator

add comment ( 2 views )   |  0 trackbacks   |  permalink   |  related link
Dungeon Logica is now listed in the Itunes App Store!!! 
Thursday, June 10, 2010, 08:55 PM - Announcements
Posted by Administrator
FIND IT HERE



add comment ( 6 views )   |  0 trackbacks   |  permalink   |  related link
Open Tool Chain and C++ Standard Template Libray 
Sunday, March 15, 2009, 07:54 PM - Software
Posted by Administrator
The open Tool Chain headers convientely omit some critical STL headers so only basic C++ code could be used. Various samples provided by Apple that use OpenAL, are in C++ and also use STL. I copied the missing STL headers (map, vector, ...) over to the iPhone and updated my make file with the following settings for c++ compiling.


LDFLAGS += -lstdc++

CXXFLAGS := $(CFLAGS) -lz -x c++ -I"/var/include/c++/4.0.0" -I"/var/include/c++/4.0.0/arm-apple-darwin9"



add comment ( 15 views )   |  0 trackbacks   |  permalink
Prefix.pch and how to use it in open toolchain 
Sunday, March 8, 2009, 04:21 PM - Resources
Posted by Administrator
Most if not all of the sample apps provided with the iphone SDK use a prefix.pch file which, under Xcode would be handled as a precompiled prefix header included with all source files.

I searched all over to see if anyone had already handled it but come up empty.

This is what I came up with to properly include the prefix header and also have it precompiled.


%.o: %.m Prefix.pch.gch
$(CC) -include Prefix.pch -c $(CFLAGS) $< -o $@

%.o: %.cpp Prefix.pch.gch
$(CXX) -include Prefix.pch -c $(CXXFLAGS) $< -o $@

Prefix.pch.gch: Prefix.pch
$(CC) -x objective-c-header $(CFLAGS) Prefix.pch


It adds the Prefix.pch.gch as a dependence and then includes it when creating an object file.
add comment ( 17 views )   |  0 trackbacks   |  permalink
Ported TouchFighter to open Tool chain 
Sunday, March 1, 2009, 10:41 PM - Progress
Posted by Administrator

I came across the source for TouchFighter on the Apple developer website and I have ported everything but the audio (openAL) to use the open tool chain.

Still trying to figure out if it is even possible to compile the soundengine.cpp, which requires STL. I had the same problem with the CrashLanding code, which I just skipped, and commented out all sound calls.
add comment ( 11 views )   |  0 trackbacks   |  permalink

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next> Last>>