Re: Installing LibreCAD3.0
Posted by dabeegmon on Apr 09, 2020; 1:45am
URL: https://forum.librecad.org/Installing-LibreCAD3-0-tp5718714p5718730.html
No Conan here - - - - that would seem to be for M$ Win systems - - - - not Debian AIUI.
root@memyself:/LibreCAD_3/build# cmake ..
***** LibreCAD *****
Version: 3.0
Options:
- Qt user interface: ON
- Lua command line interface: ON
- Unit tests: ON
- Rendering unit tests: ON
- Documentation: OFF
- LibreCAD DXF/DWG support:
- Use libopencad: OFF
- Use Cairo: OFF
CMake Warning (dev) in CMakeLists.txt:
A logical block opening on the line
/LibreCAD_3/CMakeLists.txt:107 (if)
closes on the line
/LibreCAD_3/CMakeLists.txt:109 (endif)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
--
/// TinySpline Configuration Summary //////////////////////////////////////////
Platform:
Id: linux-x86_64
Interface Configuration:
With single precision (default: OFF): OFF
Compiler Configuration:
Compiler: /usr/bin/c++
C flags: -std=c89 -Werror -Wall -Wextra -Wfloat-equal -pedantic
C libraries: -lm
C++ flags: -Werror -Wall -Wextra -Wfloat-equal
C++ libraries: -lm
Binding flags: -w -DSWIG
Runtime libs:
Definitions:
Debug postfix:
Toolchain file:
Available Interfaces:
C++: ON
C#: OFF
Compiler:
D: OFF
Go: OFF
Java: OFF
Version:
Include:
Library:
Compiler:
Archiver:
Lua: OFF
Version:
Include: /usr/include/lua5.3
Library:
Octave: OFF
Version:
Include:
Library:
PHP: OFF
Version:
Include:
Python: OFF
Version:
Include:
Library:
R: OFF
Version:
Include:
Library:
Ruby: OFF
Version:
Include:
Library:
Installation:
Prefix: /usr/local
///////////////////////////////////////////////////////////////////////////////
-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (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: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/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):
lckernel/tinyspline/examples/c/CMakeLists.txt:20 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Code coverage requires gcov, lcov, and genhtml
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find MkDocs (missing: MKDOCS_EXECUTABLE)
***** LibreCAD kernel *****
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- chrono
-- atomic
-- Found Eigen3 include dir: /usr/include/eigen3
CMake Error at lckernel/CMakeLists.txt:262 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lckernel".
CMake Error at lckernel/CMakeLists.txt:263 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lckernel".
***** LibreCAD Lua scripts *****
***** LibreCAD lcadluascript *****
-- Found Eigen3 include dir: /usr/include/eigen3
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- chrono
-- atomic
CMake Error at lcadluascript/CMakeLists.txt:85 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lcluascript".
CMake Error at lcadluascript/CMakeLists.txt:86 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lcluascript".
***** LibreCAD persistence *****
-- Found libDxfrw include dir: /usr/local/include/libdxfrw0
-- Found libDxfrw library: /usr/local/lib/libdxfrw.so
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- chrono
-- atomic
-- Found Eigen3 include dir: /usr/include/eigen3
CMake Error at persistence/CMakeLists.txt:74 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"persistence".
CMake Error at persistence/CMakeLists.txt:75 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"persistence".
***** LibreCAD lcviewernoqt *****
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (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: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/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):
lcviewernoqt/CMakeLists.txt:132 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
OpenGL include dir: /usr/include
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- chrono
-- atomic
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Found Eigen3 include dir: /usr/include/eigen3
CMake Error at lcviewernoqt/CMakeLists.txt:218 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lcviewernoqt".
CMake Error at lcviewernoqt/CMakeLists.txt:219 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"lcviewernoqt".
***** LibreCAD Qt user interface *****
-- Found Eigen3 include dir: /usr/include/eigen3
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- chrono
-- atomic
-- Found Lua 5.3 include dir: /usr/include/lua5.3
-- Found Lua 5.3 library: /usr/lib/x86_64-linux-gnu/liblua5.3.so
***** Lua command line interface *****
-- Checking for module 'cairo'
-- No package 'cairo' found
-- Found Cairo include dir: CAIRO_INCLUDE_DIRS-NOTFOUND
-- Found Cairo library: CAIRO_LIBRARIES-NOTFOUND
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Cairo (missing: CAIRO_INCLUDE_DIRS CAIRO_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
luacmdinterface/cmake/FindCairo.cmake:90 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
luacmdinterface/CMakeLists.txt:9 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BZIP2_LIBRARY
linked by target "lcviewernoqt" in directory /LibreCAD_3/lcviewernoqt
CAIRO_LIBRARIES
linked by target "lcviewernoqt" in directory /LibreCAD_3/lcviewernoqt
-- Configuring incomplete, errors occurred!
See also "/LibreCAD_3/build/CMakeFiles/CMakeOutput.log".
See also "/LibreCAD_3/build/CMakeFiles/CMakeError.log".
the CMakeCache.txt file is some 26 screen long - - - - do you need all of it?
Please advise.