summary:
1) I was a fool during mingw way I made a copy of mingw32-make.exe to 
make.exe in directory mingw\bin
2) "now I erased wx-config.exe forever :)"
3) I prefer msys, and the next 15 attempts were with it, so I have left 
cmd box. I tried monolitic, with-subdirs etc but linking errors at 
myownapp thingy
4) I have notes to stc lib and expat lib
5) With msys I can get to the point myownapp thingy, compiling is ok, 
just linking problem again, so I could not run even make install :(
6) I tried to use wxArt2D, gave all libs to codeblocks build options,  
set include paths and lib paths,
and compiling is OK, but linking problems again :(

Klaas Holwerda wrote:
> Just make a unique empty directory to build each flavour of wxArt2d.
> E.G:
> C:/msys1.0/buildart2d_deb_mon_uni
> C:/msys1.0/buildart2d_rel_mon_uni
> C:/msys1.0/buildart2d_rel
> etc.
> Like you did , you generated a lot of things inside 
> C:/msys1.0/wxWidgets-2.8.10, which you really don't want there.
because of previous experiences with msys, (namely copying expat.h
that was bad idea and this took me to another bad idea)

Now I know we need to compile expat lib like stc lib.
But you mention    cd /c/MinGW/buildwxdeb/contrib/src/stc
(maybe you wanted cd ../wxWidgest2.8.10/contrib/src/stc ?)
but there is no make if you use --without-subdirs flag during configure 
(as I did)
this case I had to run:
#compile stc lib
cd /c/msys1.0/wxWidgets-2.8.10/contrib/src/stc
g++ -c
 -I /c/msys1.0/wxbuild2.8.10/lib/wx/include/msw-unicode-release-2.8/
 -I `wx-config --cxxflags`
 -I ./
 -I ../../../contrib/include/
 -I ../../../contrib/src/stc/scintilla/include/
 -I ../../../contrib/src/stc/scintilla/src/
 -I ../../../include/
 -I ../../../lib/
 -I ../../../src/jpeg/
 -I ../../../src/png/
 -I ../../../src/regex/
 -I ../../../src/tiff/
 -I ../../../src/zlib/
 -DWINVER=0x0400
 -D__WIN95__
 -D__GNUWIN32__
 -D__WX__
 -DSCI_LEXER
 -DLINK_LEXERS
 -D__WXMSW__
 -D__WINDOWS__
 -o stc.o stc.cpp

and these:
#archive stc lib
ar rcs /c/msys1.0/wxbuild2.8.10/lib/libwx_mswu_stc-2.8.a  stc.o
cp /c/msys1.0/wxbuild2.8.10/lib/libwx_mswu_stc-2.8.a /local/lib/
#copying expat.h
cp /c/msys1.0/wxWidgets-2.8.10/src/expat/lib/expat.h 
/c/msys1.0/wxWidgets-2.8.10/include/

just FYI: first time I missed dir I ran cmake-gui,
as I ran it from wxbuild2.8.10 dir, cmake did not find expat lib

#make failed with mars.exe without the followings
cd /c/msys1.0/wxbuild2.8.10/src/expat/
make && make install
#latter copied into /local/lib, so I need to copy it
cp /local/lib/libexpat.a /c/msys1.0/wxbuild2.8.10/lib/

[...]
>> 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. 
here: http://wxconfig.googlepages.com/
> For MSYS i do have:  c:\data\tools\mingw\msys\1.0\local\bin\wx-config
> So without .exe, and its a shell script.
I have had it as well, now I erased wx-config.exe forever :)
>> 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.
ok, every new try delete the whole builddir

------------------------------------------------------------------------------
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