certik / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

cannot use YAMLCPP #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.building YAMLCPP through cmake
2.cmake not detecting YAMLCPP as a dependency

What is the expected output? What do you see instead?
I would like it to recognize YAMLCPP, instead it gives this error
"Could NOT find YamlCpp (missing:  YAMLCPP_LIBRARY YAMLCPP_LIBRARY_DIR) 
Could NOT find YamlCpp (missing:  YAMLCPP_LIBRARY YAMLCPP_LIBRARY_DIR) 
CMake Error at CMakeLists.txt:116 (message):
  You need yamlcpp to build this, build yamlcpp in the 'dependencies/'
  directory, or install it as a system package"

What version of the product are you using? On what operating system?
yaml-cpp-0.5.1 on windows 7

Please provide any additional information below.
I have screenshots of my folders that I have setup and I will paste them below.

Original issue reported on code.google.com by Oklisten...@gmail.com on 8 Apr 2014 at 5:48

Attachments:

GoogleCodeExporter commented 9 years ago
This looks like a problem with your project's CMake file, not with yaml-cpp; it 
appears that you've successfully built yaml-cpp. Please ask this question on 
Stack Overflow, phrase it as a CMake question, and make sure you post your own 
CMakeLists.txt file.

Original comment by jbe...@gmail.com on 8 Apr 2014 at 1:09