Mad-Pascal icon indicating copy to clipboard operation
Mad-Pascal copied to clipboard

Problem locating units on OSes with case sensitive file names

Open woj76 opened this issue 1 year ago • 1 comments

I just went through a long session of trying to figure out why the program that says:

uses stringUtils;

does not compile complaining that unit stringutils cannot be found, even though the library path was set correct. Turns out that on my Linux mp looking for stringutils.pas will never find it, because the file is named stringUtils.pas. Making a soft link stringUtils.pas -> stringutils.pas solved the problem.

woj76 avatar May 22 '24 20:05 woj76

I think the only way to make everything work as expected on case-sensitive file systems is to use the correct case. Is the "uses stringUtils;" somewhere in the Mad Pascal main source/examples, or was it in your own code?

peterdell avatar Feb 16 '25 13:02 peterdell