I'm trying to compile CEF3 in windows to windows, using mingw32. I configured Cmake to create the make file for MinGW Makefiles.
This is the configuration settings...
- Code: Select all
Generator: MinGW Makefiles
Platform: Windows
Project architecture: x86
CEF Windows sandbox: OFF
Visual Studio ATL support: OFF
Standard libraries: comctl32.lib;rpcrt4.lib;shlwapi.lib
Compiler definitions: __STDC_CONSTANT_MACROS;__STDC_FORMAT_MACROS;WIN32;_WIN32;_WINDOWS;UNICODE;_UNICODE;WINVER=0x0603;_WIN32_WINNT=0x603;NOMINMAX;WIN32_LEAN_AND_MEAN;_HAS_EXCEPTIONS=0
C_FLAGS: /MP /Gy /GR- /Zi /W4 /WX /wd"4100" /wd"4127" /wd"4244" /wd"4512" /wd"4701" /wd"4702" /wd"4996"
C_FLAGS_DEBUG: /MTd /RTC1 /Od
C_FLAGS_RELEASE: /MT /O2 /Ob2 /GF /D NDEBUG /D _NDEBUG
CXX_FLAGS: /MP /Gy /GR- /Zi /W4 /WX /wd"4100" /wd"4127" /wd"4244" /wd"4512" /wd"4701" /wd"4702" /wd"4996"
CXX_FLAGS_DEBUG: /MTd /RTC1 /Od
CXX_FLAGS_RELEASE: /MT /O2 /Ob2 /GF /D NDEBUG /D _NDEBUG
EXE_LINKER_FLAGS: /MANIFEST:NO
EXE_LINKER_FLAGS_DEBUG: /DEBUG
EXE_LINKER_FLAGS_RELEASE:
SHARED_LINKER_FLAGS:
SHARED_LINKER_FLAGS_DEBUG: /DEBUG
SHARED_LINKER_FLAGS_RELEASE:
CEF Binary files: d3dcompiler_43.dll;d3dcompiler_47.dll;ffmpegsumo.dll;libcef.dll;libEGL.dll;libGLESv2.dll;pdf.dll;wow_helper.exe
CEF Resource files: cef.pak;cef_100_percent.pak;cef_200_percent.pak;devtools_resources.pak;icudtl.dat;locales
But when i run make, it turns out this ...
- Code: Select all
[ 1%] Building CXX object libcef_dll/CMakeFiles/libcef_dll_wrapper.dir/transfer_util.cpp.obj
g++.exe: error: /MP: No such file or directory
g++.exe: error: /Gy: No such file or directory
g++.exe: error: /GR-: No such file or directory
g++.exe: error: /Zi: No such file or directory
g++.exe: error: /W4: No such file or directory
g++.exe: error: /WX: No such file or directory
g++.exe: error: /wd4100: No such file or directory
g++.exe: error: /wd4127: No such file or directory
g++.exe: error: /wd4244: No such file or directory
g++.exe: error: /wd4512: No such file or directory
g++.exe: error: /wd4701: No such file or directory
g++.exe: error: /wd4702: No such file or directory
g++.exe: error: /wd4996: No such file or directory
libcef_dll\CMakeFiles\libcef_dll_wrapper.dir\build.make:54: recipe for target 'libcef_dll/CMake
Files/libcef_dll_wrapper.dir/transfer_util.cpp.obj' failed
mingw32-make[4]: *** [libcef_dll/CMakeFiles/libcef_dll_wrapper.dir/transfer_util.cpp.obj] Error
1
CMakeFiles\Makefile2:74: recipe for target 'libcef_dll/CMakeFiles/libcef_dll_wrapper.dir/all' f
ailed
mingw32-make[3]: *** [libcef_dll/CMakeFiles/libcef_dll_wrapper.dir/all] Error 2
Makefile:74: recipe for target 'all' failed
mingw32-make[2]: *** [all] Error 2
I have no ideia what the problem is, i don't even know if it is possible to compile using ming32 for windows, since the tutorial asks for the visual studio compiler.
Thanks