libcef.dll.pdb error

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

libcef.dll.pdb error

Postby ninad3d » Wed Jan 24, 2024 6:05 am

While attempting to create a Debug build of CEF/Chromium using Ninja, I have encountered the issue depicted in the attached screenshot.

I am seeking assistance in identifying the root cause of this problem. Any guidance or support would be greatly appreciated.

thanks..!!
Attachments
libce-dll.PNG
libce-dll.PNG (37.7 KiB) Viewed 895 times
ninad3d
Techie
 
Posts: 20
Joined: Wed Mar 04, 2020 12:20 am

Re: libcef.dll.pdb error

Postby magreenblatt » Wed Jan 24, 2024 1:19 pm

What branch are you building? What are your GN_DEFINES?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: libcef.dll.pdb error

Postby ninad3d » Thu Jan 25, 2024 1:00 am

Here are my update and create scripts:

Code: Select all
set GN_DEFINES=is_component_build=true
set GN_ARGUMENTS=--ide=vs2022 --sln=cef --filters=//cef/*
python3 ..\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --branch=6099 --minimal-distrib --client-distrib --force-clean --x64-build --with-pgo-profiles --no-distrib --no-build


Code: Select all
set GN_DEFINES=is_component_build=false proprietary_codecs=true ffmpeg_branding=Chrome use_debug_fission=true
set GN_ARGUMENTS=--ide=vs2022 --sln=cef --filters=//cef/*
call cef_create_projects.bat
ninad3d
Techie
 
Posts: 20
Joined: Wed Mar 04, 2020 12:20 am

Re: libcef.dll.pdb error

Postby magreenblatt » Thu Jan 25, 2024 11:13 am

If you intended to create an x64 build then you should be using “out\Debug_GN_x64”. That will likely fix your issue.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: libcef.dll.pdb error

Postby ninad3d » Mon Jan 29, 2024 2:47 am

Tried the `Debug_GN_x64` build, but encountered the same error.
Attachments
x64.PNG
x64.PNG (37.24 KiB) Viewed 683 times
ninad3d
Techie
 
Posts: 20
Joined: Wed Mar 04, 2020 12:20 am

Re: libcef.dll.pdb error

Postby magreenblatt » Mon Jan 29, 2024 9:33 am

You need to use “set GN_DEFINES=is_component_build=true” in both scripts.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: libcef.dll.pdb error

Postby ndesktop » Mon Jan 29, 2024 4:25 pm

Might also worth checking Issue 1329479: win32-official PDB files for unit_tests exceeding 4 GiB for possible hints regarding /pdbpagesize on x86.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: libcef.dll.pdb error

Postby ninad3d » Tue Jan 30, 2024 4:34 am

magreenblatt wrote:You need to use “set GN_DEFINES=is_component_build=true” in both scripts.


After configuring "GN_DEFINES=is_component_build=true" in both scripts, the Debug build was successful.

Thank you..!
ninad3d
Techie
 
Posts: 20
Joined: Wed Mar 04, 2020 12:20 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 202 guests