On Wed, 2009-04-01 at 13:25 +0200, Klaas Holwerda wrote: > Hi, > > Matěj Týč wrote: > > Hello, > > I was searching for a cross-platform C/C++ library that would allow > > programming a diagram editor ant that would integrate well with > > wxWidgets. > > wxArt2D seems to fit exactly to this. > > However, I have found it somewhat difficult. First of all, the build and > > install process is quite strange. > > I am not a cmake expert, but I had to tweak advanced settings to be able > > to build wxart2d (all wxwidgets related, like enabling unicode and > > disabling debug etc.) > > I think that is not so strange, since one can have various wxWidgets > libraries on a system. That's right, but it is troublesome. They would have to be installed in different prefixes and that's a pain.
> So one has to choose one of them. > The default could be no debug and unicode. But i myself and i think any one > else trying to develop, > would prefer to have debug wxWidgets to start with. Developers surely prefer debug ones, but packagers prefer not debug libs. Moreover skilled developers should be able to change those things :-) Anyway, the build system seems to be quite sophisticated, it was made by you? > > However, the samples didn't build well (they required setting of some > > env. variable and when I have set it to some value, the examples > > launched, but crashed (segfaulted) very soon) > > WXART2D needs to be set to find cursors in file format. > The next function will give some ideas how to set it. > wxCursor& a2dArtProvider::GetCursor( a2dCursorId id ) > > But the easiest is to set it where you have wxArt2D checked out from CVS. Your suggestion worked. The examples stopped to crash. > > And last but not least, the installation didn't go well. On unixes, it > > installs to highly nonstandard directories. > > Did not test this well. Cmake should use standard directories. > So what are those strange directories? May i can do something about it. I have set 'prefix' to /usr. Quite a lot of files got installed to /usr/wxart2d, which is unacceptable. They should go either to /usr/shared/wxart2d (applies to examples, applications data etc.), /usr/include/wxart2d (include files) Next, /usr/bin/wxArt2DConfig.cmake and /usr/bin/UsewxArt2D.cmake files were installed. Why? They are not executables... > > If you are interested, I would like to help to make your software more > > robust and easier to use > > It looks i am mainly on my own again, so all help is really welcome! > > People come and go, that is normal. But this project is rather dedicated for > certain applications > dealing with vector graphics. Which results in having a small user base, and > even less developers. > So progress depends on the time i have/want to spend on it :-( I would like to program a primitive diagram editor. I will try to get into the library and if I come across something that I could improve, I will let you know. In the end, can I ask you what software and platform are you using to develop wxArt2D? Regards, Matej ------------------------------------------------------------------------------ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev