Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7561661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:12:52+00:00 2026-05-30T13:12:52+00:00

I have a large (-ish) GLES2 game implemented for Nokia Harmattan platform on C++.

  • 0

I have a large (-ish) GLES2 game implemented for Nokia Harmattan platform on C++. I would like to port it to iphone. (For the record, it does not depend on any major middleware component but implements its own rendering loop, touch handling, timers etc.)

My idea is to compile the C++ as a static library and use GLKView and GLKViewController to implement a thin objective-C wrapper containing the main loop and basically hook all C++ functionality under update and draw calls (and of course route touch events to the appropriate methods in my codebase).

The question is: How to lay out the project for iphone so that developing it further is least painful? I can see three options:

1) Work solely on command line with makefiles etc. (However, is it possible to do everything on command line, including deploying to iphone?)

2) Use makefiles and such to build all C++ code as a static library outside Xcode and introduce it to Xcode as a makefile or lib.a file and have the objective-C wrapper in Xcode.

3) Put everything under Xcode. (How easy it is to maintain the wrapper and the C++ library as separate components under the same project? Is there a lot of initial work to move the C++ code under Xcode build system?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:12:53+00:00Added an answer on May 30, 2026 at 1:12 pm

    I’ve done similar things and ended up with multiple linked Xcode projects. For a beginner, that’s (arguably) easiest. You can have multiple targets in one Xcode project but that’s a bit more advanced and may not fit your modularization anyway. You can easily have one project for the library and one project for that app (and Xcode will build them all with one keystroke.)

    I didn’t think trying to duplicate all the stuff that Xcode does with Makefiles really feasible. There’s too much framework/multiple arch stuff in there. And you pretty much have to use Xcode to get things on the device anyway.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have large images displayed in a grouped tableview. I would like the images
I am developing a large-ish application in WPF/WCF/NHibernate/etc. and have implemented the MVP pattern
I'm developing a game with AS3 and AIR. I will have a large-ish quantity
I have a large-ish PHP project (hundreds of files) that I've been brought in
I have a large(ish) COM object that works as the back end of my
I have a table with a large(ish) amount of rows 500k, MSSQL Server 2008.
I have a large-ish file (4-5 GB compressed) of small messages that I wish
I have an existing large(ish) PHP web app (using Apache and MySQL) which now
I have a large-ish Visual Studio 2010 solution (~110 C# projects). One project (let's
I have a calendar, and when the user hovers over a cell, a large-ish

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.