Klaas Holwerda escribió:
> Hi,
>
> Yesid Hernandez wrote:
>   
>> Hi,
>>
>> Well again some minGW problems, I will describe the step I followed in 
>> order to compile. The first thing is that I'm not using the MSYS package 
>> just the MinGW, this is because with MSYS the wxWidgets has to be done 
>> with configure and I don't want that.
>>     
>
> But why not?
>
>   
That's because I'm using the code::blocks IDE, this IDE look for the 
wxWidgets libs in the lib/gcc_msw directory, if I use MSYS I should use 
./configure this work but then C::B doesn't find wxWidgets although I 
copy exactly the files where should be.
> At the moment i check if MINGW is used, and in that case i use the Unix Style.
> So that means one did configure and compile with MingW.
> I was not aware another way is possible, but i read now, that there is a 
> makefile.gcc.
> I don't know how cmake detects Mingw, but certainly it does not know about 
> how to choose one way or the othere in build 
> style. So that would require an option, or at least a test i think.
>
> IF(WIN32)
>      IF( CYGWIN OR MINGW )
>          SET( wxWidgets_FIND_STYLE "UNIX_STYLE_FIND" CACHE STRING "wxWidgets 
> find style" FORCE )
>      ELSE( CYGWIN OR MINGW )
>          SET( wxWidgets_FIND_STYLE "WIN32_STYLE_FIND" CACHE STRING "wxWidgets 
> find style" FORCE )
>      ENDIF( CYGWIN OR MINGW )
> ENDIF(WIN32)
>
>
>
>   
>> So for wxWidgets I compiled ok, using the makefile.gcc in the build/msw 
>> directory. Then probed the minimal example and compiled wxSTC. In this 
>> step everything ok, the libs are created in the lib/gcc_mswd directory.
>>     
>
> Is there anything to set in the environment before using makefile.gcc?
>
>   
Not there is nothing else that run: mingw32-make -f makefile.gcc BUILD = 
debug
>> Then I tried to use cmake and I get the error that wxWidgets is not 
>> found. I set the WXWIN variable, this time to c:/wxWidgets-2.8.3, I 
>> don't know what exactly is the FindwxWidgets script looking.
>>     
>
> I know, and it would require some changes.
>
>   
>> Any help with this will be appreciate, in the other hand I want to 
>> report another compilation working with vc++ 6 and wxWidgets-2.8.3, but 
>> right now I really need this working with gcc.
>>
>>     
>
> Maybe it is easy, but i don;t know yet.
> But i would be interested to know why this is needed first.
>
> Klaas
>
>   
I just want to compile my app with mingw to test it al least with all my 
known compilers on windows.

I will do some more tests and let you know anything, I think I'd go 
deeper into the FindWxWigets file. The other think I will do is to test 
it with MSYS although for this moment this does not work for me but to 
let you know and the other users.

Regards,

Ibraim

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wxart2d-users_dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to