Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

PPU Source: graphics.pp not found error 12 years 5 months ago #2082

  • Bernd Klingesberger
  • Bernd Klingesberger's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
I do have installed the CodeTyphon on Win 7 x86_64 and I'm using the Graphics unit in my library project. I do have searched for the graphics.pp file but I coouldn't find it. What can I do to implement the graphics.pp file.

Please Log in or Create an account to join the conversation.

Re: PPU Source: graphics.pp not found error 12 years 5 months ago #2083

  • Chris
  • Chris's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 4
Hi pegasus0211

it should be in the folder

c:\codetyphon\lazarus\lcl

you shouldn't need to create it.

If you just try and create a new project (from the Project Menu) and choose "Application" it should create a new project with the following "uses" clause on the default unit that's created;

uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;

By default the project will also include the "LCL" in the required packages (the "Graphics" unit is part of this package as are all the other units above - other units may be in other packages) - and the source is in the "c:\codetyphon\lazarus\lcl" folder.

If you're trying to convert a Delphi application then you might need to add the LCL package as a "new requirement" in the Project Inspector.

TheBlackSheep

Please Log in or Create an account to join the conversation.

Re: PPU Source: graphics.pp not found error 12 years 5 months ago #2087

  • Bernd Klingesberger
  • Bernd Klingesberger's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 0
Thx for your tip. Now it's working.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1