Seems that Lazarus can't find madRes.pas. Don't know why. Check the Lazarus paths. The file should be there. About the madTypes.pas complaint: Did you edit madTypes.pas somehow? Lazarus complains about line 80 redefining TAString. But line 80 doesn't contain TAString, it contains TAWideString.
"Seems that Lazarus can't find madRes.pas. Don't know why. Check the Lazarus paths. The file should be there."
To which path to copy madRes.pas? Just copying the folder with my project.
"About the madTypes.pas complaint: Did you edit madTypes.pas somehow? Lazarus complains about line 80 redefining TAString. But line 80 doesn't contain TAString, it contains TAWideString."
Yes, I tried. Original madTypes.pas now copied to the folder of my project and compiled:
I don't really know. I've no experience with Lazarus. I don't know where it expects the source code. Maybe the easiest way out would be to copy madRes.pas to your project folder.
gonzo wrote:Yes, I tried. Original madTypes.pas now copied to the folder of my project and compiled: [...]
I think that's a bug in Lazarus. But anyway, you can probably work around that by changing the "shr 2" to "shr 3" or "shr 4".
Well, then simply replace it with "array [0..100000]" or something. In the worst case you can replace it with "array [0..0]". The reason why madTypes tries to define the arrays as large as possible is that this way you can avoid superfluous compiler warnings when doing pointer math with these types...
The free Turbo Delphi edition doesn't accept any 3rd party precompiled DCUs, so it's not compatible with the commercial madCollection packages. You could manually recompile the freeware madCollection packages with the free Turbo Delphi edition, though.