[Therion] wxWidgets 3.0.0

Olly Betts olly at survex.com
Sat Jun 14 12:40:00 CEST 2014


On Sat, Jun 14, 2014 at 12:16:31PM +0200, Stacho Mudrak wrote:
> Unfortunatelly, I do not understand what exactly is the problem with wx 3.0.
> 
> I have installed debian jessie/sid on my virtual linux box and all I needed
> to do to get therion 5.3.15 working was related to VTK6.
> 
> I needed to change lxData.cxx and link all existing vtk libraries in the
> system this dirty way:
> 
> VTKLIB = $(addprefix -l,$(subst xxxlib,,$(addprefix xxx,$(notdir $(basename
> $(shell ls /usr/lib/x86_64-linux-gnu/libvtk*-6.1.so))))))
> VTKLIBS = $(VTKLIB) -lfreetype -lpng -ljpeg
> 
> No need to change anything with wx3.0.
> 
> When I run loch - it prints a lot of assertions, but it runs without any
> problem, if I click to ignore them.

My patch from the message at start of this thread should fix those
assertions.

Another option is to build with -DNDEBUG - this will disable these
assertion messages, and wx3.0 will then handle these cases quietly, just
like it does in a default build of wx2.8.  However, these assertions are
due to incorrect uses of the wx API, so it's better to try to actually
deal with them really.

The assertion dialogs appearing will of course change the timing though,
so you may find that without them you see the problems I do.

> I have not yet tested Olly's patches, I have done this two weeks ago
> or so.

This isn't one of the patches I sent recently - it was sent to this
list in November last year:

http://thread.gmane.org/gmane.comp.gis.therion/3886

The more recent patches aren't connected to wx3.0 support.

> Even running loch with filename as argument works fine. I have not
> tried on a box with 3D hardware acceleration, may be there timing
> issue will rise. But is this related with wx3.0? As far as I know,
> there were problems with intel 3D cards on Linux box from the
> beginning.

I think I did compare results with the build of loch already in Debian,
but I'll recheck.  FWIW, I do have intel graphics hardware in the
machine I have been testing on, but other 3D stuff seems to work fine.

Cheers,
    Olly



More information about the Therion mailing list