C++

Eclipse template project with cocos2dx

onedayitwillmake No Comments

I have created an eclipse project template, which contains an SDK project, with a NDK C++ bindings ( done via ‘javah’ build step ), combined with Cocos2dx helloworld project.
I have used it as the base for 2 projects, and figured I would share.

https://github.com/onedayitwillmake/EclipseAndroid_NDK_SDK/tree/cocos2dx

 

Using EclipseLovesCinder template

onedayitwillmake No Comments

About a year ago, I created a template to use the Cinder framework within Eclipse. I still use it all the time, as I still find Eclipse a better C++ editor (although xcode is slowly catching up if you use the compile and use the latest LLVM). I recently decided to revisit it and update it to better fit the workflow I prefer, and fix issues I’ve over time found work arounds for.

With that I decided that it was time to give some new instructions so here they are. I’ll revisit this post with more details, but if pictures are a 1000 words this is a pretty big post.

Better Eclipse Icon for Android Development

onedayitwillmake one comments

Every time I setup eclipse for a new computer, new OS install, or decide to use it for a different language/platform I find myself recreating the icon for it. This usually occurs at the VERY beginning of the affair with a new whatever, so I have plenty of energy and really want to get off on the right foot. It’s kind of part of the fun.

C++11 in Eclipse CDT Part 1 – Getting and Installing GCC4.7

onedayitwillmake one comments

This is the second part of a three part series on using C++0x11 on OSX via Eclipse. If you need a little bit more nudging, you might want to look at Part0 of this series, where I make the case that the Langauge is moving in this direction and as such does not make sense for us to use older outdated tools.

In this post I’ll discuss the process of getting and installing the GCC4.7 compiler. First we need to arm our computer with the right tools.

We’ll be configuring and installing the following tools:

  • Macports: A tool for configuring / building / installing ¬†tools, binaries, etc from terminal on OSX similar to ports or apt-get
  • Xcode 4.2+ : Required for above
  • Xcode 4.2+ Command Line Support: Required to build macports
  • Eclipse CDT: Our editor