I try to build CEF with clang 4.0 for cross compiling on Windows 10.
So I downloaded https://bitbucket.org/chromiumembedded/cef/downloads/ , ninja and cmake.
I go into cef directory, rename CmakeList.txt.in in CmakeList.txt, and Start Cmake.
I specified toolchain file for cross compiling, with clang path.
I add ninja path into CMAKE_MAKE_VARIABLE (I am not sure if i must add ninja path) and re generate project.
But I have this message :
- Code: Select all
CMake Error at C:/Toolchain/v9_clang-4.0.0-centos7/x86_64-unknown-linux-gnu/bin/clang++.exe:1:
Parse error. Expected a command name, got unquoted argument with text
"MZ�".
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake:88 (include)
CMakeLists.txt:120 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
So what is wrong ? Can I build cef with clang ?