Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Correctly linking to agk library

Author
Message
Willie Mundermuffin
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 21st Dec 2012 07:50
I'm using tier 2 C++ in latest version Xcode (OsX). I can create custom classes and it compiles fine, but now I'm creating a custom class that makes use of AppGameKit commands. As soon as I attempt to #include "AGK.h" I get 20 linker errors (everything from parser to semantic errors). What is the correct way to make use of the AppGameKit library outside the main file? Thank you
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 21st Dec 2012 08:01
AL explains it well in this thread.

Quote: "And, very important, make sure that the 'File Type' dropdown is set to 'Objective-C++ Source' (in the far right column when you select a file) for the files you add to the project."


Willie Mundermuffin
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 21st Dec 2012 10:05
Thank you VERY much!

Login to post a reply

Server time is: 2024-05-04 05:41:47
Your offset time is: 2024-05-04 05:41:47