Board index » cppbuilder » Unable to open file "****.lib"

Unable to open file "****.lib"

I had ever installed one component, now new a Project , so I delete
that package from palette,and remove its path from
directories/conditionals -> library path , so library path just leave
$BCB\lib;$BCB\lib\obj; ,and then compile my new Project appear "Unable
to open file Trouble.lib", I tried enable/disable each itesm from
Project -> Option ->Linker/Packages, but this problem is still exist
during linking time. The Project.bpr text is below:
How to remove that Trouble.lib forever?

---------omit-------------
VERSION = BCB.04.04
---------------------------------------------------------------------------
PROJECT = Project.exe
OBJFILES = Main.obj Project.obj
RESFILES = Project.res
RESDEPEN = $(RESFILES) Main.dfm
LIBFILES =
LIBRARIES = dclocx40.lib tee40.lib teedb40.lib teeui40.lib\
            vcldbx40.lib   ibsmp40.lib vcldb40.lib qrpt40.lib\
            bcbsmp40.lib nmfast40.lib vcljpg40.lib vclx40.lib\
            Trouble.lib VCL40.lib
SPARELIBS = VCL40.lib DLPortIO.lib vclx40.lib vcljpg40.lib\
            nmfast40.lib bcbsmp40.lib qrpt40.lib vcldb40.lib\
            ibsmp40.lib vcldbx40.lib teeui40.lib teedb40.lib\
            tee40.lib dclocx40.lib
PACKAGES = VCL40.bpi VCLX40.bpi VCLJPG40.bpi bcbsmp40.bpi QRPT40.bpi\
           VCLDB40.bpi ibsmp40.bpi VCLDBX40.bpi TEEUI40.bpi\
           TEEDB40.bpi TEE40.bpi nmfast40.bpi dclocx40.bpi
--------omit----------------

 

Re:Unable to open file "****.lib"


Hi Ricky

I had the same problem, and the "low-level" solution to the problem is
simply to edit the *.bpr with a text editor and remove the Trouble.lib from
the LIBRARIES section.

Kim Hellan

Quote
Ricky Jeng wrote in message <37b13e79.5865...@forums.inprise.com>...

>I had ever installed one component, now new a Project , so I delete
>that package from palette,and remove its path from
>directories/conditionals -> library path , so library path just leave
>$BCB\lib;$BCB\lib\obj; ,and then compile my new Project appear "Unable
>to open file Trouble.lib", I tried enable/disable each itesm from
>Project -> Option ->Linker/Packages, but this problem is still exist
>during linking time. The Project.bpr text is below:
>How to remove that Trouble.lib forever?

>---------omit-------------
>VERSION = BCB.04.04
>---------------------------------------------------------------------------
>PROJECT = Project.exe
>OBJFILES = Main.obj Project.obj
>RESFILES = Project.res
>RESDEPEN = $(RESFILES) Main.dfm
>LIBFILES =
>LIBRARIES = dclocx40.lib tee40.lib teedb40.lib teeui40.lib\
>            vcldbx40.lib   ibsmp40.lib vcldb40.lib qrpt40.lib\
>            bcbsmp40.lib nmfast40.lib vcljpg40.lib vclx40.lib\
>            Trouble.lib VCL40.lib
>SPARELIBS = VCL40.lib DLPortIO.lib vclx40.lib vcljpg40.lib\
>            nmfast40.lib bcbsmp40.lib qrpt40.lib vcldb40.lib\
>            ibsmp40.lib vcldbx40.lib teeui40.lib teedb40.lib\
>            tee40.lib dclocx40.lib
>PACKAGES = VCL40.bpi VCLX40.bpi VCLJPG40.bpi bcbsmp40.bpi QRPT40.bpi\
>           VCLDB40.bpi ibsmp40.bpi VCLDBX40.bpi TEEUI40.bpi\
>           TEEDB40.bpi TEE40.bpi nmfast40.bpi dclocx40.bpi
>--------omit----------------

Other Threads