为什么Borland C ++ Builder 5命令行编译器找不到我的文件?

时间:2021-11-23 00:13:54

I have a bcb5 project group that I am trying to compile with make.exe. Make seems to run fine and generates a call to bcc32.exe, but that fails. Here is the call to bcc32.exe followed by the error.

我有一个bcb5项目组,我试图用make.exe编译。 Make似乎运行正常并生成对bcc32.exe的调用,但是失败了。这是对bcc32.exe的调用,后跟错误。

M:\projects\Project>"D:\Program Files\Borland\CBuilder5\Bin\bcc32.exe" -Od
-H=.\obj_files\vcl50.csm -Hc -Vx -Ve -X- -a8 -5 -b- -k- -vi -c -tW   -tWM -w
-par -IP:\b5\crc32\ISC\;Query;Z:\Bin\;Help;pas;D:\PROGRA~1\Borland\CBUILD~1\bin\
..\include;D:\PROGRA~1\Borland\CBUILD~1\bin\..\include\vcl;DataCenter;"P:\b5\Gif
Image\" -D;NO_STRICT;_RTLDLL -nobj_files\ help\chelp.cpp

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

Error E2266: No file names given

It appears to me that the file is obviously 'chelp.cpp'. What's wrong here?

在我看来,该文件显然是'chelp.cpp'。这有什么不对?

2 个解决方案

#1


Thanks for the idea, strager. It was close, but the actual problem is the set of quotes around P:\bg\Gif Image. Changing them to single quotes fixes the problem.

谢谢你的想法,直截了当。它很接近,但实际问题是围绕P:\ bg \ Gif Image的引号集。将它们更改为单引号可以解决问题。

I believe this can be also be solved with FixMake: http://www.grassvalleysoftware.com/. FixMake takes a makefile and cleans up things such as trailing backslashes and escaped quotations.

我相信这也可以通过FixMake解决:http://www.grassvalleysoftware.com/。 FixMake接受一个makefile并清理诸如尾部反斜杠和转义引用之类的东西。

#2


A guess is that -nobj_files\ (near the end of the command) is causing the next space to be excaped. Try excaping the \ or removing it.

猜测是-nobj_files \(接近命令的末尾)导致下一个空格被释放。尝试删除\或删除它。

#1


Thanks for the idea, strager. It was close, but the actual problem is the set of quotes around P:\bg\Gif Image. Changing them to single quotes fixes the problem.

谢谢你的想法,直截了当。它很接近,但实际问题是围绕P:\ bg \ Gif Image的引号集。将它们更改为单引号可以解决问题。

I believe this can be also be solved with FixMake: http://www.grassvalleysoftware.com/. FixMake takes a makefile and cleans up things such as trailing backslashes and escaped quotations.

我相信这也可以通过FixMake解决:http://www.grassvalleysoftware.com/。 FixMake接受一个makefile并清理诸如尾部反斜杠和转义引用之类的东西。

#2


A guess is that -nobj_files\ (near the end of the command) is causing the next space to be excaped. Try excaping the \ or removing it.

猜测是-nobj_files \(接近命令的末尾)导致下一个空格被释放。尝试删除\或删除它。