On Tue, Jun 14, 2016 at 10:24:18PM +0200, Georg Baum wrote:
> Scott Kostyshak wrote:
> 
> > Thanks to your comment, I realized that when I copy the master directory
> > to e.g. master-mingw, the lyx-dependencies folder came with the copy. I
> > removed that directory, and then removed the monolithic build option,
> > and now it works for me.
> 
> To me it does rather look like a copied build folder caused the errors, 
> because the build folder contained .cpp files produced by the wrong moc.
> 
> > With the monolithic build option, it still fails for me.
> > 
> > Does that give us a clue for how to fix the build for me with the
> > monolithic build option? Note that the monolithic build works fine for
> > me when building normally (with both autotools and CMake)
> 
> Unfortunately I have no idea, but I don't trust monolithic builds anyway. 
> They produce a lot more interaction between different parts of the sources, 
> and IIRC the compiler is also allowed to do clever optimizations inside one 
> compilation unit. My guess would be that you see something like that.

OK good to know.

> The xmingw script works fine for me BTW with the monolithic build.

What is your version? Kornel has 4.8.2 and it works for him.

It does not work for me with either

$ i686-w64-mingw32-g++ --version
i686-w64-mingw32-g++ (GCC) 4.9.2

or

$ /usr/bin/i686-w64-mingw32-g++ --version
i686-w64-mingw32-g++ (GCC) 5.3.1 20160211

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to