Recent

Author Topic: Can't install CEF3.3  (Read 2578 times)

lainz

  • Hero Member
  • *****
  • Posts: 4741
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Can't install CEF3.3
« Reply #15 on: January 30, 2025, 09:22:51 pm »
It seems that DCPcrypt is only used to determine the SHA256 hash:
https://github.com/salvadordf/CEF4Delphi/blob/f0f4de8b3b5e69d0b9353a374093959712c56bb2/source/uCEFOAuth2Helper.pas#L121
So it can be replaced by analogous functions from FCL.

Thanks for looking.

Thaddy, is not for https, in this case  :)

bbd666

  • New Member
  • *
  • Posts: 42
Re: Can't install CEF3.3
« Reply #16 on: January 31, 2025, 12:10:52 pm »
No, that doesn't work.
i've copied the 2 folders in the _components/CEF4Delphi/bin directory
and I get the error msg :

unsupported CEF version !

Use only the CEF binaries specified in the CEF4Delphi
Readme.md file at https://github.com/salvadordf/CEF4Delphi

Expected lib.cef.dll version : 131.4.1.0
Found libcef.dll version : 132.3.1.0
« Last Edit: January 31, 2025, 01:41:51 pm by bbd666 »

paweld

  • Hero Member
  • *****
  • Posts: 1575
Re: Can't install CEF3.3
« Reply #17 on: January 31, 2025, 01:39:15 pm »
CEF binary files must be in a directory together with the exe file.
Best regards / Pozdrawiam
paweld

chiong

  • Newbie
  • Posts: 6
Re: Can't install CEF3.3
« Reply #18 on: January 31, 2025, 01:44:43 pm »
1. install DCPcrypt if you don't already have it installed - in Lazarus IDE:
    a. Package > Online Package Manager
    b. select the DCPcrypt package.
    c. click Install.
    d. rebuild the IDE
2. download the CEF4Delphi package from: https://github.com/salvadordf/CEF4Delphi/archive/refs/tags/131.0.6778.265.zip
3. unzip the file
4. rename the unzipped folder to: CEF4Delphi
5. create a new folder _components in the Lazarus installation folder, e.g. C:\Lazarus
6. move the CEF4Delphi folder to C:\Lazarus\_components
7. launch the Lazarus IDE
8. package > Open package file
9. select: C:\Lazarus\_components\CEF4Delphi\packages\cef4delphi_lazarus.lpk
10. click Compile.
11 Click Use > Install.
12. rebuild the IDE

Thank yo paweld. I had managed to install the chromium component - finally. But when I tried running the demos , none seem to work. As an example the fullscreen demo generated 4 errors & below is one of them :

uMainForm.pas(144,36) Error: Identifier not found "CEF_WOD_NEW_FOREGROUND_TAB"

These seem to be a member of a set.  Is there something missing ?  Thank you for your kind attention.

bbd666

  • New Member
  • *
  • Posts: 42
Re: Can't install CEF3.3
« Reply #19 on: January 31, 2025, 01:46:18 pm »
they are

lainz

  • Hero Member
  • *****
  • Posts: 4741
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Can't install CEF3.3
« Reply #20 on: January 31, 2025, 02:01:51 pm »
Here:

https://www.briskbard.com/index.php?lang=en&pageid=cef#links

You have the correct versions to download.

paweld

  • Hero Member
  • *****
  • Posts: 1575
Re: Can't install CEF3.3
« Reply #21 on: January 31, 2025, 02:08:15 pm »
Earlier I gave links to the main version, and you need to download the version according to the version of the component, that is 131.4.1, sorry.

for win32: https://cef-builds.spotifycdn.com/cef_binary_131.4.1%2Bg437feba%2Bchromium-131.0.6778.265_windows32.tar.bz2
for win64: https://cef-builds.spotifycdn.com/cef_binary_131.4.1%2Bg437feba%2Bchromium-131.0.6778.265_windows64.tar.bz2
Best regards / Pozdrawiam
paweld

bbd666

  • New Member
  • *
  • Posts: 42
Re: Can't install CEF3.3
« Reply #22 on: January 31, 2025, 02:14:16 pm »
Ok Thks Paweld for kindness and patience.
That's alright now.

 

TinyPortal © 2005-2018