| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1250 人关注过本帖
标题:BC31 的奇怪的出错警告:Unable to open include file 'string.h'
只看楼主 加入收藏
grub2linux
Rank: 1
等 级:新手上路
帖 子:335
专家分:0
注 册:2004-12-25
收藏
 问题点数:0 回复次数:1 
BC31 的奇怪的出错警告:Unable to open include file 'string.h'

BC31 的奇怪的出错警告:Unable to open include file 'string.h'

有点奇怪:
好长时间没更新程序了,刚才想改进两个小地方,可是在改好源码(就两个小地方,跟全局无关的)后,编译时出错了:(敢肯定,最上一次成功编译后,一直没动源码!)

出错如下:(BC31)
MAKE Version 3.6 Copyright (c) 1992 Borland International

Available memory 15728640 bytes

bcc -c -O2 -Z -ml crc32.c

Borland C++ Version 3.1 Copyright (c) 1992 Borland International
crc32.c:
Error zutil.h 21: Unable to open include file 'stddef.h'
Error zutil.h 23: Unable to open include file 'string.h'
Error zutil.h 24: Unable to open include file 'stdlib.h'
Error zutil.h 38: Unable to open include file 'errno.h'
Error zutil.h 97: Unable to open include file 'alloc.h'
Error crc32.c 37: Unable to open include file 'limits.h'
*** 6 errors in Compile ***


Available memory 4187800

** error 1 ** deleting crc32.obj

Unable to open include file 'stddef.h'。。。。。。
就是不能打开包含档案,可是这些档案明明有的,INCLUDE的路径也正确

以为是磁盘有问题,换了其他分区上的BC31,也是同样的错误!
(如果是磁盘有问题,怎会碰巧是不同的分区有问题的文件是一模一样的?!)

在纯DOS,用SCANDISK整理后,仍是同样的错误!

在XP,用CHKDSK /F 整理后,仍是同样的错误!

以为是BC31程序有问题,下载了新的BC31,也是同样的错误!

把改了的文件换成原先的文件,仍然是同样的错误!
删掉*。OBJ *。LIB文件仍然不行!

在纯DOS,和XP的COMMAND都是同样的错误!

是用MAKEFILE方式编译的(程序较复杂,不方便用其他方式编译),跟这个应该没关系的吧。(以前都可以的)

(补充:以前曾经遇到过这个问题,可是重启后就好了,这次重启多次就是不行!)

极度地不解中。。。

搜索更多相关主题的帖子: string Unable include open file 
2007-01-13 00:41
绿树叶
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2007-1-13
收藏
得分:0 
你试一下将string.h所在文件夹的名字改为全英文的,
并把此文件夹提到桌面或把其他上级文件夹名改为全英文式的。
2007-01-13 11:57
快速回复:BC31 的奇怪的出错警告:Unable to open include file 'string.h'
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.010790 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved