s2ilveszter wrote:

wxWidgets-2.8.x\contrib\build\stc (may not obvious for newbies)

Oke, seems to be done.


another thing if I add/set something within System/.../Environment settings, and press apply and ok after it open a cmd and run "set", it does have the settings before my changes.

That is really strange, since indeed you need to open a new cmd to have them.
Even if starting cmd from within something as explorer, you need to start a new 
explorer first.
Therefore is normally just define all in the cmd itself.


my newest attempt
summary: failed :(

To bad, and what is it where things go wrong??




1)
    unzipped wxWidgets-2.8.10.zip to c:\msys1.0

Oke, so we are going for the Unix way, using MSYS.


So are you sure you are working with the MSYS shell?
And not with cmd dos box!

MSYS is meant to be used as a Unix shell, and unix paths etc.
When you start the MSYS shell, the environment is converted (PATHS also, but 
check them).

You can even use "cd c:" instead of "cd /c"
But you better use all the unix way.

I see down here use of wx-config, so it is clear you are mixing the two methods 
up.

http://wxart2d.org/moin/MinGWMSys

OR

http://wxart2d.org/moin/MinGW

Oke :-)


2)
    C:\msys1.0\wxWidgets-2.8.10\build\msw>
mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=0 UNICODE=1

Not Oke.
But this is not the MSYS way, but the cmd DOS way. You should not mix them.
So make instead of mingw32-make.

Later one you must make install.
So something like:

cd /c/MinGW/buildwxdeb
../wxWidgest2.8.10/configure --with-msw --enable-debug --enable-debug_gdb --disable-shared --with-opengl

3)
    C:\msys1.0\wxWidgets-2.8.10\contrib\build\stc>
mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=0 UNICODE=1

Same here.

4)
    cvs wxArt2D into C:\msys1.0\wxArt2D\

I have them here.

db...@s202104 ~
$ export WXART2D=/c/data/tools/mingw/wxArt2D

db...@s202104 ~
$ export WXWIN=/c/data/tools/mingw/wxWidgets-2.8.10

db...@s202104 ~
$ echo $WXWIN
/c/data/tools/mingw/wxWidgets-2.8.10

db...@s202104 ~
$ echo $WXART2D
/c/data/tools/mingw/wxArt2D

$ echo $PATH
.:/usr/local/bin:/mingw/bin:/bin:/c/data/tools/cmake/bin :ETC.

db...@s202104 ~
$ wx-config --selected-config
msw-ansi-debug-static-2.8

5)
environment settings DO THIS within cmd!!! not in Control panel/system/...:
        set WXWIN=C:\msys1.0\wxWidgets-2.8.10

Wrong MSYS shell. I am sorry, i take to much for granted, will add more to the 
docs.

        set WXART2D_DIR=C:\msys1.0\wxArt2D
        set WXART2D_ART=C:\msys1.0\wxArt2D\art

Don't need this.


6)
    added these lines into C:\msys1.0\wxArt2D\bin\FindwxWidgets.cmake
    (otherwise my cmake-gui does not find wx)
        SET(wxWidgets_ROOT_DIR c:/msys1.0/wxWidgets-2.8.10)
        SET(wxWidgets_LIB_DIR c:/msys1.0/wxWidgets-2.8.10/lib)
        SET(wxWidgets_CONFIGURATION msw-unicode-release-static-2.8)
        SET(wxWidgets_USE_UNICODE 1)
        SET(wxWidgets_USE_DEBUG 0)

This is not the idea.
Just WXART2D and WXWIN + wx-config in the path is enough.
The rest is searched for via this, and or internal. If the are not found, its because something else is wrong. PATH and settings etc. above.


7) (see "messages at point 7)" too)
    C:\msys1.0\wxArt2D>
    cmake-gui
        source: C:/msys1.0/wxArt2D
        build:  C:/msys1.0/wxWidgets-2.8.10
        configure...
            MinGW Makefiles, Use default native compilers
        set all libs I had each line, one by one *sigh*

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



        configure button
        configure button
        generate button

Oke.

I stop here, first you need to do things correctly.
Choose one method. Give the setting and follow directions on the wiki.
And the first moment things look wrong, don't change anything in FindwxWidgets, just report what you did and see.

Right now i am compiling once more with MSYS, from scratch, and it works.
So lets crack this once and for all :-)
I added some more to the docs pages, read carefully, and only add MESSAGE to FindwxWidgets.cmake, no more ;-)

Regards,

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