On Saturday, 18 December 2021 at 18:16:38 UTC Albrecht Schlosser wrote:
Hard to say w/o such a system. I have a Pi.3 (IIRC) but I don't have the
same config and I can't remember to have setup CMake and tried to build
FLTK on it. I have a stock Debian 10 (Buster) VM though which I could
try. I could even update to Debian 11 (Bullseye), maybe.
FWIW I've never seen this fail on a R.Pi before, with the older buster-based PiOS. Nor on my "real" PC's with Ubuntu...
Can you give some more details, which GL related packages you installed
I installed fltk after installing a load of other tools that had already pulled in many deps... so I did not explicitly install any GL dev packges.
But the GLU header is definitely there.
and the output related to GL/GLU from CMake in a fresh build tree (i.e.
the first CMake run)?
Well - that was interesting. I made a new clone, the cmake configure worked.
Went back to the "broken" tree, did a git pull, re-ran cmake - still broken.
So, made a new build-folder in the broken tree, set all the same options - works...
FWIW, I do not think I have added any new libs or packages...
BUT... I can not now reproduce the fail, except in the original build folder.... I might just bin that folder and carry on...
$ apt list --installed | grep 'gl.*dev'
libegl-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libegl1-mesa-dev/stable,now 20.3.5-1+rpt3+rpi1 armhf [installed]
libgl-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libgl1-mesa-dev/stable,now 20.3.5-1+rpt3+rpi1 armhf [installed,automatic]
libgles-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libglew-dev/stable,now 2.1.0-4 armhf [installed]
libglib2.0-dev-bin/stable,now 2.66.8-1 armhf [installed,automatic]
libglib2.0-dev/stable,now 2.66.8-1 armhf [installed,automatic]
libglu1-mesa-dev/stable,now 9.0.1-1 armhf [installed,automatic]
libglvnd-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libglx-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libopengl-dev/stable,now 1.3.2-1 armhf [installed,automatic]
libxcb-glx0-dev/stable,now 1.14-3 armhf [installed]
I'd be interested in
(a) the CMake output before you change anything
zips attached. [UPDATED: zips not attached - apparently zip files are disallowed...]
(b) the GL related package list on your system (before changes as well)
See above.