[vtk-developers] wxVTK Issues

Andrew Maclean a.maclean at cas.edu.au
Mon Dec 26 19:00:58 EST 2005


I have been experimenting with cross-platform GUI's and I am now looking at
wxWindows.


I have been able to build and run wxVTK 0.8 "almost" successfully under
Linux.
Some issues are:
 1) The code won't run unless --sync is appended to the command. There was a
posting in the insight-users mailing list regarding this but it doesn’t seem
to have been resolved.
 2) I have also made the examples Unicode aware.
 3) I have had to alter the define VTK_MAJOR_VERSION == 4 to
VTK_MAJOR_VERSION >= 4
 4) Several CMakeLists.txt changes.


Now, under windows using VC7.1 there are several issues.
 1) It looks for the library ctl3d43.lib which doesn’t exist.
 2) The function wxWindow::OnSize(event); doesn’t exist (commenting it out
seems to work OK).
 3) There is a linker conflict, I have had to set /NODEFAULTLIB:MSVCRT

I think a lot of these issues (linking, defines etc) are related to
FIND_PACKAGE(wxWindows) in the CMakeLists.txt file. I suspect there needs to
be some way of sqitching of the old windows defines like win95.

So ...
1) Has anyone been able to successfully cross-compile on Linux and Win-XP
using wxWidgets2.6, gcc-4.0 and MSVC7.1? If so have they any hints,
CMakeLists files etc.
2) If Malterre wants to update wxVTK with the unicode aware versions, I can
send him a tgz file. Mostly it is just changing "xxx" to _T("xxx").
3) There is also some reference to Andy's version of wxWindow - is that
avaiable?
4) It would be nice to incorporate it into the VTK stuff, like QMake has
been. I suspect that people have already done most of the work.

I hope you all had a very Merry Christmas and I also wish you all a VERY
HAPPY NEW YEAR.

Andrew


___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________





More information about the vtk-developers mailing list