test.obj:致命错误LNK1276:发现无效的指令'测试':不以'/'开头 [英] test.obj : fatal error LNK1276: Invalid directive'test' found : does not start with ‘/’
本文介绍了test.obj:致命错误LNK1276:发现无效的指令'测试':不以'/'开头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在升级VS6.0 - > VS 2017代码。
I work upgrade VS6.0 -> VS 2017 code.
这个错误,我知道项目选项,我觉得没问题。
this err, i checekd project option and i think no problem.
下一步做什么?
推荐答案
您是使用makefile还是从项目文件构建的? 您是否从头开始创建新项目文件? 这里的含义是你最终得到的命令行
Are you building with a makefile, or from a project file? Did you create your new project file from scratch? The implication here is that you are ending up with a command line that has
 链接    /出:TEST.EXE 测试
link /out:test.exe test
而不是"test.obj"。
instead of "test.obj".
这篇关于test.obj:致命错误LNK1276:发现无效的指令'测试':不以'/'开头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文