Q:
I am having trouble building the DirectShow baseclasses
project. I get the following error when I build using
Visual C++ 6.0.
C:/DXSDK/Samples/C++/DirectShow/BaseClasses/wxutil .cpp
(626) : error C2400: inline assembler syntax error
in 'opcode'; found 'newline'
A:
I just figured out what was happening. I am using STLport
v4.5.3 as my standard template library. The line in
wxutil.cpp that cause the problem is instruction std which
is located in an _asm{}. STLport incorrectly resolves this
instruction to _STL. I hope this helps somebody.
BaseClasses should build very easily. Make sure your
include and lib directories are correct.
O:
http://www.ms-news.net/f3597/having-trouble-building-directshow-baseclasses-2086359.html
本文解决了使用Visual C++ 6.0编译DirectShow基类时出现的内联汇编语法错误。通过更换标准模板库STLport版本至4.5.3并调整包含指令,成功解决了构建过程中出现的问题。
4万+

被折叠的 条评论
为什么被折叠?



