Cannot compile ROOT 5.34.18 on Cygwin with gcc 4.8.3

Dear experts,

I am a long-time ROOT user, usually on CERN lxplus. Now I’m trying to install ROOT on my Laptop, running Windows 7 (32-bit), and I have troubles…

Here’s what I have done so far:

  1. I have installed the full version of cygwin

  2. I have downloaded ROOT using git, trying to use latest prod release 5.34.18:

cd /cygdrive/c/ROOT/
git clone root.cern.ch/git/root.git
cd root
git tag -l
git checkout -b v5-34-18 v5-34-18

  1. Setup…
    ./configure win32gcc --disable-xrootd --enable-roofit

  2. Compile…
    make -j4

On lxplus, doing steps 2,3,4 above works like a charm. :slight_smile:

On my laptop, I obtain this compilation error:

g++ -O2 -DNDEBUG -std=gnu++11 -pipe -Wall -Woverloaded-virtual -Iinclude -I/usr/X11R6/include -UR__HAVE_CONFIG -DROOT_STAGE1_BUILD -I/cygdrive/c/ROOT/root/core/utils/src -I/cygdrive/c/ROOT/root/core/metautils/src -I/cygdrive/c/ROOT/root/interpreter/cling/include -I/cygdrive/c/ROOT/root/interpreter/llvm/inst/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++11 -fno-exceptions -fno-rtti -Woverloaded-virtual -fno-strict-aliasing -DNDEBUG -Wno-shadow -Wno-unused-parameter -o core/utils/src/rootcling_tmp.o -c core/utils/src/rootcling_tmp.cxx
/cygdrive/c/ROOT/root/core/metautils/src/TClassEdit.cxx: In member function ‘void TClassEdit::TSplitType::ShortType(std::string&, int)’:
/cygdrive/c/ROOT/root/core/metautils/src/TClassEdit.cxx:270:53: error: ‘to_string’ is not a member of ‘std’
static const std::string sharedPtrDef = std::to_string(__gnu_cxx::__default_lock_policy); // to_string is C++11
^
Makefile:642: recipe for target ‘core/metautils/src/TClassEdit.o’ failed
make: *** [core/metautils/src/TClassEdit.o] Error 1

/cygdrive/c/ROOT/root/core/utils/src/DictSelectionReader.cxx:331:37: error: ‘to_string’ is not a member of ‘std’
std::to_string(nArgsToKeep));

I am guessing that this might come from using different compilers. (Or maybe not?) I have noticed the following difference:

[cote@lxplus0249]~% gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright © 2010 Free Software Foundation, Inc.

vs

cote_phys@phys106639 /cygdrive/c/ROOT/root
$ gcc --version
gcc (GCC) 4.8.3
Copyright © 2013 Free Software Foundation, Inc.

How do you recommend that I tackle this problem?

Thanks in advance for any help!

Cheers,
David Côté

Hi David,

We are aware of this issue and are working on a workaround (std::to_string() is missing on cygwin…). This should be available soon in both the master and the 5-34-00-patches branch.

Cheers, Bertrand.

Hi,

FYI, this is now fixed in git master and v5-34-00-patches

Cheers, Bertrand.

Hi Bertrand,

Thanks a lot for your lightning-quick reaction!

Now trying to use the 5-34-00-patches branch, I did:

cd /cygdrive/c/ROOT/
git clone root.cern.ch/git/root.git
cd root
git checkout -b 5-34-00-patches

./configure win32gcc --disable-xrootd --enable-roofit
make -j4

…and the compilation fails with this different error message:

In file included from /cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: error: forward declaration of ‘class FTGlyph’
class FTGlyph;
^
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘FTPoint FTGlyphContainer::Render(unsigned int, unsigned int, FTPoint)’:
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx:86:66: error: invalid use of incomplete type ‘class FTGlyph’
advance = glyphs[charMap->GlyphListIndex( characterCode)]->Render( penPosition);
^
In file included from /cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: error: forward declaration of ‘class FTGlyph’
class FTGlyph;
^
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘FTBBox FTGlyphContainer::BBox(unsigned int) const’:
/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTGlyphContainer.cxx:60:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:642: recipe for target ‘graf3d/ftgl/src/FTGlyphContainer.o’ failed
make: *** [graf3d/ftgl/src/FTGlyphContainer.o] Error 1
make: *** Waiting for unfinished jobs…
g++ -O2 -DNDEBUG -std=gnu++11 -pipe -Wall -Woverloaded-virtual -Iinclude -I/usr/X11R6/include -I/usr/include/freetype2 -I/cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/inc -o graf3d/ftgl/src/FTFace.o -c /cygdrive/c/ROOT/root_v5-34-00-patches/graf3d/ftgl/src/FTFace.cxx

