Hello,

The main issue when compiling Wt with MinGW was MinGW.org's lack of
std::wstring. But that's not a problem if you are using mingw-w64.

In order to get all the dependencies building, you will need to search
cmake/CMakeLists.txt for if(MSVC) blocks and then change the MSVC-specific
build steps to MinGW build steps. You will need to do this to build Skia,
OpenSSL, PostgreSQL and Boost. OpenSSL and Boost are easy to get building,
just look for the "build OpenSSL with MinGW" and "build Boost with MinGW"
instructions upstream and add an if(MINGW) block. PostgreSQL may be more
difficult, as Makefile generation seems to require MSYS. Skia is doable but
may need this patch:
https://github.com/bnoordhuis/mozilla-central/blob/master/gfx/skia/mingw-fix.patch



On Sun, Nov 9, 2014 at 3:02 PM, K. Frank <kfrank2...@gmail.com> wrote:

> Hi Pau!
>
> On Sat, Nov 8, 2014 at 6:55 PM, Pau Garcia i Quiles
> <pgqui...@elpauer.org> wrote:
> > Hello,
> >
> > It should work.
>
> Do you think that it should work out-of-the-box, so to speak. or
> would I expect to have to make some doable, but significant
> modification to the source code?
>
> > If you want to build Wt with all its dependencies, the easiest way is
> > probably to add support for MinGW to winstng:
> >
> > https://elpauer.assembla.com/spaces/winstng/stream
> >
> > For the parts that may need some work, search for "MSVC" in
> > cmake/CMakeLists.txt
>
> If, figuratively speaking, I just change all occurrences of "nmake"
> to "mingw32-make," should things build correctly, or would I have
> to port the code from msvc to mingw-w32?
>
> If anyone (on either list) has tried building Wt with mingw-w64,
> please summarize your experience -- either positive or negative.
>
>
> Thanks.
>
>
> K. Frank
>
>
> > On Sun, Nov 9, 2014 at 12:00 AM, K. Frank <kfrank2...@gmail.com> wrote:
> >>
> >> Hello Lists!
> >>
> >> How practical is it to use Wt with mingw-w64?  Are there pre-built Wt
> >> binaries for a recent mingw-w64 toolchain?  Would I expect the build
> >> process to be reasonably smooth if I try to build Wt myself?
> >> ...
> >> Thanks.
> >>
> >> K. Frank
> >
> > --
> > Pau Garcia i Quiles
> > http://www.elpauer.org
> > ...
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to