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 / Wont recognize namespace

Author
Message
Ancient Doom
10
Years of Service
User Offline
Joined: 24th Feb 2014
Location:
Posted: 4th Mar 2014 17:57
Yo

AGK is required in my class, and we have installed it. We go in to Visual Studios 2010, make a copy of the template, and work from there.

Basic code is:


but the AppGameKit is not recognized to begin with. it says:
Error: namespace must be a namespace name

I figure that means the AppGameKit needs to be installed in some special way to be recognized by VS2010.

Please help.
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 4th Mar 2014 20:19
Shouldn't the namespace name be "agk" wit non-capital letters since that's what the functions are using.

Other than that, does the template work without the namespace there?

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 5th Mar 2014 02:39
Quote: "Shouldn't the namespace name be "agk" wit non-capital letters since that's what the functions are using. "

No, Ancient Doom has it correct.

Ancient Doom, is your new project directory in the same directory as the template?

And what version of AppGameKit are you working with? AppGameKit v1 v10819 thrue v10821 or AppGameKit V2?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-11-25 03:39:25
Your offset time is: 2024-11-25 03:39:25