Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post Reply
Laertes
Posts: 29
Joined: Fri Apr 27, 2018 1:27 pm

MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post by Laertes »

Good Morning!
I'm trying to compile the MiniBrowser demo and it's giving this error.
I believe that it is an error in the installation or some configuration.

Code: Select all

program MiniBrowser;

{$I cef.inc}

uses
  {$IFDEF DELPHI16_UP}
  Vcl.Forms,
  WinApi.Windows,
  {$ELSE}
  Forms,
  Windows,
  {$ENDIF }
  uCEFApplication,
  uMiniBrowser in 'uMiniBrowser.pas' {MiniBrowserFrm},
  uPreferences in 'uPreferences.pas' {PreferencesFrm},
  uSimpleTextViewer in 'uSimpleTextViewer.pas' {SimpleTextViewerFrm};

{$R *.res}

{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}

begin
  GlobalCEFApp := TCefApplication.Create;

  if GlobalCEFApp.StartMainProcess then
    begin
      Application.Initialize;
      {$IFDEF DELPHI11_UP}
      Application.MainFormOnTaskbar := True;
      {$ENDIF}
      Application.CreateForm(TMiniBrowserFrm, MiniBrowserFrm);
      Application.CreateForm(TPreferencesFrm, PreferencesFrm);
      Application.CreateForm(TSimpleTextViewerFrm, SimpleTextViewerFrm);
      Application.Run;
    end;

  GlobalCEFApp.Free;
  GlobalCEFApp := nil;
end.
Image
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post by salvadordf »

Please, check that CEF4Delphi\source directory is included in the library path as explained in the installation section :

https://www.briskbard.com/index.php?lang=en&pageid=cef
Add the CEF4Delphi's source directory to the Library path in Delphi inside the Tools->Options menu. The Options window will show up and there you have to click on Environment Options->Delphi Options->Library, select the right platform (32 or 64 bits) and add directory in Library path.
Laertes
Posts: 29
Joined: Fri Apr 27, 2018 1:27 pm

Re: MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post by Laertes »

Thank you, now you are giving this alert.
Image
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post by salvadordf »

You need to download the CEF3 binaries and copy the contents from the Release and Resources directories to the BIN directory in CEF4Delphi.

The links to the right CEF3 binaries packages are in the "Readme.md" file.

Please, read this :
https://www.briskbard.com/index.php?lang=en&pageid=cef
Laertes
Posts: 29
Joined: Fri Apr 27, 2018 1:27 pm

Re: MiniBrowser.dpr(54): F2613 Unit 'uCEFApplication' not found.

Post by Laertes »

Thank you, it worked.
Post Reply