Jump to content
  • Advertisement
Sign in to follow this  
widmowyfox

Visual Studio Compilation Problem

This topic is 715 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I tried to compile some code and got:

fatal error C1083: Cannot open include file: 'atlimage.h': No such file or directory

 

I searched the whole computer and I have not this file. I checked vc files and microsoft windows sdk. Where I can download this file, is it included in another vc versions? I saw on the internet that not only I had this problem but I didn't find a solution.I think that this file should be in windows SDK. Could you check it?

Share this post


Link to post
Share on other sites
Advertisement

What version of VS are you using?  I've seen some stuff on stack overflow that suggests it isn't in some of the express versions.  I did find installed in Visual Studio Community 2015.

Share this post


Link to post
Share on other sites

I have vs10 express, but I cant find 2010 standard on internet, later versions is not an option, I am running on vista currently, someone have download for vs10 standard or can provide missing files?

Share this post


Link to post
Share on other sites

I did it, hard work to find solution. No support dont mean dont work :P For anyone who have this problem this is solution.

THIS ONLY WORK FOR EXPRESS NO PRO!!!

1.Download and install https://www.microsoft.com/en-us/download/details.aspx?id=11800

2.Add includes and libraries path to project

3.You will have errors with min function in atlimage.h

 

add 

#define NOMINMAX 

change 

UINT nMaxColor = min(256, (UINT)pPalette->Count);

to 

UINT nMaxColor = min((UINT)256, (UINT)pPalette->Count);

4.You will have errors with atldef.h

change

#include "..\atl30\atldef.h"

to

#include "..\atl71\atldef.h"

5.You will have errors with atlconv.h

change

#include "..\atl30\atlconv.h"

to

#include "..\atl71\atlconv.h"

6.Now it should compile

Edited by widmowyfox

Share this post


Link to post
Share on other sites

I have vs10 express, but I cant find 2010 standard on internet, later versions is not an option, I am running on vista currently, someone have download for vs10 standard or can provide missing files?

Why are later versions not an option? And why are you on vista??? That OS is several versions old now.

Share this post


Link to post
Share on other sites

Because I like it (I am probably one of three people that use this os, I used it since 2007) but later versions- win 7 and win 8 dont really change anything in programming from my view, everything I can do on vista. I will change os on win 10 for directx 12 but I'm still waiting on optimizing and patching errors. Only minus is that visual studio work only to 10 version. It is stupid I run every new game on ultra graphic options and can't install vc :/

Edited by widmowyfox

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!