读书人

编译firefox出现的有关问题

发布时间: 2012-03-26 15:46:56 作者: rapoo

编译firefox出现的问题
用vs2008/windows SDK7.0/DXSDK_Jun10./mozilla-build
编译过程中出现这个问题尚未解决,求高手指点~~~~
{
.../gfx/thebes/gfxWindowsPlatform.cpp(485) : error C2065: 'gfxDWriteFont' : undeclared identifier
...
}

[解决办法]
似乎是配置参数问题:

gfxDWriteFont is declared in gfxDWriteFonts.h.
This is included in gfxWindowsPlatform.h conditionally (on CAIRO_HAS_DWRITE_FONT), which likely means that your use of --dsiable-angle is causing this compile error.
[解决办法]
'gfxDWriteFont' : undeclared identifier 没有定义这个标识符

探讨
似乎是配置参数问题:
gfxDWriteFont is declared in gfxDWriteFonts.h.
This is included in gfxWindowsPlatform.h conditionally (on CAIRO_HAS_DWRITE_FONT), which likely means that your use of --dsiable-angle is……

[解决办法]
gfxDWriteFont符号所在的头文件被包含了么?
[解决办法]
undeclared identifier
符号没声明
是否包含了头文件?如果头文件在某个条件编译块里,是否加上了相应预编译选项?

读书人网 >C++

热点推荐