Posts

Showing posts with the label opengl

iPhone Development on Win32 Redux (build error log)

I was trying to build the iPhone toolchain according to "PJ Cabrera's - Write native iPhone applications using Eclipse CDT" article. I made it pretty far with some minor hiccups. I know there is a lot of noise in this blog entry, but I wanted to post the error in case it comes up again. As of yet, I still haven't gotten the win32/iphone/opengl examples to work. Plus, I have the issue of a simulator. The simulator doesn't exist for win32. Yea, your best bet is to just get a Mac and do iPhone development on it. You can view the current source here: http://haskellnotebook.googlecode.com/svn/trunk/iphone/gl/HelloWorldWin32/ Error 2 (OpenGL) OK, I was able to build an application, I had some issues with OpenGL apps. /usr/local/bin/arm-apple-darwin9-gcc -c -I/usr/local/lib/gcc/arm-apple-darwin9/4.2.1/include -isysroot /usr/local/iphone-sysroot HelloWorld.m -o HelloWorld.o In file included from HelloWorldApp.h:11, from HelloWorld.m:11: /usr/local/i...

Octane Mech, OpenGL Haskell based mech game; early code and some haskell notes

Image
I am in the initial design and some development of OctaneMech; as the title implies is a OpenGL Haskell based Mech (bot, tank mobile) game. An early goal is to recreate/port glAnts (mech game) to haskell http://glants.sourceforge.net/ On Haskell Haskell is a pure functional programming language where your primary view of your software is through the use of functions. In java or other objected oriented/imperative languages, you are looking at the lowest level components; in Haskell, you are able to concentrate on the operation a particular function is used for without focusing on the low-level details (step-by-step sequences) of the function. I won't now or probably in the future detail the power you are given with Haskell and I leave that up to you the reader. I will focus on how I am using Haskell to build my project. And this first entry will contain some simple Haskell snippets. Main Like other applications, a Haskell application begins with entry point definition main fu...