Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Followup with my previouu post: Link with RTL Packages

Followup with my previouu post: Link with RTL Packages

I found an issue with LMD Tools whereby
turning off “Link with RTL Packages” gives an error on not able to open Resource
files

I am currently using LMD Tools version:
2020.9 Dec 7, 2020

Here is my problem, solution
and question-WHY!:

I Create new C++Builder 10.4.1
Sydney application and add several LMD components on the form

For this “Project” I turn off Link with
Ddynamic Rtl

For this “Project” I turn off Link with
runtime packages

I Build the proiject and get these
errors

[Link32
Error] Error: Unable to open file "LMDBMPCORE.RES"

[Link32
Error] Error: Unable to open file "LMDBMPX.RES"

[Link32
Error] Error: Unable to perform link.

In an answer to my prior post this is
what I received from
Eugene Balabuev

December 9 edited December 9 Posts: 00

Please find mentioned resource files somewhere in your
LMD installation, and add the corresponding directory in project's settings:

 

1) Include Path

2) Library Path

 

Alternatively, you can add the path globally via
Tools|Options|Language|C++|Paths and Directories

 

I already have set both  in the “Globally” Compiler and Classic Include’s

And both in “Globally” Compiler and Clsssic Library paths

With a build in this configuration, I still get the error

-However:

When I add the path  D:\LMD2020\lib\d27\Win32 to the Projects settings:

I get a good build with no errors:

Question is this WHY?

I never in all of my prior installitions
of LMD Tools dating back to LMD Tools 2003 had to add a path to the “Project”
when I already had a path designated in the  the path globally via
Tools|Options|Language|C++|Paths and Directories.

Why can’t LMD fix the path irregularity?

Comments

  • 1 Comment sorted by Votes Date Added
  • As has been noted before, C++ Builder is very strange about handling library paths. And this is not our reponsibility.
    Btw, at my side it sufficient to add the path to resource files globally into:  

    Tools|Language|C++|Paths and Directories|Compiler|Library path. 

    And there no need to change project settings.
Sign In or Register to comment.