could not open 'comdlg32.lib': no such file or directory

23 views
Skip to first unread message

Bang He

unread,
Nov 20, 2022, 3:37:03 AM11/20/22
to Chromium-discuss
i use command below to compile chromium/tag107.0.5304.107 on Windows 10 Home.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
set GYP_DEFINES=branding=Chrome buildtype=Official
cd /d E:\chromiumSpace\src

gn args --ide=vs --filters=//chrome --no-deps out\localTag107.0.5304.107
# args.gn file :
proprietary_codecs=true
ffmpeg_branding="Chrome"
is_official_build=true
enable_nacl=false
target_os="win"
target_cpu="x64"

autoninja -C out\localTag107.0.5304.107 chrome
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

then it failed:
[1/49588] LINK(DLL) chrome_wer.dll chrome_wer.dll.lib chrome_wer.dll.pdb
FAILED: chrome_wer.dll chrome_wer.dll.lib chrome_wer.dll.pdb
..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /OUT:./chrome_wer.dll /nologo -libpath:..\..\third_party\llvm-build\Release+Asserts\lib\clang\16.0.0\lib\windows "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\ATLMFC\lib\x64" "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib\x64" "-libpath:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64" /MACHINE:X64 /IMPLIB:./chrome_wer.dll.lib /DLL /PDB:./chrome_wer.dll.pdb @./chrome_wer.dll.rsp
lld-link: [0;31merror: [0mcould not open 'comdlg32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'dbghelp.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'gdi32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'msimg32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'odbc32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'odbccp32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'shell32.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'usp10.lib': no such file or directory
lld-link: [0;31merror: [0mcould not open 'winspool.lib': no such file or directory
[10/49588] CC obj/third_party/dav1d/dav1d_10bit/lf_apply_tmpl.obj
ninja: build stopped: subcommand failed.

how to fix it?

2.png1.png

PhistucK

unread,
Nov 20, 2022, 5:55:03 PM11/20/22
to hezha...@gmail.com, Chromium-discuss
If you go to any of these paths, can you find those .lib files in one of them?
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\ATLMFC\lib\x64" "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\lib\x64" "-libpath:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64" 

PhistucK


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.
Reply all
Reply to author
Forward
0 new messages