Questions tagged [yaml-cpp]

yaml-cpp is an open source C++ library, for parsing and emitting YAML.

yaml-cpp is an open source C++ library, hosted on GitHub, for parsing and emitting YAML.

314 questions
0
votes
1 answer

QT yaml-cpp Windows

i am new on programming in windows and in QT. I started a QT project and want include yaml-cpp 0.30 Now i have different problems. First i wanted to build the lib with cmake and Visualstudio but i am not sure if i did this right. I start Cmake and…
Hunk
  • 479
  • 11
  • 33
0
votes
1 answer

Linker errors when using yaml-cpp 0.5 DLL

I've got a C++ project in Visual Studio 2010 where I'm porting my code from the old yaml-cpp 0.3 API to the new 0.5 API. I've set up Boost, built the new DLLs with CMake, set up the include and library paths, updated all the code to match the new…
SupSuper
  • 133
  • 2
  • 7
0
votes
1 answer

Inner workings of yaml-cpp vs c++ maps

Just a quick question about the inner workings of yaml-cpp. I noticed that when i tried to look up a key that didn't exist i got an error such as: yaml-cpp: error at line 0, column 0: bad conversion I was suprised by this because I would have…
easytiger
  • 514
  • 5
  • 15
0
votes
1 answer

Append items to a map within a YAML file

In a YAML file, is it possible to add an item to a map after the map has already been defined? For example, if I have a file: fruits: bananas: quantity: 4 apples: quantity: 2 grapes: quantity: 37 vegetables: lettuce: …
Neal Kruis
  • 2,055
  • 3
  • 26
  • 49
0
votes
0 answers

building yaml C++ giving problems

Though I copied the files from the yaml-cpp website, I am getting the following errors: 2>c:\git_sandbox\sandbox\templatematching\templatematchingframework\prj.thirdparty\yaml-cpp\src\stream.h(9): fatal error C1083: Cannot open include file:…
vkaul11
  • 4,098
  • 12
  • 47
  • 79
0
votes
1 answer

How to uninstall yaml-cpp (build from source)

I tried to install yaml-cpp0.2.6 on my Oneric 11.10 server (on a pandaboard / armel architecture). so i used: $ hg clone http://code.google.com/p/yaml-cpp/ (which appers to be yaml-cpp0.5.0) $ mkdir build $ cd build $ cmake -DBUILD_SHARED_LIBS=ON…
user1455085
  • 915
  • 1
  • 6
  • 10
-1
votes
1 answer

CMake find_file not finding file

Trying to load yaml-cpp in my project add_executable(abhi src.cpp) set(CMAKE_INCLUDE_PATH "absolute_path_of_directory") find_path(yaml-cpp_INCLUDE_DIRS yaml-cpp/yaml.h NO_DEFAULT_PATH) target_include_directories(abhi yaml-cpp_INCLUDE_DIRS) When I m…
Abhinav Singh
  • 302
  • 3
  • 15
-1
votes
1 answer

How to parse arbitrary yaml file with yaml-cpp library without knowing keys in mappings and types of the terminal scalars?

Recently, I was given the task to parse a YAML file containing parameters for some automated calculation. I didn't hear the word "YAML" before, but honestly read about it the all that I could find on the Internet. All the parsing examples that I saw…
Ilia
  • 425
  • 2
  • 10
-1
votes
3 answers

YAML - Validation error during deployment using Yaml config file

I'm following this Microsoft Tutorial to create a Windows Server container on an Azure Kubernetes Service (AKS) cluster using Azure Cli. In the Run the Application section of this turorial, I get the following error when running the following…
nam
  • 21,967
  • 37
  • 158
  • 332
-1
votes
2 answers

Add YAML values to std map using YAML-CPP

I have a yaml file which has nested maps in it: SOLAR-SYSTEM: my/planet: earth: blue my/satellite: moon: white I am using yaml-cpp to parse these values. Is there any way I can pull out these values from the yaml file and add them to a…
hal9000
  • 201
  • 5
  • 25
-1
votes
3 answers

Alternative script for YAML?

I was going to use yaml because it has great feature called merge! ("<<" key) And I'm using 'yaml-cpp' for parser since i'm working on cpp. But! yaml-cpp does not support merge. What can I do for alternatives? Other scripts, other parser, other way…
SeniorLee
  • 805
  • 1
  • 12
  • 25
-1
votes
1 answer

yaml-cpp encoding / decoding pointers?

So I am trying to use yaml-cpp with data that contains pointers, here is my code: struct InventoryItem { std::string name; int baseValue; float weight; }; struct Inventory { float maximumWeight; std::vector
ryanzec
  • 27,284
  • 38
  • 112
  • 169
-1
votes
1 answer

create dll out of yaml-cpp source code

Newbie to windows. I need to use yaml-cpp library in a project, but I can't seem to compile it in windows. I tried everything (everhthing!) I could find but no place have the full answer, just tips for the process. but those tips don't help so…
Izik
  • 746
  • 1
  • 9
  • 25
-1
votes
1 answer

Efficient and stable YAML parser for cocos2d-x

I am developing a game using cocos2d-x and C++, and I need to load a bunch of YAML files for this application. I tried using the yaml-cpp library with quite good results. The problem is that this library seems to be very unstable (at least under…
marzapower
  • 5,531
  • 7
  • 38
  • 76
1 2 3
20
21