majintao0131 / yaml-cpp

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

Wrong path in .pc file #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Apparently there is a problem in the pkgconfig file as per 
https://bugs.archlinux.org/task/28123

You install to include/yaml-cpp but never actually search there. Is this 
intended?

Original issue reported on code.google.com by svenst...@gmail.com on 28 Jan 2012 at 9:18

GoogleCodeExporter commented 9 years ago
Are you writing

#include "yaml.h"

or

#include "yaml-cpp/yaml.h"

?

The latter is the intended use. E.g., the file location is 
include/yaml-cpp/yaml.h, so you should add the include/ directory to your 
search paths, and then specify the yaml-cpp subdirectory.

Original comment by jbe...@gmail.com on 28 Jan 2012 at 9:38

GoogleCodeExporter commented 9 years ago
Very well, then this a non-bug and should be closed. Sorry for the noise.

Original comment by svenst...@gmail.com on 28 Jan 2012 at 9:40

GoogleCodeExporter commented 9 years ago
OK, thanks for letting me know. No worries about the noise :)

Original comment by jbe...@gmail.com on 28 Jan 2012 at 11:02