开发者

How to add include directory to Visual C++ Express 2010?

开发者 https://www.devze.com 2023-03-20 16:43 出处:网络
Include directories aren\'t configurable via Tools/Options anymore. I see no way to do that via Solution Properties also. I have set INCLUDE environment variable, restarted VS but cl.exe (rc.exe reall

Include directories aren't configurable via Tools/Options anymore. I see no way to do that via Solution Properties also. I have set INCLUDE environment variable, restarted VS but cl.exe (rc.exe really) still misses a header file.

fatal error RC1015: cannot open include file 'winres.h'.

C:> echo %INCLUDE%                                 
C:\Progra开发者_高级运维m Files\Microsoft Platform SDK\Include\mfc

C:> ls "C:\Program Files\Microsoft Platform SDK\Include\mfc\WINRES.H"
WINRES.H <-- it exists
0

精彩评论

暂无评论...
验证码 换一张
取 消