Cannot set "VCG_INCLUDE_DIRS": current scope has no parent.
anasel01 opened this issue · 3 comments
anas@anas-VirtualBox:~/VCG/build$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- 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
-- 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
CMake Warning (dev) at CMakeLists.txt:17 (set):
Cannot set "VCG_INCLUDE_DIRS": current scope has no parent.
This warning is for project developers. Use -Wno-dev to suppress it.
-- - Eigen - using bundled source
-- Configuring done
-- Generating done
-- Build files have been written to: /home/anas/VCG/build
anas@anas-VirtualBox:~/VCG/build$ make install
make: *** No rule to make target 'install'. Stop.
Same issue. How to solve it?
I met the same problem, too. how to solve it?
Cannot set "VCG_INCLUDE_DIRS": current scope has no parent
is a warning, you can ignore it.
the cmake configuration of vcg does not have an install rule, therefore just don't run install
.
VCG is header only: just add the project directory in the include path, and include the header files you need.
If you have a cmake project, you can also use it by doing add_subdirectory
and then linking the vcglib
target.