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

Olivier <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Vaclav Slavik wrote:

>>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...
>  
>
A fix would be good, but wouldn't it be possible to change this by 
setting an environment variable? Like the CPPFLAGS=-I/usr/local/include 
that I had to do so that configure would find the db.h file?

>>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 ;)
>  
>
What file should I work on, considering that I only use MINGW and it 
seems that I don't have automake?

Cheers

Olivier Sannier


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
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.