Forum > Beginners

Newbie Build Question

(1/1)

daleh777:
I will start by saying that I am completely new to Lazarus and Delphi. I have been handed a RAD studio Dephi project to make some small changes to. I don't have RAD studio, but have loaded Lazarus. I used the conversion tool to get it into Lazarus.

When I try to build, I get this error:
Main.pas(9,23) Fatal: Can not find tabs used by Main, ppu=C:\lazarus\fpc\2.6.4\units\i386-win32\fv\tabs.ppu

I don't understand what the error is telling me. I can physically navigate to the tabs.ppu in the location it specifies.

Thanks for any assistance,
Dale

howardpc:
It is probably a name conflict.
FPC has a (legacy) tabs.pas unit that dates from the Free Vision TurboPascal era.
Almost certainly your Delphi project wants to use VCL.Tabs.
A first step would be to completely remove
--- Code: ---... tabs, ...
--- End code ---
from the offending uses clause(s), and see what code is then affected.
Once you know what functionality needs the dependency on the Delphi tabs unit, you can figure out (perhaps with help from this forum) what Lazarus alternatives might be.
Or you might be able to comment out the affected code (if it is non-critical) and get the project to compile. Then figure out how to add back the missing functionality if it is really needed.

Navigation

[0] Message Index

Go to full version