Did I make a mistake in my usage of git to get the branch? How do you advice that I tackle this new problem?

Thanks!!
David Côté

Hi again,

Note that I get a very similar compilation error message if using the master branch instead:

cd /cygdrive/c/ROOT/
git clone root.cern.ch/git/root.git
cd root

./configure win32gcc --disable-xrootd --enable-roofit

make -j4

/src/FTGlyphContainer.o -c /cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx: In destructor ‘FTGlyphContainer::~FTGlyphContainer()’:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:21:17: warning: possible problem detected in invocation of delete operator: [enabled by default]
delete *glyphIterator;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:21:17: warning: invalid use of incomplete type ‘class FTGlyph’ [enabled by default]
In file included from /cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: warning: forward declaration of ‘class FTGlyph’ [enabled by default]
class FTGlyph;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:21:17: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
delete *glyphIterator;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘FTBBox FTGlyphContainer::BBox(unsigned int) const’:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:59:59: error: invalid use of incomplete type ‘class FTGlyph’
return glyphs[charMap->GlyphListIndex( characterCode)]->BBox();
^
In file included from /cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: error: forward declaration of ‘class FTGlyph’
class FTGlyph;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘float FTGlyphContainer::Advance(unsigned int, unsigned int)’:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:69:61: error: invalid use of incomplete type ‘class FTGlyph’
width += glyphs[charMap->GlyphListIndex( characterCode)]->Advance().X();
^
In file included from /cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: error: forward declaration of ‘class FTGlyph’
class FTGlyph;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘FTPoint FTGlyphContainer::Render(unsigned int, unsigned int, FTPoint)’:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:86:66: error: invalid use of incomplete type ‘class FTGlyph’
advance = glyphs[charMap->GlyphListIndex( characterCode)]->Render( penPosition);
^
In file included from /cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:1:0:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/inc/FTGlyphContainer.h:14:7: error: forward declaration of ‘class FTGlyph’
class FTGlyph;
^
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx: In member function ‘FTBBox FTGlyphContainer::BBox(unsigned int) const’:
/cygdrive/c/ROOT/root_trunk/graf3d/ftgl/src/FTGlyphContainer.cxx:60:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:642: recipe for target ‘graf3d/ftgl/src/FTGlyphContainer.o’ failed
make: *** [graf3d/ftgl/src/FTGlyphContainer.o] Error 1

Cheers,
David

Hi David,

Make sure you have lbGL-devel and libGLU-devel installed and up-to-date on your system.

Cheers, Bertrand.

Hi Bertrand,

Thanks for your expert suggestion. However, as far as I can tell from cygwin’s setup.exe, I do have libGL-devel and libGLU-devel installed and up-to-date. I (should) have libGL-devel 8.0.5 and libGLU-devel 9.0.0.

I tried to re-install them today, but I get the same result.

Do you know how to double-check from my cygwin terminal that these libraries are actually installed, and with which version? And do you know what versions are installed on lxplus?

Cheers,
David

Hi David,

