Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nsiDOMWindowUtils _ RenderDocument _ last repository mozilla central

27 views
Skip to first unread message

Joffrey

unread,
Jan 18, 2012, 4:16:13 AM1/18/12
to



Hello,

I am c++ XPCOM developer, and i work with the last mozilla-central
repository on msWindows MSVC10.


I found an error when my XPCOM component call gfxContext in "link
operation".

[code]
paintDrivers.obj : error LNK2019: unresolved external symbol "public:
__thiscall gfxContext::gfxContext(class gfxASurface *)" (??
0gfxContext@@QAE@PAVgfxASurface@@@Z) referenced in f
unction "public: void __thiscall
events_manager::paintDrivers::onEventHandler(class nsIDOMEvent *,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<cha
r> > const &)" (?
onEventHandler@paintDrivers@events_manager@@QAEXPAVnsIDOMEvent@@ABV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
paintDrivers.obj : error LNK2019: unresolved external symbol "public:
__thiscall gfxImageSurface::gfxImageSurface(struct nsIntSize const
&,enum gfxASurface::gfxImageFormat)" (??0gfx
ImageSurface@@QAE@ABUnsIntSize@@W4gfxImageFormat@gfxASurface@@@Z)
referenced in function "public: void __thiscall
events_manager::paintDrivers::onEventHandler(class nsIDOMEvent *,cl
ass std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?
onEventHandler@paintDrivers@events_manager@@QAEXPAVnsIDOMEvent@@ABV?
$basic_string@D
U?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
paintDrivers.obj : error LNK2019: unresolved external symbol "public:
__thiscall gfxContext::~gfxContext(void)" (??1gfxContext@@QAE@XZ)
referenced in function "public: void * __this
call gfxContext::`scalar deleting destructor'(unsigned int)" (??
_GgfxContext@@QAEPAXI@Z)
nsddraw.dll : fatal error LNK1120: 3 unresolved externals
[/code]

In the past (with Gecko 11.0Alpha), this c++ component worked well.

I didn't find the right way for solve this problem.

What do you think about that?

Regards,
Joffrey


0 new messages