Posted: 15th Aug 2011 10:44
Anyone using the Express versions of C++ will need to make a few changes to the templates and projects in order to compile:

* remove the include for atlimage.h in core.cpp

* edit project settings and ignore atls.lib and atlsd.lib in the linker

* update the debug directory so it points to the Final folder (for example projects)

We will be releasing an update that contains these fixes as soon as possible.
Posted: 16th Aug 2011 15:43
In VS2010 (NOT express) under DEBUG mode i have to ignore atls.lib and atlsd.lib in the linker, else I get 7 warning errors
Posted: 16th Aug 2011 21:56
Did anybody get this working? I am still failing to get it up and running on VS2010 express. Anyone happen to have a fixed file for at least for the template they can send over?

Thanks.
Posted: 16th Aug 2011 22:44
Apologies if this is a repost (please dlete it so). Did anyone get this working? I am still struggling to get the exe.s running from within the VS2010 IDE (it keeps looking in the wrong directory). if anyone has a working solution file can they post it? Thanks.
Posted: 17th Aug 2011 0:42
Ok here is the work around that worked (change for each project)

under Linker/General/Output File change to $(OutDir)$(TargetName)$(TargetExt)

under Config Properties/Debugging/Working Directory change to
$(SolutionDir)\Final
Posted: 17th Aug 2011 10:04
Glad you got it working wodvik. Just so you know I am on the case with this and the next set of projects will have updated settings. Expect to see these files available for download by the end of the week.
Posted: 17th Aug 2011 10:24
I know it's much work, but for the sake of everyone, and to avoid repeating the same problem 10000 times, could you make sets of project files for VS2008 & 2010, Express & Full?
Posted: 17th Aug 2011 10:33
There will be project files for VS 2008, VS 2008 Express and VS 2010 Express. Not able to do the full version of VS 2010 right now.
Posted: 17th Aug 2011 23:00
Hi all, this is my first time using a forum so please forgive me in advance if I'm no doing it correctly.

I've tried the above suggestions but I'm now getting the following error (I'm using Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: VC Express

Microsoft Visual C++ 2010 01013-169-2610014-70575
Microsoft Visual C++ 2010

Hotfix for Microsoft Visual C++ 2010 Express - ENU (KB2542054) KB2542054
This hotfix is for Microsoft Visual C++ 2010 Express - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2542054.

Security Update for Microsoft Visual C++ 2010 Express - ENU (KB2251489) KB2251489
This security update is for Microsoft Visual C++ 2010 Express - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2251489.):

1>------ Build started: Project: 001 General - Core, Configuration: Release Win32 ------
1>LINK : fatal error C1047: The object or library file 'C:\Program Files\The Game Creators\AGK\IDE\platform\windows\Lib\Release\AGKWindows.lib' was created with an older compiler than other objects; rebuild old objects and libraries
1>LINK : fatal error LNK1257: code generation failed
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Posted: 18th Aug 2011 7:22
I'm having troubles too. I haven't used VC++ in a long time, and am trying 2010 Express.

"


I'm not sure where to do these steps. I've already followed bjadams' steps successfully.

When I compile I get:

template.rc(1): fatal error RC1015: cannot open include file 'afxres.h'.
Posted: 18th Aug 2011 8:35
skybro, you have to compile in DEBUG mode for now. RELEASE won't work. But they will fix that soon.
Posted: 18th Aug 2011 8:39
jeku...

1. View - Other Windows - Property Manager
2. right click inside the Property Manager & select Properties
3. Check under Linker - General - Additional Lib Directories
4. Check under C++ - General - Additional Inc Directories
Posted: 18th Aug 2011 12:29
Thanks for that bjadams - I was up to the early hours trying to sort it - eventually passed out due to sleep deprivation
Posted: 18th Aug 2011 16:37
Unfortunately VS2010 has different setting screens than VS2008 and it's not that straight forward & very frustrating until you get the hang of it
Posted: 18th Aug 2011 18:48
Testing has gone well over the past few days. New project files and template work fine with VS 2008, VS 2008 Express and VS 2010 Express in debug and release. Expect to see everything released sometime tomorrow.
Posted: 20th Aug 2011 3:44
hi i think i am doing this all wrong but are you suppose to open up the interperter project file. Then make these changes. because that is what i did and i got the following error.
I notice that it has already been belt and the release has the core and release object files.

+ Code Snippet
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>.\interpreter.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
1>Build log was saved at "file://c:\Program Files (x86)\The Game Creators\AGK\IDE\apps\interpreter\Release\BuildLog.htm"
1>interpreter - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Posted: 20th Aug 2011 3:52
Oh never mind I think I know the error i am using 2008 express instead of 2008 professional
Posted: 20th Aug 2011 15:12
I got AppGameKit up and running in VS 2010 C++ express but some of the changes I made seemed to errupt a ton of error messages related to "Cannot open pdb file" or something of the sort. I checked on the msdn website and from what I gathered this isn't a big concern? One thing I can't figure out is how to load images, where do the image files need to be in order for the agk::LoadImage to work and do I need to do something to the project settings?

I'm quite new to C++ so my apologies if these questions have very basic solutions.
Posted: 20th Aug 2011 18:41
Well i got it too work but there is a message loop error that I don't know what it is. You only need the first post to acually make it work on c++ 2008 professional, because I have ecountered afxres.h error before. It means that express wont work with the prexisting program. I have tried to work around this error in express and I don't know if it is worth the effort to make it work with express.
Posted: 20th Aug 2011 19:42
Hodger, for now put all your media files in a folder called MEDIA. They are going to fix this requirement for the next version