A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Julio Jerez » Tue Jul 29, 2008 2:29 pm
I build the two of then, I even try to run the arm7 version in the mac pro and I got the error telling me the code was wrong.
I do not know why the two of them aren't there, but I beleive ther is not problem with it.
I will make so that it is intalled into two seperate sub folders and the will remove the possibility of confution.
do not worrie I will post it again tonight.
On a side note, I also found that Visual studio 2008 when installed in Vista64, it also offer the posibility to make ARM7 libraries.
I discovered that by accident when I was making the win64 bit project,
What other devices are there using the same CPU? maybe other phones?
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Wed Jul 30, 2008 11:25 am
Ok the libraries with armv6 and emulation are ready try download again.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by brianhammond » Wed Jul 30, 2008 5:27 pm
Julio Jerez wrote:Ok the libraries with armv6 and emulation are ready try download again.
- Code: Select all
$ ar x libinewtonNative.a
$ file *.o
Newton.o: Mach-O object arm
NewtonAproximateConvexPartition.o: Mach-O object arm
NewtonClass.o: Mach-O object arm
NewtonHeightFieldCollision.o: Mach-O object arm
NewtonMeshEffect.o: Mach-O object arm
NewtonStdAfx.o: Mach-O object arm
dg.o: Mach-O object arm
...
Cool, that should do it. Now I just need to write my code!
I am porting some code I wrote for Ogre and OgreNewt to straight OpenGL ES and Newton (no OgreNewt). I'll keep you posted; it'll take a number of weeks.
Thanks.
-
brianhammond
-
- Posts: 14
- Joined: Thu Sep 06, 2007 7:59 pm
by brianhammond » Thu Aug 21, 2008 2:01 pm
I haven't had any time yet to try out Newton 2.0 for iPhone yet. I did notice something that will be useful for others. You'll notice that the simulator is i386 but the iPhone is arm based. You thus have 2 static libraries for Newton (i386, arm). When building for the simulator, you'd assume that you'd only link against the i386 version of Newton and when building for the device, you'd only link against the arm version.
You don't have to do that. Just include both libraries in your link build stage. XCode/gcc/ld will only use the library that matches the architecture of your target. Saves some setup time.
-
brianhammond
-
- Posts: 14
- Joined: Thu Sep 06, 2007 7:59 pm
by Embedded » Tue Sep 23, 2008 10:03 pm
Hi guys,
many many thanks for the makefile to compile and link static librarys!
-
Embedded
-
- Posts: 1
- Joined: Tue Sep 23, 2008 9:57 pm
by ts_spring » Fri Sep 26, 2008 4:15 pm
Hi Julio,
Thanks for making the static library for the iphone. I could not find the file libinewton.a in the mac download. Is it still available somewhere ?
best regards
-
ts_spring
-
- Posts: 1
- Joined: Fri Sep 26, 2008 4:07 pm
by Julio Jerez » Fri Sep 26, 2008 5:20 pm
It is in the 2.0 Mac SDK, send me a PM
-
Julio Jerez
- Moderator
-
- Posts: 12249
- 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 4 guests