Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17098

Adding libyaml or other external libraries to a project

$
0
0

@arbraini wrote:

Hi,

I'm working on parsing yaml files that contain the configuration information for game objects. I want to avoid adding Boost to the project so I started using the c library: libyaml. The examples I can find of how to add libyaml to a c++ project involve compiling a binary .dll and adding it to the project.

Compiling the .dll won't be cross platform capable. I tried including the source directly to the project and have it build with the project but that just does not seem to work correctly.

I can't be the first person adding yaml parsing to a cocos2s-x project. Does anyone know of an open source project I can use as an example? Or if anyone has an explanation on how to add a library like this to a cocos2d-x project?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>