Re: [poedit-users] Compiling with MingW: What am I doing wrong?

Vaclav Slavik <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Hi,O

livier Sannier wrote:
> >If you could investigate this and find out what exactly fails, it
> >would be most welcome.
>
> The problem lies in the configure script, starting at line 4360. 

(Note that references to configure are useless -- it's generated from 
configure.in and looks differently depending on what version of 
configure you use, so it's only configure.in that is important.)

> It 
> uses wx-config with the --cxxflags that on my system returns this:
>
> -I/usr/local/lib/wx/include/msw-2.4 -D__WXMSW__
> -fno-pcc-struct-return
>
> Problem is that all that is found in
> /usr/local/lib/wx/include/msw-2.4 is the setup.h file, the required
> files are in /usr/local/include.

No, this is not a problem, this is perfectly correct and expected 
behaviour. You confused me a little by saying that it's the detection 
that fails, while in fact there's no problem with that and the real 
problem is that the resource compiler doesn't have /usr/local/include 
as default, as gcc does. This will need a fix on wx-config side...

> Just another question: Is there a special target for the make
> command so that it generates the setup exe file automatically? I

No, but patches are welcome, as always ;)

Regards,
Vaclav

-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBBetckxDYa/UZSZMkRAi98AKClXYhcP2gldsm8EPAI8vZa0pjicgCdEhRp
5qg7BSHxTpt5l+2JccT4HE4=
=XR6f
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.