Build problems with Thebes.dll on Visual C++ 2005 Express Edition and 2003 R2 SDK

RESOLVED WORKSFORME

Status

()

Core
Graphics
RESOLVED WORKSFORME
12 years ago
12 years ago

People

(Reporter: Ian Neal, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
Trying to build on Windows XP SP2 using the free MS Visual C++ 2005 Express Edition v 8.0.50727.42 with the Windows Server 2003 R2 Platform SDK.
I get the following error messages:
   Creating library thebes.lib and object thebes.exp
gfxWindowsFonts.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::out_of_range::out_of_range(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0out_of_range@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) referenced in function "private: void __thiscall std::bitset<20>::_Xran(void)const " (?_Xran@?$bitset@$0BE@@std@@ABEXXZ)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::out_of_range::out_of_range(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0out_of_range@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall std::out_of_range::~out_of_range(void)" (??1out_of_range@std@@UAE@XZ)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall std::out_of_range::~out_of_range(void)" (??1out_of_range@std@@UAE@XZ)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: __thiscall std::out_of_range::out_of_range(class std::out_of_range const &)" (??0out_of_range@std@@QAE@ABV01@@Z)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: __thiscall std::out_of_range::out_of_range(class std::out_of_range const &)" (??0out_of_range@std@@QAE@ABV01@@Z)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" (??0logic_error@std@@QAE@ABV01@@Z)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" (??0logic_error@std@@QAE@ABV01@@Z)
thebes.dll : fatal error LNK1120: 4 unresolved externals
make[6]: *** [thebes.dll] Error 96

Apparently you do not get the same problem using Windows Server 2003 SP1 SDK
(Reporter)

Comment 1

12 years ago
Okay, as suggested by stuart added #include <stdexcept> after #include <bitset> in gfxWindowsFonts.h

Get more errors:
gfxPlatform.cpp
Building deps for /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxPlatform.cpp
/cygdrive/c/mozdev/mozilla/build/cygwin-wrapper cl -FogfxPlatform.obj -c  -DIMPL_THEBES -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DBUILD_ID=0000000000  -I../../../dist/include/cairo -I../../../dist/include/libpixman -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include   -I../../../dist/include/thebes -I../../../dist/include/nspr    -I../../../dist/sdk/include       -GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -FdgfxPlatform.pdb  -DNDEBUG -DTRIMMED -Ox -Zc:wchar_t- -I../../../dist/include/cairo  -MD            -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 -DWINVER=0x500 -D_WIN32_WINNT=0x500 -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.9a1\" -DMOZILLA_VERSION_U=1.9a1 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_EMBEDDING_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1 -DMOZ_EMBEDDING_LEVEL_MINIMAL=1 -DMOZ_SUITE=1 -DMOZ_BUILD_APP=suite -DMOZ_DEFAULT_TOOLKIT=\"cairo-windows\" -DMOZ_THEBES=1 -DMOZ_CAIRO_GFX=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMOZ_SVG_FOREIGNOBJECT=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_MORK=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  -UWIN32_LEAN_AND_MEAN -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxPlatform.cpp
cl : Command line warning D9025 : overriding '/DWIN32_LEAN_AND_MEAN=1' with '/UWIN32_LEAN_AND_MEAN'
gfxPlatform.cpp
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(564) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(298) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(299) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(444) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(445) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(600) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(601) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
gfxWindowsFonts.cpp
Building deps for /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp
/cygdrive/c/mozdev/mozilla/build/cygwin-wrapper cl -FogfxWindowsFonts.obj -c  -DIMPL_THEBES -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DBUILD_ID=0000000000  -I../../../dist/include/cairo -I../../../dist/include/libpixman -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include   -I../../../dist/include/thebes -I../../../dist/include/nspr    -I../../../dist/sdk/include       -GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -FdgfxWindowsFonts.pdb  -DNDEBUG -DTRIMMED -Ox -Zc:wchar_t- -I../../../dist/include/cairo  -MD            -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 -DWINVER=0x500 -D_WIN32_WINNT=0x500 -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.9a1\" -DMOZILLA_VERSION_U=1.9a1 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_EMBEDDING_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1 -DMOZ_EMBEDDING_LEVEL_MINIMAL=1 -DMOZ_SUITE=1 -DMOZ_BUILD_APP=suite -DMOZ_DEFAULT_TOOLKIT=\"cairo-windows\" -DMOZ_THEBES=1 -DMOZ_CAIRO_GFX=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMOZ_SVG_FOREIGNOBJECT=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_MORK=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  -UWIN32_LEAN_AND_MEAN -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxWindowsFonts.cpp
cl : Command line warning D9025 : overriding '/DWIN32_LEAN_AND_MEAN=1' with '/UWIN32_LEAN_AND_MEAN'
gfxWindowsFonts.cpp
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(564) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(298) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(299) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(444) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(445) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(600) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(601) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
gfxWindowsPlatform.cpp
Building deps for /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxWindowsPlatform.cpp
/cygdrive/c/mozdev/mozilla/build/cygwin-wrapper cl -FogfxWindowsPlatform.obj -c  -DIMPL_THEBES -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DBUILD_ID=0000000000  -I../../../dist/include/cairo -I../../../dist/include/libpixman -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I../../../dist/include   -I../../../dist/include/thebes -I../../../dist/include/nspr    -I../../../dist/sdk/include       -GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -FdgfxWindowsPlatform.pdb  -DNDEBUG -DTRIMMED -Ox -Zc:wchar_t- -I../../../dist/include/cairo  -MD            -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 -DWINVER=0x500 -D_WIN32_WINNT=0x500 -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.9a1\" -DMOZILLA_VERSION_U=1.9a1 -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_EMBEDDING_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1 -DMOZ_EMBEDDING_LEVEL_MINIMAL=1 -DMOZ_SUITE=1 -DMOZ_BUILD_APP=suite -DMOZ_DEFAULT_TOOLKIT=\"cairo-windows\" -DMOZ_THEBES=1 -DMOZ_CAIRO_GFX=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMOZ_SVG_FOREIGNOBJECT=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\" -DHAVE_UINT64_T=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_MORK=1 -DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  -UWIN32_LEAN_AND_MEAN -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /cygdrive/c/mozdev/mozilla/gfx/thebes/src/gfxWindowsPlatform.cpp
cl : Command line warning D9025 : overriding '/DWIN32_LEAN_AND_MEAN=1' with '/UWIN32_LEAN_AND_MEAN'
gfxWindowsPlatform.cpp
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(564) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(298) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(255) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(250) : while compiling class template member function 'std::basic_ostream<_E,_Tr> &std::basic_ostream<_E,_Tr>::put(_E)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\ostream(299) : see reference to class template instantiation 'std::basic_ostream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(444) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(41) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(36) : while compiling class template member function 'bool std::basic_istream<_E,_Tr>::ipfx(bool)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\istream(445) : see reference to class template instantiation 'std::basic_istream<_E,_Tr>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(600) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=char,
            _Tr=std::char_traits<char>,
            _A=std::allocator<char>
        ]
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(520) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(516) : while compiling class template member function 'void std::basic_string<_E,_Tr,_A>::_Copy(unsigned int)'
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
        C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\include\crt\xstring(601) : see reference to class template instantiation 'std::basic_string<_E,_Tr,_A>' being compiled
        with
        [
            _E=wchar_t,
            _Tr=std::char_traits<wchar_t>,
            _A=std::allocator<wchar_t>
        ]
/cygdrive/c/mozdev/mozilla/build/cygwin-wrapper link -NOLOGO -DLL -OUT:thebes.dll -PDB:thebes.pdb -SUBSYSTEM:WINDOWS  gfxASurface.obj gfxContext.obj gfxImageSurface.obj gfxFont.obj gfxPlatform.obj gfxWindowsFonts.obj gfxWindowsPlatform.obj gfxWindowsSurface.obj nsUnicodeRange.obj   ./module.res     ../../../gfx/cairo/cairo/src/mozcairo.lib ../../../gfx/cairo/libpixman/src/mozlibpixman.lib   ../../../dist/lib/nspr4.lib ../../../dist/lib/plc4.lib ../../../dist/lib/plds4.lib  ../../../dist/lib/xpcom.lib ../../../dist/lib/xpcom_core.lib ../../../dist/lib/unicharutil_s.lib   kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib usp10.lib   
   Creating library thebes.lib and object thebes.exp
gfxWindowsFonts.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::out_of_range::out_of_range(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0out_of_range@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) referenced in function "private: void __thiscall std::bitset<20>::_Xran(void)const " (?_Xran@?$bitset@$0BE@@std@@ABEXXZ)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::out_of_range::out_of_range(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0out_of_range@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall std::out_of_range::~out_of_range(void)" (??1out_of_range@std@@UAE@XZ)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall std::out_of_range::~out_of_range(void)" (??1out_of_range@std@@UAE@XZ)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: __thiscall std::out_of_range::out_of_range(class std::out_of_range const &)" (??0out_of_range@std@@QAE@ABV01@@Z)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: __thiscall std::out_of_range::out_of_range(class std::out_of_range const &)" (??0out_of_range@std@@QAE@ABV01@@Z)
gfxWindowsFonts.obj : error LNK2001: unresolved external symbol "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" (??0logic_error@std@@QAE@ABV01@@Z)
gfxWindowsPlatform.obj : error LNK2001: unresolved external symbol "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" (??0logic_error@std@@QAE@ABV01@@Z)
thebes.dll : fatal error LNK1120: 4 unresolved externals
make[6]: *** [thebes.dll] Error 96
Gonna close this as old/worksforme; I've been building using the tools that come with the latest Windows Vista SDK with no problems.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.