The link that you shared do describes the method to build that specific project(CEF) for Linux, MacOS and Windows.
It says:
The CEF examples included in this project can be built using either CMake or Bazel.
And
Using CMake
…
4 #To perform a Linxu build using a CEF binary distribution matching the host
#architecture (x64, ARM or ARM64):
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
The steps don’t indicate/confirm that Visual Studio is needed when performing a Linux build for CEF project. Instead, for performing a Windows build it indicates to use Visual Studio like
#To perform a Windows build using a 64-bit CEF binary distribution:
cmake -G "Visual Studio 17" -A x64 ..
#Then, open build\cef.sln in Visual Studio 2022 and select Build > Build Solution.
So, have you tried the corresponding commands(cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
and make -j4
)? If you got any error message, or blocked, you probably need to confirm with Windows(wsl) team about whether wsl supports the commands and how to run those commands properly.
I added Windows 11
tag on this ticket, for better help.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.