• 11
• 9
• 10
• 9
• 10

# Migrating to Visual studio 2013, cannot open included file

## Recommended Posts

Hi

I just tried to go from visual c++ 2008 to 2013. The old one uses included directories for the entire environment (so I just set this once for all my projects). The newer version of visual studio didnt work with my old projects. It tried some conversion but i think i need to set up all include paths/library paths etc. Is this correct?

I include them in the project->properties->vc++ directories->include directories but i still get:

Error 1 error C1083: Cannot open include file: 'hge.h': No such file or directory

Even though that file is in the folder i included.

Any idea what is wrong here?

I also get LOADS of lines of error like this or similar:
13 IntelliSense: identifier "hgeSprite" is undefined

Thanks

Erik

##### Share on other sites

The problem was that I included the top folder of the dependancies, I thought one could do that. Now I included the "include" folder one step below the top folder instead and it works fine.

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account