Re: [fltk.general] Re: FLTK 1.3.6 Release Candidate 1 is now available for download and testing

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: FLTK 1.3.6 Release Candidate 1 is now available for download and testing Ian MacArthur 11:19 Apr 28 top right image
 
Albrecht,

This one is a bit of an outlier report - I don't think there's anything with the R.C., rather this is about an odd interaction with my (known to be odd) build environment on Win10.

Specifically, after doing my usual tests (which seem to be fine, of course) I thought I'd have a go with the GLEW extension (someone was asking about support for "advanced" GL versions recently...)

So, I turned on the glew stuff in cmake (from cmake-gui, as it happens) and rebuilt. Now, I DO NOT have a working pkg-config in this build environment, and I believe our cmake uses pkg-config to find glew, so I didn't really expect this to work at all; so it was the way it didn't work that surprised me, really!

First off, the build failed because, when linking the glew examples, it could not locate libGLEW.a. The glew lib on mingw* is called libglew32.a (for both 32 or 64-bit builds) however, so it looks like we have asked for "the wrong" lib name. 
I copied libglew32.a to libGLEW.a and the build then found and linked the lib OK. 
However, the link failed for want of libopengl32.a in the link command. For the "normal" OpenGL examples, we do link "-lopengl32.a" correctly so this behaviour is peculiar to the glew targets. I tweaked the libs to ensure "-lopengl32.a" and thereafter the glew examples built and ran correctly.

Anyway, I assume these issues are all because I do not have pkg-config, but thought I'd flag them here just as a record of sorts, in case anyone else stumbles into this.
Tested with mingw32 and mingw64 targets.

FWIW: I also tried this on 1.4, and it behaves in the same way.


 

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/70847b1d-c2ab-47a9-942a-a0f3de8c2affn%40googlegroups.com.
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.