I wrote:
> Gehua Yang recently posted some suggestions on how this could be
> done. I'll get together with him and try to hash out a solution by the
> end of the week.
I just committed a bunch of bug fixes to the GTK code, and also
committed a port to GTK2, using GTKGLExt instead of GTKGLArea.
Thomas Koninckx wrote:
> I took a quick look at it, and at first sight the code won't need much
> modifications at all. It will be more the Cmake files who need to be
> adapted to set all the include and link paths correctly. GTK2 needs some
> additional libs, which were not needed in GTK1.2 (e.g. Pango). This asks
> for an extension of the FindGTK.cmake file, and not only an
> adaptation.
I also committed a FindGTK2.cmake that should do the trick.
> BTW.: on RH9.0 machines there are also some troubles with VGUI and GLUT,
> caused by the order of the libraries 'at link-time'. Compiling a VGUI
> without GLUT solved my problem, but it's probably better to solve the
> real problem... I discussed this topic already a bit with Peter.
Which version of CMake are you using? With 1.4.x, there was a
problem. There shouldn't be a problem with 1.6.x. If there is, it'd be
good to track it down.
Please try out the GTK2 implementation and let me know if it
fails. (Or better yet, fix it if it fails :-) )
Cheers,
Amitha.
|