← Back to team overview

kicad-developers team mailing list archive

Re: mode openGL issues after latest updates

 

Le 31/05/2016 à 17:53, Maciej Sumiński a écrit :
> Jean-Pierre, Mario,
> 
> I have just finished another approach to the OpenGL contexts problem
> [1]. I will be grateful if you could test it. I have tried it out with 2
> window managers on Linux/64, and now I am rebuilding it on W7/64.
> 
> @Mario
> I am wondering if there is still a problem of getting an assert when
> OpenGL context is switched while the parent window is invisible. If so,
> then we have to set the context when the parent window is still visible
> before destruction (GL_CONTEXT_MANAGER::LockCtx() method) and then we
> may use GL calls in the destructor, followed by
> GL_CONTEXT_MANAGER::UnlockCtx().
> 
> Regards,
> Orson
> 
> 1. https://github.com/orsonmmz/kicad-source-mirror/tree/opengl_ctx_fix
> 

Thanks, Orson.

This version fixes the crash on my W7, 32 bits.

I am now trying to compile in debug mode, but I have an undefined symbol:
E:/kicad-launchpad/essais/opengl_ctx_fix/include/xnode.h:53: undefined reference to `vtable for XNODE'

Unfortunately, especially on Windows, compiling Kicad in Debug mode takes a while.

-- 
Jean-Pierre CHARRAS


Follow ups

References