Start Newton on the iPhone

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: Start Newton on the iPhone

Postby Relfos » Wed Jun 15, 2011 8:46 am

JernejL wrote:Well you'd have to wait for julio to publish new sdk for mac or just adjust the code slightly to use old parameters, the code should work unless you make use of stuff that was added.

Hmm, I just tried compiling the code using the old precompiled version, but I got lots of linker errors :(

Code: Select all
Undefined symbols for architecture armv6:
  "vtable for __cxxabiv1::__class_type_info", referenced from:
      typeinfo for dgConstraintin libnewton_iPhoneDevice.a(Newton.o)
      typeinfo for dgPolygonSoupDatabasein libnewton_iPhoneDevice.a(Newton.o)
      typeinfo for dgWorkerThreadin libnewton_iPhoneDevice.a(dgWorld.o)
      typeinfo for dgTree<dgEdge, long long>in libnewton_iPhoneDevice.a(dgPolyhedra.o)
      typeinfo for dgList<dgContactMaterial>in libnewton_iPhoneDevice.a(dgContact.o)
      typeinfo for dgCollisionin libnewton_iPhoneDevice.a(dgCollision.o)
  "operator delete(void*)", referenced from:
      dgPolygonSoupDatabase::~dgPolygonSoupDatabase()in libnewton_iPhoneDevice.a(Newton.o)
      dgWorkerThread::~dgWorkerThread()in libnewton_iPhoneDevice.a(dgWorld.o)
      dgWorld::dgSetTrreadRoundMode::~dgSetTrreadRoundMode()in libnewton_iPhoneDevice.a(dgWorld.o)
      dgBroadPhaseCalculateContactsWorkerThread::~dgBroadPhaseCalculateContactsWorkerThread()in libnewton_iPhoneDevice.a(dgBroadPhaseCollision.o)
      dgBroadPhaseMaterialCallbackWorkerThread::~dgBroadPhaseMaterialCallbackWorkerThread()in libnewton_iPhoneDevice.a(dgBroadPhaseCollision.o)
      dgBroadPhaseCellPairsWorkerThread::~dgBroadPhaseCellPairsWorkerThread()in libnewton_iPhoneDevice.a(dgBroadPhaseCollision.o)
      dgBroadPhaseApplyExternalForce::~dgBroadPhaseApplyExternalForce()in libnewton_iPhoneDevice.a(dgBroadPhaseCollision.o)
Relfos
 
Posts: 10
Joined: Tue May 31, 2011 5:31 pm

Re: Start Newton on the iPhone

Postby JernejL » Thu Jun 16, 2011 3:36 am

I'm sorry but then you will have to wait for julio to build a new mac iphone sdk or build one yourself (i have no way how to do that, maybe there's a makefile in repository)
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Start Newton on the iPhone

Postby Relfos » Sat Jun 18, 2011 5:43 pm

Well, I'll try to build it myself then. For what I understand, the iPhone translator is only for generating objective-C headers?
If that's the case I won't need it then. There is no makefile for the library itself, well, there is the linux makefile, I guess I could use that one, but how to specify that I want it compiled for arm6?

EDIT: Just compiled myself a libNewton.a from the latest sources for arm6. It still gives me the same linker errors, something about missing vtables and delete operators :cry:
Relfos
 
Posts: 10
Joined: Tue May 31, 2011 5:31 pm

Re: Start Newton on the iPhone

Postby winstrol » Mon Aug 29, 2011 2:00 pm

Hi I updated my Xcode to 3.2.6, and I have problem with run the project. Xcode tells me:

error: There is no SDK with the name or path 'iphoneos2.2.1'

And there is "Base SDK missing" info in left top corner.
How can I solve this?

Please help me
User avatar
winstrol
 
Posts: 30
Joined: Fri Jul 24, 2009 9:57 pm

Re: Start Newton on the iPhone

Postby mak » Wed Dec 07, 2011 4:49 am

Have a look in your project Build Settings - somewhere there's a "Base SDK" setting, you just need to make sure it's set to "Use Latest" (which will be whatever SDK comes with the XCode build you have installed). I'm on XCode 4, so I can't remember exactly where this is - use the search feature in the build settings to narrow it down (ie. search on "SDK").
User avatar
mak
 
Posts: 8
Joined: Mon Dec 05, 2011 12:36 pm
Location: UK

Re: Start Newton on the iPhone

Postby Julio Jerez » Wed Dec 07, 2011 8:38 am

some how I can not get the lastes xcde from teh apple dev center. how do you get it?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Start Newton on the iPhone

Postby mak » Wed Dec 07, 2011 11:40 am

Aha... if you have Lion installed, you can only get XCode through the App Store now.

Same might be true for Snow Leopard - Apple have decided that "App Store roolz" for some reason.
User avatar
mak
 
Posts: 8
Joined: Mon Dec 05, 2011 12:36 pm
Location: UK

Re: Start Newton on the iPhone

Postby Julio Jerez » Wed Dec 07, 2011 4:25 pm

I think I have lsnow leopard, I am not sure. Late I am very unhappy with Apple, they are getting a very big swell head.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Start Newton on the iPhone

Postby mak » Mon Dec 12, 2011 6:46 am

I can stick the XCode 4.2 / iOS 5 dmg on an FTP for you if you need it.
User avatar
mak
 
Posts: 8
Joined: Mon Dec 05, 2011 12:36 pm
Location: UK

Re: Start Newton on the iPhone

Postby Julio Jerez » Mon Dec 12, 2011 7:50 am

mak wrote:I can stick the XCode 4.2 / iOS 5 dmg on an FTP for you if you need it.

so far now matter what I do I get a nasty message that I nee to be a register. I am register but they do no even reply.

can you do that?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Start Newton on the iPhone

Postby mak » Mon Dec 12, 2011 9:39 am

I'll PM the details across ;)

[EDIT] Hrm... my PM to you is just sat there in the Outbox...
User avatar
mak
 
Posts: 8
Joined: Mon Dec 05, 2011 12:36 pm
Location: UK

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron