Hello,

I have a perfecty working project on GTK1 that uses TDBF for database support. So I thought it would be nice to just see if it works on gtk2 so that any fixed errors can improve gtk2 support.

I checked gtk2 option and went to compile, but I got a:

"Compiling package DBFLaz 0.1.1" completed
/home/felipe/Programação/Galaxia/galaxia.lpr(1,1) Fatal: Can't find unit Interfaces"

If I change the checkbox to gtk1 it will compile normally again and run normally. My IDE is compiled for gtk1.

I have a very updated lazarus from subversion.

The only path configured for my app is "Other sources": $(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/

It looks pretty widget independent to me.

Here is my project file (where it can't find unit Interfaces)

program galaxia;

{$mode objfpc}{$H+}

uses
  Interfaces, // this includes the LCL widgetset
  Forms
  { add your units here }, naves, DBFLaz, calculadora, geral;

begin
  Application.Initialize;
  Application.CreateForm(TjanelaNaves, janelaNaves);
  Application.CreateForm(TjanelaCalculadora, janelaCalculadora);
  Application.Run;
end.

thanks,

Felipe

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to