Compiling for iOS

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Compiling for iOS

Postby pHySiQuE » Mon Sep 19, 2011 3:04 pm

In "dgTypes.cpp" on line 518, Xcode is complaining that "_ASSERT was not declared in this scope".

I added "_MAC_VER" to the project, but I don't know if this is correct.

Strangely, if I change this to "_ASSERTE" it builds successfully. Is this an error in the source, or do "_ASSERT" and "ASSERTE" do two different things? :shock:
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Compiling for iOS

Postby pHySiQuE » Tue Sep 20, 2011 11:44 am

No one knows the answer to this? Has anyone used it on iOS?
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Compiling for iOS

Postby Krystian » Tue Sep 20, 2011 12:29 pm

Did you used latest SVN sources? I've had same errors when using 2.33 (or 2.32) and compiling for Android NDK.
Warning: I'm learning C/CPP/ARM-NEON/Newton/AndroidNDK/OpenGL ES, so whatever I post here, keep in mind that I can be totally wrong ;)
Krystian
 
Posts: 26
Joined: Thu Jul 21, 2011 3:11 pm
Location: Poland

Re: Compiling for iOS

Postby pHySiQuE » Tue Sep 20, 2011 1:35 pm

Looks like it must have been a typo in the old version. Both lines say _ASSERTE here:
http://code.google.com/p/newton-dynamic ... gTypes.cpp
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Compiling for iOS

Postby pHySiQuE » Tue Sep 20, 2011 2:23 pm

I tried compiling onto my actual iPhone, and just got tons and tons of errors. Wow. :shock:
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Compiling for iOS

Postby JernejL » Wed Sep 21, 2011 10:05 am

You should talk to Julio directly if you can be given SVN access to commit changes directly, i think it would help you with these mobile ports a lot.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Compiling for iOS

Postby Julio Jerez » Sat Oct 29, 2011 3:56 pm

This is late answer but I could not find any case where I use _ASSERT the engine alway use _ASSERTE
and for nom PC platforms the macros is defined to do nothing
this is in file c:..\newton-dynamics-200\coreLibrary_200\source\core\dgTypes.h

Code: Select all
#if !(defined (_WIN_32_VER) || defined (_WIN_64_VER))
   #define _ASSERTE(x)
#endif


was this issue resolved?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests