阅读:2065回复:4
求助:DDK编译的问题
我编译walter oney书里面的filter例子,source file 为.cpp类型,可是编译后出现please convert the source file to either DOS or UNIX format错误,该怎么解决啊,高手给点指点~~~
|
|
沙发#
发布于:2008-04-17 09:21
??
1.试试,将源文件COPY到VC中,再重新保存. 2.试试,将源文件改为.c,不过也相当要改SOURCE文件. |
|
板凳#
发布于:2008-04-17 15:23
还是不行啊,出错信息如下:
BUILD: Compile and Link for x86 BUILD: Start time: Fri Mar 23 15:17:07 2007 BUILD: Examining d:\sys directory for files to compile. BUILD: Compiling and Linking d:\sys directory _NT_TARGET_VERSION SET TO WINXP Compiling resources - driver.rc Compiling - driverentry.cpp errors in directory d:\sys d:\sys\stddcls.h : error C4335: Mac file format detected: please convert the sou rce file to either DOS or UNIX format Linking Executable - objfre_wxp_x86\i386\filter.sys link : error LNK1181: cannot open input file 'd:\sys\objfre_wxp_x86\i386\drivere ntry.obj' BUILD: Finish time: Fri Mar 23 15:17:08 2007 BUILD: Done 4 files compiled - 1 Error 1 executable built - 1 Error 哪位高手指点下,急~~ |
|
地板#
发布于:2008-04-17 19:45
d:\sys\stddcls.h : error C4335: Mac file format detected: please convert the sou
rce file to either DOS or UNIX format 把stddcls.h也照上面的方法Convert一下,不就是这个相同的错误吗。 |
|
地下室#
发布于:2008-04-21 16:37
问题解决了,是stddcls.h中的一个非法字符,谢谢大家
|
|