Hello,

I downloaded and build the sources of the last granparadiso release
and I'm not able to build the WinEmbed example under \embedding\tests
\winEmbed\

I always get this linker error:

1>WebBrowserChrome.obj : error LNK2019:  ""public: wchar_t const *
__thiscall nsAString::BeginReading(void)const " (?
[EMAIL PROTECTED]@@QBEPB_WXZ)" in Funktion ""public: wchar_t
const * __thiscall nsString_external::get(void)const " (?
[EMAIL PROTECTED]@@QBEPB_WXZ)".
1>winEmbed.obj : error LNK2001:  ""public: wchar_t const * __thiscall
nsAString::BeginReading(void)const " (?
[EMAIL PROTECTED]@@QBEPB_WXZ)".
1>run/myWinEmbed.exe : fatal error LNK1120:

I downloaded the source from the Mozilla FTP ( /pub/mozilla.org/
firefox/releases/granparadiso/alpha7/source/ )

...and built it. This is my .mozconfig:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=/c/mozilla/obj-browser
ac_add_options --enable-debug
ac_add_options --disable-javaxpcom

I built with MozillaBuild 1.1 package (start-msvc8.bat) . Moreover I
created an VS 2005 project from the winEmbed project.

Here are the settings:

Preprocessor:
_DEBUG;WIN32;_WINDOWS;XP_WIN;XP_WIN32;MOZ_DEBUG,XPCOM_GLUE

Include directories: ..\..\..\dist\include\xpcom,..\..\..\dist\include
\xulapp,..\..\..\dist\include\string,..\..\..\dist\include
\embed_base,..\..\..\dist\include\webbrwsr,..\..\..\dist\include
\webshell,..\..\..\dist\include\windowwatcher,..\..\..\dist\include
\profile,..\..\..\dist\include\necko,..\..\..\dist\include\docshell,..
\..\..\dist\include\dom,..\..\..\dist\include\widget,..\..\..\dist
\include\uriloader,..\..\..\dist\include\shistory,..\..\..\dist\include
\webbrowserpersist,..\..\..\dist\include\gfx,..\..\..\dist\include
\profdirserviceprovider,..\..\..\dist\include\winEmbed,..\..\..\dist
\include,..\..\..\dist\include\nspr

Libary directories: ../../../dist/sdk/lib

Additional libraries: xpcomglue.lib profdirserviceprovidersa_s.lib

Can anyone please tell me what I'm doing wrong?

Thanks in advance and sorry for my bad English.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to