Mona Jalal
Mona Jalal

Reputation: 38155

Error C1083 Cannot open include file: 'IexBaseExc.h': No such file or directory

So I have added this path to my Include files in C/C++ general section however I still get this error. What's the fix for Visual Studio 2015 in Windows 10?

Severity    Code    Description Project File    Line    Suppression State
Error   C1083   Cannot open include file: 'IexBaseExc.h': No such file or directory (compiling source file replay\replay_renderer.cpp)  renderdoc   c:\users\mona\playing-for-data\renderdoc\renderdoc\3rdparty\openexr\openexr\ilmimf\ImfHeader.h  55  

enter image description here

enter image description here

I have cleaned the project and built it again!

Upvotes: 0

Views: 4421

Answers (2)

Sidhin S Thomas
Sidhin S Thomas

Reputation: 885

Check your .Vcxproj file by search path in it. If what you added got included. Sometimes Visual studio doesn't do that.

Now I solved it in two ways.

First, I manually added the include path into .vcxproj Problem with that you need at least one include path already in the .Vcxproj else it may break the project settings of not done careful.

Second, don't know why it works. Instead of setting the include for a specific platform and configuration. Choose all configuration and all platform. Then add your paths. This worked for me well. Still works.

See if that helps.

Upvotes: 1

Nikita
Nikita

Reputation: 6427

Aditional Include Directories can be specified per Configuration and Platform. On your screenshot you set include directory for Profile configuration and Win32 platform.

Check that proper include directory value set for configuration and platform you are building for. Active configuration can be found in Configuration Manager.

Upvotes: 1

Related Questions