【3D技术宅公社】XR数字艺术论坛  XR技术讨论 XR互动电影 定格动画

 找回密码
 立即注册

QQ登录

只需一步,快速开始

调查问卷
论坛即将给大家带来全新的技术服务,面向三围图形学、游戏、动画的全新服务论坛升级为UTF8版本后,中文用户名和用户密码中有中文的都无法登陆,请发邮件到324007255(at)QQ.com联系手动修改密码

3D技术论坛将以计算机图形学为核心,面向教育 推出国内的三维教育引擎该项目在持续研发当中,感谢大家的关注。

查看: 2531|回复: 1

iPhone开发平台Win版放出(中文安装教程)

[复制链接]
发表于 2009-7-31 10:58:24 | 显示全部楼层 |阅读模式
首先准备下载几个软件<br/>cygwin:<a href="http://www.cygwin.com/setup.exe" target="_blank">http://www.cygwin.com/setup.exe</a><br/><u><font color="#810081">Xcode开发包:</font></u><a href="http://rapidshare.com/files/66764258/MacOSX10.4u.sdk.rar" target="_blank">http://rapidshare.com/files/66764258/MacOSX10.4u.sdk.rar</a>不要用迅雷等下载工具直接直接下载,要用浏览器打开,并输入验证码才能下载<br/>Iphone系统镜像:<a href="http://rapidshare.com/files/66747414/iphone_image.rar" target="_blank">http://rapidshare.com/files/66747414/iphone_image.rar</a>不要用迅雷等下载工具直接直接下载,要用浏览器打开,并输入验证码才能下载<br/>上面两个RAR压缩包解压密码为:<font color="red"><strong>aksblog.co.nr</strong></font><br/><br/><br/>例如下载都放在<font color="navy"><strong>C:\tmp\</strong></font><br/>教程中cygwin默认安装在<font color="darkgreen"><strong>C:\cygwin\</strong></font> 如果您更改为其他路径请自行改变<br/><br/>都下载完成后开始下面的操作<br/><br/><br/>首先先安装默认的cygwin 环境,否则接下来的操作会失败<br/><br/><br/>----------------------------------------------------------------------------------------------------------------------------------------------------------------<br/><br/>1.双击setup.exe<br/><img height="77" alt="" src="http://www.cygwin.cn/site/install/images/setup.png" width="149" border="0"/><br/>2.按照安装提示“下一步”<br/>3.选择从“互联网”安装:<br/><img height="391" alt="" src="http://www.cygwin.cn/site/install/images/source.png" width="512" border="0"/><br/>4.选择安装的路径,一般是C:\Cygwin,选择本地临时目录,用于存放下载的软件;选择您连接互联网的方式,一般选“直接连接”就可以了。<br/>5.选择下载源,您可以在下载列表里选择:<font color="#ff0000">http://www.cygwin.cn</font> 或者,直接在URL里输入<font color="#ff0000">http://www.cygwin.cn/pub/</font><br/><img height="389" alt="" src="http://www.cygwin.cn/site/install/images/source2.png" width="505" border="0"/><br/>6.根据安装提示,选择需要安装的软件包,完成安装。<br/>----------------------------------------------------------------------------------------------------------------------------------<br/><br/><br/><br/><br/>打开C:\tmp\setup.exe <br/><span id="attach_51074"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 2331px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_b818f65e9fd8a59e2e32E3WiIjCRnUe8.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51074_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51074&amp;k=372952423fddd88176bdbfdae477c7e4&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>1.jpg</strong></a> (64.03 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/>点击安装界面上的"下一步"<br/>来到下图页面<br/><span id="attach_51075"  style="DISPLAY: none; POSITION: absolute"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_5fe380a548e516a0296eRoRM8qOd6SC9.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51075_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51075&amp;k=6301c5ce6176b7604369287871653f9a&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>2.jpg</strong></a> (38.81 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/><span id="attach_51076"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 2870px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_3494da5fca76cfde1562Z4ZGcgpBgWId.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51076_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51076&amp;k=70dd5bc655e2c90fe51b3dcc014f1540&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>3.jpg</strong></a> (78.93 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/><span id="attach_51077"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 3116px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_5bdd9b69c366077c152cDPtDcabZF9RE.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51077_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51077&amp;k=6870a529a94b14eed080f8ad50b1113b&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>4.jpg</strong></a> (41.44 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/><span id="attach_51078"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 3357px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_47bf804bfebcb0e9b976n81CPXad56h0.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51078_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51078&amp;k=c132be206e8bc3a2d3b090f4ca1fddb3&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>5.jpg</strong></a> (61.83 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/><span id="attach_51079"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 3603px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_62dc1d1f7f12f8ff564dQalKpQE0o3LT.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51079_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51079&amp;k=4685adb75d127a118b10c2f906a8f7ec&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>6.jpg</strong></a> (63.46 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/>到上面的步骤,User URL 这里填写:<a href="http://www.iphonegameover.com/cygwin" target="_blank">http://www.iphonegameover.com/cygwin</a> 然后点击Add按钮,然后点击下一步<br/><span id="attach_51080"  style="DISPLAY: none; LEFT: 253px; POSITION: absolute; TOP: 3871px"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_1f9cb076c3e123bb7c52hQBwpxIqJOgt.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51080_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51080&amp;k=dfc974e38fdd24f3377e5abae6bd7152&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>7.jpg</strong></a> (61.91 KB)<br/>
<div class="t_smallfont">2008-2-3 03:35</div></div><br/>下面的操作全部直接按下一步即可,直到下载安装完毕。<br/><br/><span id="attach_51081"  style="DISPLAY: none; POSITION: absolute"><img src="http://images.weiphone.com/images/weiphone/attachimg.gif" border="0"/></span> <a href="http://www.weiphone.com/thread-63047-1-3.html###zoom"><img    src="http://images.weiphone.com/attachments/day_080203/20080203_e1c51dbb6ff89f55b171Z7zauyBtXIVn.jpg.thumb.jpg" border="0"/></a>
<div class="t_attach" id="attach_51081_menu" style="DISPLAY: none; POSITION: absolute"><img class="absmiddle" alt="" src="http://www.weiphone.com/images/attachicons/image.gif" border="0"/> <a href="http://www.weiphone.com/attachment.php?aid=51081&amp;k=a04636f5d657f6c5398bad174f57123a&amp;t=1249008921&amp;nothumb=yes" target="_blank"><strong>8.jpg</strong></a> (35.52 KB)<br/>
<div class="t_smallfont">2008-2-3 03:42</div></div><br/>完成后把 上图 的2个沟打上,方便运行cygwin<br/>(下载可能会比较慢,请耐心等待下载完毕)<br/><br/>接下来打开下载的<strong><font color="purple">MacOSX10.4u.sdk.rar</font></strong><br/>把压缩包里面的<strong><font color="slategray">Archive.pax.gz</font></strong><br/><strong><font color="#708090"></font></strong><br/><font color="black">解压到</font><font color="royalblue">C:\cygwin\home\Administrator\ </font><font color="black">目录下,没有此目录的话则手工建立该目录</font><br/><font color="#000000">接下来打开下载的 </font><font color="purple"><strong>iphone_image.rar</strong></font><br/>把里面的<strong>iphone image</strong> <font color="black">解压到 </font><strong>C:\cygwin\usr\local\arm-apple-darwin\</strong> <font color="black">目录下</font><br/><font color="#000000">解压完后把<strong>iphone image</strong> 文件夹改名为 </font><font color="darkgreen"><strong>filesystem</strong></font><br/><strong><font color="#006400"></font></strong><br/><strong><font color="#006400">完成以上操作后,基本安装已经完成,接下来在开始菜单运行那里输入"C:\cygwin\Cygwin.bat" </font></strong><br/><br/>屏幕显示 <br/>Checking if /Developer/SDKs/MacOSX10.4u.sdk exists... no!<br/>Do you wish to install the XCode 2.5 header files now? (y/n)<br/><br/><br/>按Y 继续<br/><br/>然后屏幕显示<br/><br/>Found 'Archive.pax.gz' in current directory.<br/>Extracting /home/Administrator/Archive.pax.gz...<br/><br/>这里会很长时间停顿,大概1分钟左右<br/><br/>然后屏幕显示 <br/><br/>Checking if /usr/local/arm-apple-darwin/include exists... checking for a BSD-com<br/>patible install... /usr/bin/install -c<br/>checking for /Developer/SDKs/MacOSX10.4u.sdk/usr/include/TargetConditionals.h...<br/>no<br/>configure: error: You must have a copy of the Mac OS X 10.4 Universal SDK. Pleas<br/>e see the wiki at <a href="http://iphone-dev.googlecode.com/" target="_blank">http://iphone-dev.googlecode.com/</a> for information on how to ob<br/>tain this. If you already have the SDK use a --with-macosx-sdk=path option to sp<br/>ecify the path.<br/>Error: Files don't appear to have been installed!<br/>Would you like to delete this script? (y/n):<br/><br/>按 n 之后关闭cygwin<br/>打开 C:\cygwin\Developer\Developer<br/>把该目录下的SDKs 移动到C:\cygwin\Developer\ 目录下<br/>删除C:\cygwin\Developer\Developer 目录<br/><br/>重新打开cygwin<br/><br/>接下来会自动完成安装,此时屏幕应该显示如下内容<br/><br/>Checking if /usr/local/arm-apple-darwin/filesystem exists... yes<br/>Checking if /Developer/SDKs/MacOSX10.4u.sdk exists... yes<br/>Checking if /usr/local/arm-apple-darwin/include exists... checking for a BSD-com<br/>patible install... /usr/bin/install -c<br/>checking for /Developer/SDKs/MacOSX10.4u.sdk/usr/include/TargetConditionals.h...<br/>yes<br/>configure: creating ./config.status<br/>config.status: creating install-headers.sh<br/>Making directory /usr/local/arm-apple-darwin/include<br/>Finding framework header directories...<br/>Finding base header directories...<br/>Installing header files...<br/>Making directory /usr/local/arm-apple-darwin/include/CoreGraphics<br/>Entering directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/App<br/>licationServices.framework/Frameworks/CoreGraphics.framework/Headers<br/>Installing CGAffineTransform.h<br/>Installing CGBase.h<br/>Installing CGBitmapContext.h<br/>Installing CGColor.h<br/>Installing CGColorSpace.h<br/>Installing CGContext.h<br/>Installing CGDataConsumer.h<br/>Installing CGDataProvider.h<br/>Installing CGDirectDisplay.h<br/>Installing CGDirectPalette.h<br/>Installing CGDisplayConfiguration.h<br/>Installing CGDisplayFade.h<br/>Installing CGError.h<br/>Installing CGEvent.h<br/>Installing CGEventSource.h<br/>Installing CGEventTypes.h<br/>Installing CGFont.h<br/>Installing CGFunction.h<br/>Installing CGGeometry.h<br/>Installing CGGLContext.h<br/>Installing CGImage.h<br/><br/><br/>此部分安装耗时比较久,大概10来分钟。<br/>耐心等待操作完成<br/><br/>完成之后,屏幕显示<br/>Installing vmutils/_NSDWARFAttribute.h<br/>Installing vmutils/_NSSourceInfo.h<br/>All done!<br/>Your toolchain installation is now complete!<br/><br/>你的iphone开发环境已经搭建完毕!<br/>
发表于 2009-9-16 14:42:46 | 显示全部楼层
[em57]那怎么使用呢??<br/><br/>晕&nbsp; 不懂 linux 开发真头疼
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|3D数字艺术论坛 ( 沪ICP备14023054号 )

GMT+8, 2025-5-14 18:56

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表