[quote=“cote”]Do you know how to double-check from my cygwin terminal that these libraries are actually installed, and with which version? And do you know what versions are installed on lxplus?[/quote]You can try “locate libGL”. Here is the result on lxplus:[bellenot@lxplus0050 ~]$ locate libGL /usr/lib/libGL.so /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.2.0 /usr/lib/libGLU.so /usr/lib/libGLU.so.1 /usr/lib/libGLU.so.1.3.1 /usr/lib64/libGL.so /usr/lib64/libGL.so.1 /usr/lib64/libGL.so.1.2.0 /usr/lib64/libGLU.so /usr/lib64/libGLU.so.1 /usr/lib64/libGLU.so.1.3.1 /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64 /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64 /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686 /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686 /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686 /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64 /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686 /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64 /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/checksum_data /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/checksum_type /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/from_repo /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/from_repo_revision /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/from_repo_timestamp /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/installed_by /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/reason /var/lib/yum/yumdb/m/0aa72711324e0d4138e221c84c979b9a23ed9041-mesa-libGLU-devel-9.2-0.5.el6_5.2-x86_64/releasever /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/checksum_data /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/checksum_type /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/from_repo /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/from_repo_revision /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/from_repo_timestamp /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/installed_by /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/reason /var/lib/yum/yumdb/m/50294855d48a13501057ba05ef2a96974fef3a9f-mesa-libGL-devel-9.2-0.5.el6_5.2-x86_64/releasever /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/checksum_data /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/checksum_type /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/from_repo /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/from_repo_revision /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/from_repo_timestamp /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/installed_by /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/reason /var/lib/yum/yumdb/m/63c18d0e263292987edaac87de87a77f03630c9d-mesa-libGL-9.2-0.5.el6_5.2-i686/releasever /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/checksum_data /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/checksum_type /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/from_repo /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/from_repo_revision /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/from_repo_timestamp /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/installed_by /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/reason /var/lib/yum/yumdb/m/9b6c89971df9f70985060e4af5c71fa904a7b101-mesa-libGLU-9.2-0.5.el6_5.2-i686/releasever /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/checksum_data /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/checksum_type /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/from_repo /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/from_repo_revision /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/from_repo_timestamp /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/installed_by /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/reason /var/lib/yum/yumdb/m/9db98ed5583bbcbccfa11543f378cee495fddc8e-mesa-libGL-devel-9.2-0.5.el6_5.2-i686/releasever /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/checksum_data /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/checksum_type /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/from_repo /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/from_repo_revision /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/from_repo_timestamp /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/installed_by /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/reason /var/lib/yum/yumdb/m/9e6d7ad27088e7d3f8c907cb87f1695ac74d694b-mesa-libGLU-9.2-0.5.el6_5.2-x86_64/releasever /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/checksum_data /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/checksum_type /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/from_repo /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/from_repo_revision /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/from_repo_timestamp /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/installed_by /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/reason /var/lib/yum/yumdb/m/a756e4738881852dae6351579d797f09f8c523a6-mesa-libGLU-devel-9.2-0.5.el6_5.2-i686/releasever /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/checksum_data /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/checksum_type /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/from_repo /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/from_repo_revision /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/from_repo_timestamp /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/installed_by /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/reason /var/lib/yum/yumdb/m/b50b86697a1b810496adab8b683cd81f07e8274b-mesa-libGL-9.2-0.5.el6_5.2-x86_64/releasever
And I don’t know the result on cygwin, I don’t have access to the machine right now. BTW, why do you care about lxplus? Don’t you build on cygwin?

Cheers, Bertrand.

Hi Bertrand,

Here’s what I get on my machine with cygwin:

$ locate libGL
c:/cygwin/etc/setup/libGL1.lst.gz
c:/cygwin/etc/setup/libGL-devel.lst.gz
c:/cygwin/etc/setup/libGLU1.lst.gz
c:/cygwin/etc/setup/libGLU-devel.lst.gz
c:/cygwin/etc/setup/libGLw1.lst.gz
c:/cygwin/etc/setup/libGLw-devel.lst.gz
c:/cygwin/lib/libGL.dll.a
c:/cygwin/lib/libGLU.dll.a
c:/cygwin/lib/libGLw.dll.a

I guess this confirms that lib GL and libGLU are installed on my machine, as they should. However, I do not see libGLU-devel and libGL-devel (appearing under /var/lib/yum/… on lxplus).

I was thinking that looking at lxplus could be useful just to compare with a setup that is known to work. That said, I don’t really know how translate the observed difference between lxplus and my local cygwin into a concrete action item. I’m actually running out of ideas… Do you have a suggestion?

Thanks for all your great help so far! :slight_smile:

David

Well, I don’t know. Note you can try to disable gl if you don’t need it. And note also that you can build natively on Windows, without cygwin. BTW, why are you using cygwin?

Cheers, Bertrand.