Sign in to follow this  
wcassella

Embedding AngleScript in C++ Application

Recommended Posts

Hello!

 

I've been attempting to write a game engine, and I was looking into scripting languages. I'm currently looking at boost.python, luaBind, and angelscript, and I think I'm gonna go with angelscript because it is well suited for what I'm trying to acheive. I've successfully downloaded and compiled the source on VC++12, but I'm having a hard time following the official tutorial. It doesn't give any clues on where I'm supposed to put the code, and it seems to have a bunch of errors (undefined identifiers, missing inclusions). Am I just following it wrong, or is there a better tutorial I could follow for linking and calling simple functions from c++ to angel script and vice versa?

 

Much appreciated,

 

Will

Edited by Salty Boyscouts

Share this post


Link to post
Share on other sites
Hi Will.

I guess I'll have to rewrite the tutorial article. It was meant to describe how to do things not to be copied and pasted into an application :)

I suggest you take a look at the sample applications. Those can be compiled and tested. I've tried to comment the code in them as well as possible so you shouldn't have problems understanding from them.

Regards,
Andreas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this