Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help - How to load a plugin for a simple program?

Status
Not open for further replies.

monkE

Programmer
Jul 28, 2004
1
GB
Hi all,

This should be a pretty easy question to answer for somemone who knows C++.

I'm really just looking for some help from an experienced C++ programmer to tell me how I would go about adding in the existing plugins that come with a package called OpenSteer used to show various behaviours of autonomous agents. It's just that the documentation that came with is very poor.

Nothing needs to be known about the package, It's just a case of reading the small amount of code and seeing how these are added to it.

For someone who regularly writes C++ this should only take a few minutes. I on the other hand have gone through a few times and can't see what to do with them :-S

You can download the files here (right-click and 'Save Target as'):
I've attached the Visual C++ workspace that compiles without any errors so no messing about required there.

Also I have attached a compiled executable of what the compiled form should look like (was downloaded).

The executable doesn't ask which behaviour to run but the source code says that it lists them all and allows the user to choose one to run.

There's a folder called plugins with all the various behaviours there as cpp files. Just don't know how to add them to the program so that it shows up in the list.

Please help! :)

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top