Francesco Montorsi wrote:
> Hi,
>    today I've tried to compile wxArt2D with cmake. Here are some of my 
> annoying complains :)
> 
> (I'm on Ubuntu linux)
> 
> 1) I run "cmake ." in wxArt2d. Nice, it shows me some checks etc and 
> says build files are ready. Great. I just wonder which config of my many 
> wx builds it has chosen since it does not tell me that. Not much of a 
> problem however.

Oke, i should be able to do something about that.
I myself always use ccmake, and there the options are there to choose the one i 
want *debug, unicode etc.
But you are right, it is good to see that it did indeed get the right one.

> 
> 2) run "make" and after a while I get:

> 
>   so cmake-unrelated question: does wxArt2D really really really needs 
> wx compiled as --disable-std_iostreams ? It's a pain for me: I have lots 
> of wx builds done without that option and reconfiguring and recompiling 
> wx with it is going to take a lot of time...

Yes this horrible. And and comes a long way without --disable-std_iostreams.
The problem is that in early days this was the default on windows and unix.
Now it is the default on windows, and on Unix not.
So i am forced to maintain two ways of handling streams that are rather 
different.
I already made a wrapper to handle both the same way within wxArt2D, but it is 
a nightmare.

Its a work in progress:-( But i think it works fort ascii/xml based files 
already, only the binary files is problematic.

> 
>   the other warning about deprecated header couldn't be fixed?

I think it can, i myself always use --disable-std_iostreams, so i think i did 
not notice it.

> 
> 
> 3) ok, I remember that I have an installed build of wx2.8 (instead of 
> wx29) which does not have those UTF8 changes and thus should work with 
> wxArt2D.

UTF8 changes?? I need to check what/where those are on my fedora machine.


> I do "cmake -i ." and start to reply to all questions done by cmake. 

ccmake is much easier.

> none of them allow me to select as wx build the one with version 2.8... 
> why is WX_VERSION-cmake-equivalent missing?

I detect it automatically from wx-config.
I think i need to change that if the user did set it, it should not be auto 
detected, instead only tested.
As you see you are the expert in this field :-)

> 
> Also, is it possible to see all options available without using "-i" ?

ccmake.

> 
> 
> 4) I do "cmake clean" because I want to reconfigure totally the wxart2d 
> package. With surprise I find that even after "make clean" doing "cmake 
> ." does not give the same output of the first time. 

What do you mean different in output?
Reconfigure is a matter of regenerating with different settings.

Some cached files
> are kept. How can I remove them (without doing it manually)?

ccmake has a delete cache i believe, at least on windows that is the case for 
CmakeSteup.exe

> 
> 
> I know all are simple/dummy problem and not strictly related to cmake, 
> but still I think this feedback may help to improve the build system of 
> wxart2d...

Of course thanks a lot!

Klaas




-- 
Unclassified

-------------------------------------------------------------------------
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
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to