Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now
- - - - -

Undefined reference to add-on methods/classes

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 SuperV1234   Members   

405
Like
0Likes
Like

Posted 21 November 2012 - 10:03 AM

I can include "angelscript.h" and use all of its methods/classes properly. I can include add on headers, but trying to use them gives me "undefined reference" problems.

I tried compiling with a lot of different parameters but that didn't work. Am I doing something wrong?

#2 SiCrane   Moderators   

11759
Like
1Likes
Like

Posted 21 November 2012 - 10:19 AM

The addons are mostly implemented in separate source files stored in the /sdk/add_on folder. Add the appropriate source files for the add_ons you want to use from that folder to your project.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.