s2ilveszter wrote:
summary:
"yeah, my windows binary wx-config does not handle --selected_config, now I see clearly"
"I see now, so monolithic is the only way."

No, i did it with MSYS non monolithic, monolithic i use with CodeBlock only, because there it seems codeblockk needs it.
wx-config has nothing to do with this, the unix/MSYS way you can also do 
monolithic.

./configure --help in wxWidgets well tell how.

So i don't get what your, my windows binary wx-config works fine ( in the MSYS 
shell of course):

db...@s202104 /c/data/tools/Mingw/buildart2dttt
$ wx-config --selected_config
msw-ansi-debug-static-2.8


Klaas Holwerda wrote:
1)
    unzipped wxWidgets-2.8.10.zip to c:\msys1.0
Oke, so we are going for the Unix way, using MSYS.
no, just the dir name was msys1.0

Oke you want windows way, so no wx-config.
So also choose in camek-gui MINGW makefiles generator NOT Msys right.

I see down here use of wx-config, so it is clear you are mixing the two methods up.
I have a wx-config.exe, though it does not handle --selected_config :(

Not on DOS i think.

Where do you find this wx-config.exe ??

I don't have it.

For MSYS i do have:

c:\data\tools\mingw\msys\1.0\local\bin\wx-config

So without .exe, and its a shell script.


maybe that was the main reason it failed

It makes no sence to me where you got it, and why it was used.
These line in FindwxWidgets.cmake define which method is used, and that's the only way i can explain the search for wx-config in your cmake-gui output.
So use delete cache in cmake-gui and choose MinGW Makefiles.
Or remove the whole builddir first, even better.

IF ( ${CMAKE_GENERATOR} STREQUAL "MSYS Makefiles" )
        # remove the standard -O3 option, it does not work
    SET( wxWidgets_FIND_STYLE "UNIX_STYLE_FIND" CACHE STRING "wxWidgets find 
style" FORCE )


IF ( ${CMAKE_GENERATOR} STREQUAL "MinGW Makefiles" )
OPTION( wxWidgets_MINGW_FROM_SOURCE "Use wxWidgets source distribution instead of wxDevCpp devpack" ON)
        # remove the standard -O3 option, it does not work
    SET( wxWidgets_FIND_STYLE "WIN32_STYLE_FIND" CACHE STRING "wxWidgets find 
style" FORCE )
        

No way. Just set the next options right (as you compiled and installed wxWidgest):

wxWidgets_USE_DEBUG
wxWidgets_USE_MONOLITHIC
wxWidgets_USE_STATIC
wxWidgets_USE_UNICODE
"I see now, so monolithic is the only way."


NO, i say set the settings right.
So set the options such that they fit how you compiled wxWidgets.
If you compiled with MONOLITHIC, set wxWidgets_USE_MONOLITHIC on. etc.

Next try,

Klaas



--
Unclassified


------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------

begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to