Compile in windows with mingw32 for windows32

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Compile in windows with mingw32 for windows32

Postby saykou » Thu May 07, 2015 9:12 am

Hi guyz,

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 :)
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Compile in windows with mingw32 for windows32

Postby magreenblatt » Thu May 07, 2015 10:51 am

Mingw is not supported. However, this thread provides some information about how to build with it: viewtopic.php?f=6&t=863&p=23715.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Compile in windows with mingw32 for windows32

Postby saykou » Thu May 07, 2015 11:01 am

magreenblatt wrote:Mingw is not supported. However, this thread provides some information about how to build with it: viewtopic.php?f=6&t=863&p=23715.


Thanks magreenblatt, is it possible to compile it with any other opensource tools?
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Compile in windows with mingw32 for windows32

Postby magreenblatt » Thu May 07, 2015 11:14 am

You can compile with Visual Studio 2013 Community edition which is free.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Compile in windows with mingw32 for windows32

Postby saykou » Fri May 08, 2015 3:07 am

magreenblatt wrote:You can compile with Visual Studio 2013 Community edition which is free.

Community is not free for Enterprises. I wonder if Visual Studio express is ...
saykou
Techie
 
Posts: 23
Joined: Wed May 06, 2015 6:22 am

Re: Compile in windows with mingw32 for windows32

Postby MauriceLupin » Sat Jun 27, 2015 10:20 am

Hi, I just compile cef_binary_3.2171.1979_windows32 and cef_binary_3.1650.1562_windows32 with mingw4.9 in winXP SP3 32bits.

requirements:
- Tdm-gcc-4.9.2
- cef_binary_3.1650.1562_windows32
- http://code.google.com/p/make-it-so/

* You must compile libcef_dll_wrapper.vcxproj, use the make-it-so.exe to convert cefclient2008.sln a makefile project. Now you generate the libcef_dll_wrapper.makefile file, which compile with mingw.

ahora agregue a su projecto el libcef.lib y liblibcef_dll_wrapper.a

Excuse my English, I am using a translator.
MauriceLupin
Newbie
 
Posts: 2
Joined: Sat Jun 27, 2015 9:59 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 65 guests