【发布时间】:2015-09-22 10:09:13
【问题描述】:
我正在尝试使用 Microsoft Visual C 编译器在 Eclipse 中构建我的项目并创建一个可执行文件。我在控制台中得到以下输出:
12:02:42 **** Incremental Build of configuration Release for project ProjectName ****
make all
Building target: ProjectName.exe
Invoking: Linker (link)
link /nologo /OUT:"ProjectName.exe"
link: cannot create link `/OUT:ProjectName.exe' to `/nologo': No such file or directory
make: *** [ProjectName.exe] Error 1
我一直在寻找解决方案几个小时,但没有结果。任何帮助将不胜感激。
【问题讨论】:
-
看起来它正在运行 cygwin 的
link而不是 VC 链接器。