Jump to content
Sign in to follow this  
Buiu

Lazarus não compila(Alguém me ajuda)?

Recommended Posts

Código do Project.lpr:

 

program Project1;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, unit1
  { you can add units after this };

{$R *.res}

begin
  RequireDerivedFormResource := True;
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
                                           

Erro:

project1.lpr(9,3) Fatal: Cannot find unit Interfaces used by Project1. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/usr/lib64/lazarus/lcl/units/x86_64-linux/gtk2/interfaces.ppu. Clean up package "LCL"..

O que faço para corrigir o problema/erro? preciso corrigir para criar programas para Linux.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.