diego1996 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

IPhoneDemo build error for 1180 #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download source code v1180
2. follow build instructions in wiki to build for iOS

What is the expected output? What do you see instead?
There is one build error reported by Xcode. In _detectCpuIdentifier(void), 
around the line:
                case CPU_SUBTYPE_ARM_V7S:
Xcode complains "use of undeclared identifier 'CPU_SUBTYPE_ARM_V7S'.

What version of the product are you using? On what operating system?
OSX Mountain Lion
Xcode 4.4

Original issue reported on code.google.com by afterb...@gmail.com on 8 Sep 2012 at 7:20

GoogleCodeExporter commented 9 years ago
Hmm,..not sure. Afaik these defines (like  CPU_SUBTYPE_ARM_V7) are defined in 
the os's machine.h 
Since these seem to be new arm-types I have things in mind:
1: You have code 4.4? What iOS-version is included? Maybe these subtypes get 
known in newer iOS-version 5.1->6.0!?
Which leads me to 
2: Comment these lines :D

Hmm,..when did this error occur? When compiling for simulator or device?

Original comment by thomas.t...@googlemail.com on 8 Sep 2012 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hmm, when updating ogre is used the latest trunk (which is 2.0 not 1.9) this 
seems to be fixed already in 1.9:
https://bitbucket.org/sinbad/ogre/changeset/1618da2b6b00/

I will fix that today.

Original comment by thomas.t...@googlemail.com on 8 Sep 2012 at 10:18

GoogleCodeExporter commented 9 years ago
Ok, I finally did following:
- swapped ogre2.0->ogre1.9-branch
- quick-fixed a gles-bug in ogre-renderer
- tested on successfully on device (gles)
- burned the whole day for that ;D

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 1:06

GoogleCodeExporter commented 9 years ago
Wonderful! Two thumbs up for the effort.

Original comment by afterb...@gmail.com on 9 Sep 2012 at 7:34