On 11/8/10 1:04 PM, g...@novadsp.com wrote:
Compiler command line:
cl /Od /I "U:\mozilla\mozilla-1.9.2\_VS2008\xul-debug\dist\include"
/D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "XP_WIN" /D "XPCOM_GLUE"
/D "_AFXDLL" /D "_MBCS" /FD /EHsc /MDd /Zc:wchar_t- /Yu"stdafx.h"
/Fp"Debug\MozMFC.pch" /Fo"Debug\\" /Fd"Debug\vc90.pdb" /W3 /c /Zi /TP
.\BrowserImpl.cpp
You are using -DXPCOM_GLUE. The only reason to do this is if you don't want
to link against XPCOM directly (because you don't know at application start
time where XPCOM is installed). In your case you should remove this flag.
/OUT:"R:\src\mozilla\MozMFC\Debug\MozMFC.exe"
/LIBPATH:"U:\mozilla\mozilla-1.9.2\_VS2008\xul-debug\dist\lib"
/MANIFEST /MANIFESTFILE:"Debug\MozMFC.exe.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/DEBUG /PDB:"R:\src\mozilla\MozMFC\Debug\MozMFC.pdb"
/SUBSYSTEM:WINDOWS /DYNAMICBASE /NXCOMPAT /MACHINE:X86 ".\Debug\AppDoc.obj"
Nowhere do I see you linking against *any* mozilla import libraries. Since
you're using -DXPCOM_GLUE, I'd expect to see libxpcomglue.lib in your link
line. Without -DXPCOM_GLUE, you'd need to link against xpcomglue_s.lib,
xpcom.lib. For more details, see the linker information at
https://developer.mozilla.org/en/XPCOM_Glue
The gfx*Surface symbols are export from libxul, if anywhere, and so you'd
also need to link against xul.lib.
--BDS
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding