找回密码
 注册
Simdroid-非首页
查看: 121|回复: 5

[其他] 求教Tahoe安装错误

[复制链接]
发表于 2011-10-19 22:18:04 | 显示全部楼层 |阅读模式 来自 美国
我用的是64-bit Win7 + Cygwin GCC4,执行安装脚本build时最后出错,提示信息如下:

*  Sourceforge name: anonymous@tahoe.cvs.sourceforge.net
* Tahoe server name: NONE@tahoe.ca.sandia.gov
* Colorado server name: NONE@tahoe.colorado.edu
*      architecture: Cygwin-GCC4
*--------------------------------------------------
(0) updating: expat, at 18:53:57
        checking out expat... {U(3), M(0), P(0), C(0)} ok
(0) updating: toolbox, at 18:54:02
        checking out toolbox... {U(388), M(0), P(0), C(0)} ok
(0) updating: tahoe, at 18:54:15
        checking out tahoe... {U(1069), M(0), P(0), C(0)} ok
        creating makefile in expat...... ok
        creating makefile in toolbox...... ok
        creating makefile in tahoe...... ok
(0) initializing: expat toolbox tahoe, at 18:54:15
        initializing expat... ok
        initializing toolbox... ok
        initializing tahoe... ok
(0) building: expat toolbox tahoe, at 18:54:15
        making expat... ok
        making toolbox... ERROR 512. See toolbox/build.log for details.
        making tahoe... ERROR 512. See tahoe/build.log for details.

不知道这个问题出在哪里?ERROR 512是什么错误?请指教!谢谢!
 楼主| 发表于 2011-10-19 22:19:01 | 显示全部楼层 来自 美国
Simdroid开发平台
log文件显示也没有什么具体信息:


make[1]: Entering directory `/home/ligs/tahoe-install/toolbox/pch'
make toolboxPrefix.h.gch
make[2]: Entering directory `/home/ligs/tahoe-install/toolbox/pch'
rebuilding precompiled header file
g++-4 -c -pipe -I/home/ligs/tahoe-install/toolbox/inc -DEIGHT_BYTE_REAL -D__DARWIN__ -DNON_UNIX_STDIO -D__POSIX_THREADS__ -O3 -DNDEBUG -Wno-deprecated     -I/home/ligs/tahoe-install/toolbox/../expat/include -D__EXPAT__                     -x c++-header toolboxPrefix.h -o toolboxPrefix.h.gch
toolboxPrefix.h:9:22: fatal error: iostream.h: No such file or directory
compilation terminated.
make[2]: ** [toolboxPrefix.h.gch] Error 1
make[2]: Leaving directory `/home/ligs/tahoe-install/toolbox/pch'
make[1]: ** [do_build_pch] Error 2
make[1]: Leaving directory `/home/ligs/tahoe-install/toolbox/pch'
make: ** [build_pch] Error 2
回复 不支持

使用道具 举报

发表于 2011-10-22 01:41:09 | 显示全部楼层 来自 英国
日志文件里面已经说得很清楚了,缺少iostream头文件,就是说gcc没装好

不要用Cygwin,推荐msys和mingw,原生速度快
http://code.google.com/p/pcxprj/ ... 7z&can=2&q=
http://code.google.com/p/pcxprj/ ... 7z&can=2&q=
回复 不支持

使用道具 举报

发表于 2011-10-23 02:10:25 | 显示全部楼层 来自 浙江杭州
Tahoe的源码只能用gcc3.X版本来编译,高版本的gcc需要把全部的头文件都换过来
回复 不支持

使用道具 举报

 楼主| 发表于 2011-10-25 01:33:37 | 显示全部楼层 来自 美国
多谢二位
是说要找3.X的头文件替换现在的头文件?
回复 不支持

使用道具 举报

发表于 2011-10-25 13:49:44 | 显示全部楼层 来自 浙江杭州
修改程序,比如 #include<iostream.h> 改成 #include<iostream>

你把系统的头文件替换了别的程序怎么玩啊?
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-3-28 20:12 , Processed in 0.029964 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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