Mel*_*Med 5 c++ projects visual-studio-2010
我使用 Visual Studio 在一个名为 SOL 的解决方案中拥有两个项目:项目 1 和项目 2
在每个项目中:我都有一些标头和 cpp 文件。
在项目 2 中,我想使用项目 1 中现有的标头:
#include "proj1.h"
Run Code Online (Sandbox Code Playgroud)
我遇到错误,指出该文件不存在:
Error 2 error C1083: Cannot open include file: 'proj1.h': No such file or directory C:\Users\...\Visual Studio 2010\Projects\SOL\proj2.cpp 28
Run Code Online (Sandbox Code Playgroud)
我正在使用 VS 2012,但据我所知,对于这个主题来说,这几乎是相同的。
归档时间: |
|
查看次数: |
18089 次 |
最近记录: |