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 / T2 Problem with common.h not finding windows.h

Author
Message
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 20:17
I moved around the agk files and directory from the standard VS2010 location (I know, that's my first problem, right?). I figured I could just go into the project settings and re-set all of the directories, however, the compiler cannot find windows.h anywhere, and I'm stumped.

Where is windows.h supposed to be? I've done a search on my hard drive, and have only found it in projects that have nothing to do with AGK.

Any suggestions would be appreciated!
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 20:35
Okay, so I found a Windows.h, but no lower case w, my search was only looking in one directory.

My guess is that the compiler is not finding AGKWindows.lib

If someone can confirm this for me, that would help
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 20:55
Just to update this more, the compiler cannot find any of the standard libraries. The compiler cannot find <string> or time.h either
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 21:03
Further updates (hoping at some point someone will, say, "OH! This what you've done wrong!):

I'm not using the beta, I'm using 1.076
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Jan 2013 21:07
Try uninstalling and reinstalling and see if it works BEFORE you start moving directories around.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 21:09
Uninstalling and reinstalling what? Visual Studio? AppGameKit?

It was working BEFORE I started moving directories around.
ManOfActionTM
12
Years of Service
User Offline
Joined: 16th May 2011
Location: Sahuarita, Arizona
Posted: 4th Jan 2013 21:12
AHA! Solution at last!

http://forum.thegamecreators.com/?m=forum_view&t=200300&b=20

Somehow I did the same thing as Qqite
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Jan 2013 21:15
I meant reinstalling AppGameKit, since that was the one whose directories you moved about.

But, if you found a solution, no problems.

Naturally, if you want to use things like strings, you need to include the correct headers.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-05-06 22:55:25
Your offset time is: 2024-05-06 22:55:25