Openmvg: The RandR library and headers were not found (on Ubuntu)

Created on 12 Feb 2014  路  2Comments  路  Source: openMVG/openMVG

derek@toshiba:~/github.com/openMVG_Build$ cmake -DCMAKE_BUILD_TYPE=RELEASE . ../openMVG/src/
[...snip...]
-- Found Threads: TRUE
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.2")
-- Using X11 for window creation
-- Using GLX for context creation
CMake Error at dependencies/glfw/CMakeLists.txt:204 (message):
The RandR library and headers were not found

-- Configuring incomplete, errors occurred!
derek@toshiba:~/github.com/openMVG_Build$

Now what?

enhancement

Most helpful comment

This fixed it for me:

sudo apt-get install xorg-dev libglu1-mesa-dev

One of the dependencies installed was xrandr-dev, which might be the only package actually needed to fix the build.

In either case the README's "Dependencies" should be updated for this.

All 2 comments

This fixed it for me:

sudo apt-get install xorg-dev libglu1-mesa-dev

One of the dependencies installed was xrandr-dev, which might be the only package actually needed to fix the build.

In either case the README's "Dependencies" should be updated for this.

Thank I will add it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

glbsalazar picture glbsalazar  路  7Comments

jpwhitney picture jpwhitney  路  5Comments

learnmano picture learnmano  路  4Comments

yonelay11 picture yonelay11  路  5Comments

kalosma picture kalosma  路  4Comments