m949mm / mobileterminal

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

SDK-branch doesn't compile #211

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run "svn checkout 
http://mobileterminal.googlecode.com/svn/branches/applesdk/ 
mobileterminal-read-only"
2. Open the .xcodeproj-File
3. Build

What is the expected output? What do you see instead?
It's expected to open a freshly compiled version of MobileTerminal
instead, I gain the error "Command 
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed 
with exit code 1" 23 times

What version of the product are you using? On what operating system?
MobileTerminal r464
XCode v3.2.4
OS X 10.6.3

Please provide any additional information below.

Original issue reported on code.google.com by dave.sto...@gmail.com on 2 Oct 2010 at 2:33

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Dave,
I can't reproduce this.  Maybe I can help further if you provide some more 
details such as the output details of one of those failing gcc commands.

Original comment by allen.po...@gmail.com on 2 Oct 2010 at 6:53

GoogleCodeExporter commented 8 years ago
Well, "returned error code 1" is everything I get. What shall I do to get 
further informations?

Original comment by dave.sto...@gmail.com on 2 Oct 2010 at 6:59

GoogleCodeExporter commented 8 years ago
I think on the right side of the window there is an icon that has some 
horizontal lines.  I think that will show the actual output of the gcc command.

Original comment by allen.po...@gmail.com on 2 Oct 2010 at 7:15

GoogleCodeExporter commented 8 years ago
<command-line>: error: "__IPHONE_OS_VERSION_MIN_REQUIRED" redefined
<command-line>: error: this is the location of the previous definition
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
failed with exit code 1

This is the line below which actually shows the error.

Original comment by dave.sto...@gmail.com on 2 Oct 2010 at 8:05

GoogleCodeExporter commented 8 years ago
Do these instructions work for you? 
http://www.cocos2d-iphone.org/forum/topic/9875

Original comment by allen.po...@gmail.com on 2 Oct 2010 at 8:15

GoogleCodeExporter commented 8 years ago
Well, I have no clue where to change these values, but it appears that this is 
no issue in MobileTerminal itself. So, problem solved...more or less

Original comment by dave.sto...@gmail.com on 2 Oct 2010 at 8:19

GoogleCodeExporter commented 8 years ago
You change those values in the project settings.  Perhaps there is an incorrect 
default value in the project settings, but for now i'll mark unless someone has 
more details.

Original comment by allen.po...@gmail.com on 2 Oct 2010 at 8:40

GoogleCodeExporter commented 8 years ago
Alright, tomorrow I'll look for it and try to compile it
I'll provide you with more infos them

Original comment by dave.sto...@gmail.com on 2 Oct 2010 at 8:46

GoogleCodeExporter commented 8 years ago
Hi Dave, did you finally succeed in changing the project setting or ? Cause I 
got the same issue than you did, and didn't succeed...

Original comment by christia...@gmail.com on 16 Oct 2010 at 8:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
See post #5.

Original comment by allen.po...@gmail.com on 18 Oct 2010 at 3:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This issue can be closed.
In a moment where a mixture of compiler-driven rage, pure hate against the 
machine and other various stuff worked together, I found a very dirty way to 
fix.

I opened the package content of the .xproj file and the project properties.
There I changed the 3.2 string to 4.1.

Just in case somebody cares

Original comment by dave.sto...@gmail.com on 8 Feb 2011 at 7:00