[ArchLinux] ENABLE_vrpn fails to build at configuration step
With ENABLE_vrpn, I have the following error when configuring vrpn :
[ 65%] Performing configure step for 'vrpn'
Not searching for unused variables given on the command line.
-- Configuring the VRPN suite version 07.34 using the CMake-based build system
-- Now searching for auto-configurable optional packages...
-- Local HIDAPI submodule not found. To download with Git, run git submodule update --init
-- Local JSONCPP submodule not found. To download with Git, run git submodule update --init
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
-- Could NOT find Modbus (missing: MODBUS_LIBRARY MODBUS_INCLUDE_DIR)
-- Could NOT find HIDAPI (missing: HIDAPI_LIBRARY HIDAPI_INCLUDE_DIR)
-- NOTE: You have VRPN_USE_LOCAL_HIDAPI enabled, but VRPN_USE_HID disabled: HIDAPI will only be built if you enable HID support for VRPN
-- Could NOT find OpenHaptics (missing: HDAPI_LIBRARY HDAPI_INCLUDE_DIR HDAPI_HDU_INCLUDE_DIR HDAPI_HDU_LIBRARY HLAPI_INCLUDE_DIR HLAPI_LIBRARY HLAPI_HLU_INCLUDE_DIR HLAPI_HLU_LIBRARY HDAPI_PHANToMIO_LIBRARY HDAPI_HDU_SOURCE_DIR HLAPI_HLU_SOURCE_DIR)
-- Could NOT find GHOST (missing: GHOST_LIBRARY GHOST_INCLUDE_DIR)
-- Could NOT find WiiUse (missing: WIIUSE_LIBRARY WIIUSE_INCLUDE_DIR)
-- Could NOT find JSONCPP (missing: JSONCPP_LIBRARY)
-- Could NOT find libnifalcon (missing: LIBNIFALCON_LIBRARY LIBNIFALCON_INCLUDE_DIR)
-- Could NOT find InterSense (missing: INTERSENSE_LIBRARY INTERSENSE_INCLUDE_DIR)
-- Could NOT find NIDAQmx (missing: NIDAQMX_LIBRARY NIDAQMX_INCLUDE_DIR)
-- Could NOT find ViewPoint (missing: VIEWPOINT_LIBRARY VIEWPOINT_INCLUDE_DIR)
-- Checking for perl module Parse::RecDescent
-- Checking for perl module Parse::RecDescent - failed
-- Could NOT find PerlModules (missing: PERLMODULES_PARSE_RECDESCENT_MODULE)
-- Could NOT find LibFreespace (missing: LIBFREESPACE_LIBRARY LIBFREESPACE_INCLUDE_DIR)
-- Could NOT find COLIBRIAPI (missing: COLIBRIAPI_LIBRARY COLIBRIAPI_INCLUDE_DIR)
CMake Warning (dev) at /usr/share/cmake-3.15/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /home/glow/work/paraview/superbuild/pvsb_build/install/lib/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
client_src/CMakeLists.txt:26 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.15/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /home/glow/work/paraview/superbuild/pvsb_build/install/lib/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
server_src/CMakeLists.txt:27 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
--
-- NOTE: The following build options may produce a GPL-licensed server library/binary.
-- VRPN_USE_GPM_MOUSE
-- NOTE: I am not a lawyer, and this is not legal advice!
--
-- Selected build options produce a GPL server library.
-- You may disable them, otherwise set VRPN_GPL_SERVER to acknowledge this and build anyway.
CMake Error at CMakeLists.txt:1467 (message):
Need VRPN_GPL_SERVER to build server library with GPL options enabled!
-- Configuring incomplete, errors occurred!
Using ArchLinux.
Edited by Mathieu Westphal (Kitware)