I started working as a research fellow at my university and was instructed to develop a component for an already existing application written in C++ using an in-house framework, also developed in C++.
Currently I am struggling with properly setting up the project in Visual Studio 2017. Whenever I try to include a file from the framework, IntelliSense complains about not being able to open the file.
However, following things add to the oddness of the problem:
The solutions properties are set correctly; the project DOES build without any complaints.
Writing the '#include'-directive, IntelliSense DOES suggest the correct relative path to the header files (i.e.
#include <framework/class.h>
).I can open the header file from within the source file referencing it, using the 'Open Document "class.h"' dialog.
I have already came across this:
So far, nothing solved my issue. Did someone come across this issue yet?
TL;DR
- Everything compiles fine.
- "C/C++ -> General -> Additional Include Directories" is set properly.
- "VC++ Directories -> Include Directories" is set as well.
- IntelliSense properly suggests header file, when writing include directive.
- BUT IntelliSense reportedly fails to open the file, thus not indexing it.
- I am stuck with a fancy but resource hungry text editor.
EDIT:
I am working on a MacBook "13 2016; installed Windows 10 Pro 64-bit via Bootcamp.