Recent

Author Topic: Newbie Build Question  (Read 1695 times)

daleh777

  • Newbie
  • Posts: 1
Newbie Build Question
« on: January 08, 2015, 10:21:04 pm »
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

  • Hero Member
  • *****
  • Posts: 4144
Re: Newbie Build Question
« Reply #1 on: January 08, 2015, 11:30:44 pm »
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: [Select]
... tabs, ... 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.

 

TinyPortal © 2005-2018