Главная страница | назад





Article #27705: TLIB Error Unexpected character '?' in command line

Question:

When compiling a library project with C++Builder 5, I get an error message from TLIB reading, "Unexpected character '?' in command line". How do I resolve this problem?

Answer:

If your project has special characters or spaces in its path, you you will encounter this problem. There is a bug in the IDE that seems to strip quote characters from filenames in the command line used to invoke TLIB. Spaces or special characters confuse TLIB when they are not surrounded by quotes.

To resolve this problem, either rename the directories so that they do not include spaces and special characters, or export a makefile for the project (using Project/Export Makefile... from the main menu) and build the library from the command line using MAKE.

Last Modified: 13-MAR-02