Compile error on glademm project

Richard W.M. Jones rjones at redhat.com
Fri May 29 13:25:34 UTC 2009


On Thu, May 28, 2009 at 10:00:33PM -0300, Fabrício Godoy wrote:
> Hi everyone,
> 
> 
> I can't compile my project using fedora mingw, but can compile using native
> mingw on Windows.
> 
> I've attached 2 log files:
> - make.log: make when using native compiler on Fedora.
> - make-mingw32.log: make when using mingw32 compiler on Fedora.
> 

The major problem you have is this:

i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I.. \
-DNETWORK_LOGGER_GLADEDIR=\""/usr/local/share/network-logger/glade/"\" \
-I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include \
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include \
[...]

There's no way it's going to work if you use native
header files for the cross build.

See also:

http://camltastic.blogspot.com/2008/11/common-mistakes-cross-compiling-mingw.html

Rich.



More information about the mingw mailing list