branch 4147 errors

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.

branch 4147 errors

Postby Jonas » Fri Oct 09, 2020 9:25 am

I am able to build both current branches 4240 and 4183. Now, I would like to build branch 4147, the latest "unsupported" branch, to use with CefSharp. I am following the steps in MasterBuildQuickStart. The steps works until step 8 running ninja. It stops with this error:
Code: Select all
[509/41586] LINK(DLL) libc++.dll libc++.dll.lib libc++.dll.pdb
FAILED: libc++.dll libc++.dll.lib libc++.dll.pdb
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /nologo "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x64" "-libpath:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x86" "-libpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\lib\x86" "-libpath:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86" "-libpath:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86" /IMPLIB:./libc++.dll.lib /DLL /OUT:./libc++.dll /PDB:./libc++.dll.pdb @./libc++.dll.rsp
lld-link: error: undefined symbol: __declspec(dllimport) GetSystemTimeAsFileTime

I see that branch 4147 builds with Windows 10.0.18362 SDK, and I have 10.0.19041 installed. Does 4147 require the earlier SDK, or should it build with the most recent SDK?
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm

Re: branch 4147 errors

Postby magreenblatt » Fri Oct 09, 2020 9:51 am

Each branch requires the SDK version as specified on the BranchesAndBuilding wiki page.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: branch 4147 errors

Postby Jonas » Fri Oct 09, 2020 11:38 am

That was the issue. I didn't realize one could have multiple SDK versions installed and that the CEF branch would find the correct one.
Thank you!
Jonas
Techie
 
Posts: 39
Joined: Thu Jul 10, 2014 2:23 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 98 guests