Bug #918

GLCtrl compilation & linking problem on GTK backend

Added by Zbigniew Rebacz almost 5 years ago. Updated almost 5 years ago.

Status:ApprovedStart date:11/01/2014
Priority:HighDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:GLCtrlSpent time:-
Target version:-

Description

We need to change several flags in GLCtrl.upp file to make it possible to compile. The compilation process is broken, because GTK backend is now default and we need to adapt to this situation.

GLCtrlCompilationFix.diff Magnifier (792 Bytes) Zbigniew Rebacz, 11/01/2014 05:09 PM

History

#1 Updated by Miroslav Fidler almost 5 years ago

Not quite sure the fix is complete: You seem to be adding GLResize, but I am missing the implementation in the .diff...

#2 Updated by Zbigniew Rebacz almost 5 years ago

It is common function. Implementation can be found in GLCtrl.cpp.

#3 Updated by Zbigniew Rebacz almost 5 years ago

But, GLCtrl for gtk shouldn't be separate class as it is now, beacuse some method is missing like GLResize. Moreover we are losing compatibility with some OpenGL code that cannot be compiled on gtk backend. (Lack of virtual methods).

This changes what I was writing should be contain i #917 thread.

P.S.
This is only compilation patch for OpenGL example for GTK backend.

#4 Updated by Miroslav Fidler almost 5 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF