I'm trying to follow the create icub makerfiles http://wiki.icub.org/wiki/Linux:Installation_from_sources but I have an error, and I've already followed all the steps
This is the error and I don't know what to do now...
CMake Error at CMakeLists.txt:15 (find_package):
By not providing "FindYARP.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "YARP", but
CMake did not find one.
Could not find a package configuration file provided by "YARP" (requested
version 3.2.0) with any of the following names:
YARPConfig.cmake
yarp-config.cmake
Add the installation prefix of "YARP" to CMAKE_PREFIX_PATH or set
"YARP_DIR" to a directory containing one of the above files. If "YARP"
provides a separate development package or SDK, be sure it has been
installed.
CMake is looking for the
YARPConfig.cmakefile, that cannot be found in one of the searched paths.If you didn't install YARP, that's the problem. If you did, then it depends on how you installed it.
/usror/usr/localon Linux) it should be found automatically.if you built YARP from sources and installed it in a non-standard location (
<installation prefix>) you can choose one of these options :CMAKE_PREFIX_PATHenvironment variable to<installation prefix>(recommended if you are planning to install more than one package in the same path).YARP_DIRenvironment variable to the<installation prefix>/lib/cmake/YARP-DYARP_DIR=<installation prefix>/lib/cmake/YARPtocmakeccmakeinstead ofcmake, search forYARP_DIRand set it to<installation prefix>/lib/cmake/YARPIf you built YARP from sources (in the folder
<build folder>) and did not install it, you can choose one of these options:YARP_DIRenvironment variable to the<build folder>-DYARP_DIR=<build folder>tocmakeccmakeinstead ofcmake, search forYARP_DIRand set it to<build folder>