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 / Stuck with Tier 2 / Windows

Author
Message
paulrobson
10
Years of Service
User Offline
Joined: 22nd Nov 2014
Location: Norfolk, England
Posted: 23rd Nov 2014 00:34
I spent a fair amount of time today trying to get Windows compiling the template - tried VSX2008 and VSX2010. Oddly, both templates appear to be completely identical.

Building it under 2010 fails because of the missing atls/atlsd libraries. I extracted these from a Windows DDK and set it up to link in - this didn't work either, unfortunately, due I think to type issues. When I tried it under 2008 or under 2010 with v90 set, the template wouldn't compile - HTOUCHINPUT and other undefined errors before it got near the linker. I spent a couple of hours tinkering with this but I couldn't escape one problem or the other - either it wouldn't compile or it wouldn't link.

I appreciate this is under development still but Tier 1 iOS and Android I did without much trouble (using the ADK and Eclipse not the online one).

Does anyone have any suggestions ? Or a working template ? Does anyone else use Tier 2 ? Tier 1 (BASIC) is a bit too limited for development, no modules, oop, libraries etc.

All help gratefully received !
fog
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location: Newcastle, England
Posted: 23rd Nov 2014 02:25
I use Tier 2 with VS2008 Express no problem.

As far as the missing atls/atlsd libraries are concerned I have them ignored (see attached image).

If you still have problems you can email me or upload your project and I'll have a look at it.

What OS are you using and did you install from Steam because path names may be different?

Attachments

Login to view attachments
DeftAvatar
10
Years of Service
User Offline
Joined: 13th Sep 2014
Location:
Posted: 23rd Nov 2014 02:43
What I'd like is a VS2013-friendly version of AGK2 (current AGKWindows.lib can't be linked because of version-mismatch). Anyone know if/when that's coming?
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 23rd Nov 2014 05:38
Quote: "When I tried it under 2008 or under 2010 with v90 set, the template wouldn't compile - HTOUCHINPUT and other undefined errors before it got near the linker."


Yup, I had that issue too. TGC actually got me to rewrite the compiling guide for AGK2 for Windows and Android, and I gave instructions on fixing some common issues. They're not online yet, AFAIK, but for the moment you can refer to my thread.

If you have any issues after reading my thread, don't hesitate to ask me about it

paulrobson
10
Years of Service
User Offline
Joined: 22nd Nov 2014
Location: Norfolk, England
Posted: 23rd Nov 2014 08:26
Thanks - I finally got it fixed last night I think the problem was a confusion between the vcproj and vcxproj files. Builds fine on VSX2010.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 23rd Nov 2014 13:32
Glad you got it working!

Quote: "I think the problem was a confusion between the vcproj and vcxproj files. Builds fine on VSX2010."


To be honest, I haven't been able to build on VS2010 either, but you may have just solved it for me!

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 23rd Nov 2014 19:43
Using Visual Studio has been a disaster from the start. Every update screws the projects. It's not necessarily TGC's fault, but had they chosen to switch to a less proprietary compile like GNU C++ a long time ago this kind of nightmare (and various others, like porting to other languages) would have been a lot easier all round.

-- Jim - When is there going to be a release?
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 25th Nov 2014 05:15
Quote: "It's not necessarily TGC's fault, but had they chosen to switch to a less proprietary compile like GNU C++..."


... I would never have used Tier 2. I love Visual Studio! Sure, it's horrific as a new user, but as a fairly experienced programmer it's great! Plus it's one of fastest and most reliable C++ compilers out there! In all honesty I would have been horrified if they'd switched away from VS. And I don't even like M$.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 4th Dec 2014 17:44
I used the template with VS2013 and it worked out of the box

that's how things should be

Login to post a reply

Server time is: 2024-11-25 11:37:19
Your offset time is: 2024-11-25 11:37:19