Visual Studio can't 'see' my included header files

后端 未结 10 1173
囚心锁ツ
囚心锁ツ 2020-12-10 00:30

I created an empty \'Demo\' project in Visual Studio 2008 and added some existing projects to my solution. Included \"MyHeader.h\" (other project\'s header) in main.cpp file

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-10 01:33

    In my experience, with VS2010, when include files can't be found at compile time, doing a clean, then build usually fixes the problem. It's not that rare for the editor to be able to open an include file and then the compiler to announce that it can't find that very file, even when it is open on the screen!

提交回复
热议问题