2024-02-26T02:13:11.0523045Z [242/308] Building CXX object src/visualization/CMakeFiles/idyntree-visualization.dir/src/Visualizer.cpp.o
2024-02-26T02:13:11.0525454Z FAILED: src/visualization/CMakeFiles/idyntree-visualization.dir/src/Visualizer.cpp.o
2024-02-26T02:13:11.0710643Z /home/runner/micromamba/envs/idyntreedev/bin/x86_64-conda-linux-gnu-c++ -DIDYNTREE_USES_ASSIMP -DIDYNTREE_USES_IRRLICHT -Didyntree_visualization_EXPORTS -I/home/runner/work/idyntree/idyntree/src/visualization/include -I/home/runner/work/idyntree/idyntree/src/core/include -I/home/runner/work/idyntree/idyntree/build/src/core -I/home/runner/work/idyntree/idyntree/src/model/include -I/home/runner/work/idyntree/idyntree/build/src/model -isystem /home/runner/micromamba/envs/idyntreedev/include/eigen3 -isystem /home/runner/micromamba/envs/idyntreedev/include/irrlicht -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/micromamba/envs/idyntreedev/include -O3 -DNDEBUG -fPIC -Wall -Wextra -Woverloaded-virtual -pedantic -MD -MT src/visualization/CMakeFiles/idyntree-visualization.dir/src/Visualizer.cpp.o -MF src/visualization/CMakeFiles/idyntree-visualization.dir/src/Visualizer.cpp.o.d -o src/visualization/CMakeFiles/idyntree-visualization.dir/src/Visualizer.cpp.o -c /home/runner/work/idyntree/idyntree/src/visualization/src/Visualizer.cpp
2024-02-26T02:13:11.0722823Z In file included from /home/runner/work/idyntree/idyntree/src/visualization/src/Visualizer.cpp:32:
2024-02-26T02:13:11.0724943Z /home/runner/micromamba/envs/idyntreedev/include/GLFW/glfw3native.h:119:12: fatal error: X11/extensions/Xrandr.h: No such file or directory
2024-02-26T02:13:11.0726605Z 119 | #include <X11/extensions/Xrandr.h>
2024-02-26T02:13:11.0727288Z | ^~~~~~~~~~~~~~~~~~~~~~~~~
2024-02-26T02:13:11.0757417Z compilation terminated.
2024-02-26T02:13:11.7307896Z [243/308] Building CXX object src/optimalcontrol/CMakeFiles/idyntree-optimalcontrol.dir/src/OsqpInterface.cpp.o
2024-02-26T02:13:11.7311474Z /home/runner/work/idyntree/idyntree/src/optimalcontrol/src/OsqpInterface.cpp:49:45: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
2024-02-26T02:13:11.7314241Z 49 | class TripletIterator : public std::iterator<std::input_iterator_tag, Triplet> {
2024-02-26T02:13:11.7315418Z | ^~~~~~~~
2024-02-26T02:13:11.7317130Z In file included from /home/runner/micromamba/envs/idyntreedev/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_construct.h:61,
2024-02-26T02:13:11.7319192Z from /home/runner/micromamba/envs/idyntreedev/x86_64-conda-linux-gnu/include/c++/12.3.0/memory:64,
2024-02-26T02:13:11.7321015Z from /home/runner/work/idyntree/idyntree/src/optimalcontrol/include/iDynTree/Optimizers/OsqpInterface.h:14,
2024-02-26T02:13:11.7322810Z from /home/runner/work/idyntree/idyntree/src/optimalcontrol/src/OsqpInterface.cpp:11:
2024-02-26T02:13:11.7324968Z /home/runner/micromamba/envs/idyntreedev/x86_64-conda-linux-gnu/include/c++/12.3.0/bits/stl_iterator_base_types.h:127:34: note: declared here
2024-02-26T02:13:11.7326448Z 127 | struct _GLIBCXX17_DEPRECATED iterator
I guess the new glfw 3.4 (https://github.com/conda-forge/glfw-feedstock/pull/20) introduced some new system header includes in glfw3native.h, that before were not there, hence effectively creating more indirect dependencies requirements when building against glfw3 .
Error:
I guess the new glfw 3.4 (https://github.com/conda-forge/glfw-feedstock/pull/20) introduced some new system header includes in
glfw3native.h
, that before were not there, hence effectively creating more indirect dependencies requirements when building against glfw3 .