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





Article #18821: Cannot find X.lib or X.h: $(BCB) path isn't working right

 Question and Answer Database

FAQ3821C.txt   Cannot find X.lib or X.h:  $(BCB) path isn't working right
Category   :Linker
Platform    :Windows NT
Product    :   C++Builder1.0   C++Builder3.x

Question:
I'm trying to compile a program that should work, but 
I'm getting strange linker errors:  "Can't find 
.lib" or "Can't find .h".  Those 
files are in the lib directory or in the include 
directory where they should be.

I checked my library path, and it says: 
$(BCB)\LIB;$(BCB)\LIB\OBJ

It seems that for some reason, the $(BCB) environment
variable isn't working correctly.


Answer:
We've seen this only on Windows NT, so far. 

The best way to deal with it is to install Builder 3 to 
a path that has short file names (8 characters or fewer)
such as:
c:\builder3 or c:\borland\builder3


12/30/99
 

Last Modified: 01-SEP-99