Hi,
Post by Matej TycI have big problems concerning building astade since nowadays it is very
hard to find a wxWidgets non-unicode build :-)
As you have probably guessed, Astade was originally written against an
ANSI build of wxWidgets.
This was not a problem in the past, since Astade uses english (7-bit)
texts throughout.
However, since the wxWidgets developers are going to make unicode be the
default, we're have no choice but to make Astade unicode-friendly.
Astade already builds and runs perfectly fine on Linux when built against
a unicode-build of the current (development) version of wxWidgets; but I
haven't tested it on Windows/unicode.
Post by Matej TycThe code is written badly, if you include strings in _("<string>") <--
this construct, there will be no problems whatsover.
Well, the macro _() is intended for internationalisation (see the docs for
wxGetTranslation); you probably meant _T() or wxT() which tells the
compiler to encode literal text as wchar_t[]
At any rate, as you have noted, Astade is full of texts that are not (yet)
marked with _T() - I only fixed the ones that prevented the Linux version
from being built.
Post by Matej TycI would like to fix it, can you give me some sort of starting point?
It sounds a bit like a chicken-and-egg problem; you'd probably need to
install an ANSI version of wxWidgets first and build Astade against it
in order to fix Astade to work with a unicode-wxWidgets.
That said, we really appreciate any help we can get!
Post by Matej TycI see that astade doesn't use autotools (why?),
GNU autotools suck (see http://freshmeat.net/articles/view/889/)
They may be able to help you build a program on several different unixes,
but they aren't at all helpful when you want to build the program on a
non-unix platform (e.g. Windows). Apart from that, they are not
particularly developer-friendly (lack of backwards compatibility
immediately comes to mind - I have 4 (four) different versions of GNU
automake installed in order to build a few applications from source)
Thanks to the cross-platform nature of the wxWidgets toolkit our Makefiles
look almost identical on Linux, Windows and MAC OS-X (and they are pretty
clean, too); no need to fiddle with autotools.
Post by Matej Tycand since I am not a real
expert I don't know how to manage the source efficently. Can you help me
somehow?
The source of the Astade suite is managed by the Astade tree-viewer itself.
The first thing to do is to get a working Astade installation on your
platform - which OS are you using, which wxWidgets version etc.?
Cheers
Anders