Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error: "Skipping maps since Boost was not found" and CMake Error: {..}used in this project, but they are set to NOTFOUND. #130

Open
refactormyself opened this issue Apr 12, 2020 · 1 comment

Comments

@refactormyself
Copy link

refactormyself commented Apr 12, 2020

Hello,

Please, why is there no mention of Boost dependency in the documentation!

I have Boost installed and I have tested it with a simple program that uses boost::array and it's fine.

My environment: CentOS 8, 64-bit, Cmake 3.11.4, Boost 1.66

I am getting this error when I trying to build as described in the documentation. My Ubuntu VM is also giving the same issue.

$ cmake --config Debug "-DCMAKE_BUILD_TYPE=Debug" ..
results in this:

-- The CXX compiler identification is GNU 8.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Default IO2D backend was not specified, choosing automatically...
Found Linux, using CAIRO_XLIB.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") 
-- Found Cairo: /usr/include/cairo (found version "1.15.12") 
-- Checking for module 'GraphicsMagick'
--   Found GraphicsMagick, version 1.3.34
-- Found GraphicsMagick: /usr/include/GraphicsMagick  
-- The C compiler identification is GNU 8.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
Skipping the Maps example since Boost was not found
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:
JPEG_LIB
    linked by target "io2d_cairo_xlib" in directory /home/saheed/DEV/Udacity/P0267_RefImpl/P0267_RefImpl/P0267_RefImpl/cairo/xlib
LZMA_LIB
    linked by target "io2d_cairo_xlib" in directory /home/saheed/DEV/Udacity/P0267_RefImpl/P0267_RefImpl/P0267_RefImpl/cairo/xlib
TIFF_LIB
    linked by target "io2d_cairo_xlib" in directory /home/saheed/DEV/Udacity/P0267_RefImpl/P0267_RefImpl/P0267_RefImpl/cairo/xlib

-- Configuring incomplete, errors occurred!
See also "/home/saheed/DEV/Udacity/P0267_RefImpl/Debug/CMakeFiles/CMakeOutput.log".

@refactormyself refactormyself changed the title Build Error: "Skipping {svg | maps} since Boost was not found" Build Error: "Skipping maps since Boost was not found" and CMake Error: {..}used in this project, but they are set to NOTFOUND. Apr 12, 2020
@GowthamRam96
Copy link

image
Can anyone help me on fixing this!?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants