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

后端 未结 4 1534
遥遥无期
遥遥无期 2020-12-06 09:52

I am using visual studio 2005 to create a project. And I have folder structure in project as: a folder called code. this folder contains all *.cxx files.

Now, I hav

4条回答
  •  攒了一身酷
    2020-12-06 10:19

    The following approach helped me.

    Steps :

    1.Go to the corresponding directory where the header file that is missing is located. (In my case,../include/unicode/coll.h was missing) and copy the directory location where the header file is located.(Copy till the include directory.)

    2.Right click on your project in the Solution Explorer->Properties->Configuration Properties->VC++ Directories->Include Directories. Paste the copied path here.

    3.This solved my problem.I hope this helps !

提交回复
热议问题