c++ - VS Community 2013: cannot open include file 'winres.h' -
i trying compile project, looks includes in wrong folder or other reason cant find winres.h
.
i tried adding path (c:\program files (x86)\windows kits\8.0\include\um)
everywhere doesn't work.
my vc++ include derictories path looks this: $(vcinstalldir)include;$(vcinstalldir)atlmfc\include;$(windowssdkdir)include;$(frameworksdkdir)\include;c:\program files (x86)\windows kits\8.0\include;
my c/c++ additional include directories path looks this: ../../include;../../src/libpocketsphinx;../../../sphinxbase/include;../../../sphinxbase/include/win32;c:\program files (x86)\windows kits\8.0\include;%(additionalincludedirectories)
the error is:
pocketsphinx.rc(10): fatal error rc1015: cannot open include file 'winres.h'.
how change include path?
i post images illustrating not have enough reputation points. change includes of project, follow these steps:
1) open visual studio.
2) open projects.
3) open drop down menu right-clicking project in solution explorer.
4) click on properties.
now there 2 places change includes:
1) click on vc++ includes.
2) add includes directory field "include directories".
or
1) click on c/c++>general.
2) add includes director field "additional include directories".
if current project, use second means of adding. of course, click ok or apply.
for future reference, suggest going through of vs tutorials. covered there.
Comments
Post a Comment