problem linking unicode release with last week audacity check out under winxp msvs 2008

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problem linking unicode release with last week audacity check out under winxp msvs 2008

Stephane Poirier
Hi all,

I compiled last week audacity sources check out using msvs 2008 under winxp pro sp3. Following win/compile.txt recommendation, I compiled non-unicode and unicode versions, both non-unicode release and debug built fine. However, unicode debug built fine but unicode release did not link completely without a few (13) unresolved externals.

Here below's the detail, any hint?

1>------ Skipped Build: Project: expat, Configuration: Unicode Release Win32 ------
1>Project not selected to build for this solution configuration 
2>------ Skipped Build: Project: slv2, Configuration: Unicode Release Win32 ------
2>Project not selected to build for this solution configuration 
3>------ Build started: Project: help, Configuration: Unicode Release Win32 ------
4>------ Build started: Project: locale, Configuration: Unicode Release Win32 ------
3>Performing Pre-Build Event...
4>Compiling zh_TW locale
4>'msgfmt' is not recognized as an internal or external command,
4>operable program or batch file.
4>Project : error PRJ0019: A tool returned an error code from "Compiling zh_TW locale"
4>Build log was saved at "file://f:\telechargements\audio_audacity-src\win\Projects\locale\Unicode Release\BuildLog.htm"
4>locale - 1 error(s), 0 warning(s)
5>------ Build started: Project: Audacity, Configuration: Unicode Release Win32 ------
3>0 File(s) copied
3>Build log was saved at "file://f:\telechargements\audio_audacity-src\win\Projects\help\Unicode Release\BuildLog.htm"
3>help - 0 error(s), 0 warning(s)
5>Compiling resources...
5>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
5>Copyright (C) Microsoft Corporation.  All rights reserved.
5>Linking...
5>   Creating library F:\telechargements\audio_audacity-src\win\Unicode Release\Audacity.lib and object F:\telechargements\audio_audacity-src\win\Unicode Release\Audacity.exp
5>TimeWarper.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void (__cdecl* wxTheAssertHandler)(class wxString const &,int,class wxString const &,class wxString const &,class wxString const &)" (__imp_?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA)
5>TimeWarper.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
5>RawAudioGuess.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFFile::wxFFile(class wxString const &,class wxString const &)" (__imp_??0wxFFile@@QAE@ABVwxString@@0@Z)
5>CommandSignature.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,class wxString const &)" (__imp_?wxOnAssert@@YAXPBDH00ABVwxString@@@Z)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class wxString __cdecl wxString::DoFormatWchar(wchar_t const *,...)" (__imp_?DoFormatWchar@wxString@@CA?AV1@PB_WZZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: wchar_t const * __thiscall wxArgNormalizerWchar<class wxCStrData const &>::get(void)const " (__imp_?get@?$wxArgNormalizerWchar@ABVwxCStrData@@@@QBEPB_WXZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxCStrData::~wxCStrData(void)" (__imp_??1wxCStrData@@QAE@XZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFormatString::~wxFormatString(void)" (__imp_??1wxFormatString@@QAE@XZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class wxCStrData __thiscall wxString::c_str(void)const " (__imp_?c_str@wxString@@QBE?AVwxCStrData@@XZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxArgNormalizerWchar<class wxCStrData const &>::wxArgNormalizerWchar<class wxCStrData const &>(class wxCStrData const &,class wxFormatString const *,unsigned int)" (__imp_??0?$wxArgNormalizerWchar@ABVwxCStrData@@@@QAE@ABVwxCStrData@@PBVwxFormatString@@I@Z)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFormatString::operator wchar_t const *(void)const " (__imp_??BwxFormatString@@QBEPB_WXZ)
5>HelpCommand.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxFormatString::wxFormatString(wchar_t const *)" (__imp_??0wxFormatString@@QAE@PB_W@Z)
5>F:\telechargements\audio_audacity-src\win\Unicode Release\Audacity.exe : fatal error LNK1120: 12 unresolved externals
5>Build log was saved at "file://f:\telechargements\audio_audacity-src\win\Projects\Audacity\Unicode Release\BuildLog.htm"
5>Audacity - 13 error(s), 0 warning(s)
========== Build: 1 succeeded, 2 failed, 26 up-to-date, 2 skipped ==========


--------------------------------------------------------------------
Stephane Poirier, M.Sc. Optic Physics
Opensource Software Developer
3532 rue Sainte-Famille, Apt. 4
Montreal, QC, H2X 2L1, Canada
http://www.nakedsoftware.org
[hidden email]
Tel.: (514) 509-8833
Fax: (514) 509-8833
--------------------------------------------------------------------

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Reply | Threaded
Open this post in threaded view
|

Re: problem linking unicode release with last week audacity check out under winxp msvs 2008

Michael Chinen
Hi,

On Tue, Mar 1, 2011 at 2:52 AM, Stephane Poirier
<[hidden email]> wrote:
> Hi all,
>
> I compiled last week audacity sources check out using msvs 2008 under winxp
> pro sp3. Following win/compile.txt recommendation, I compiled non-unicode
> and unicode versions, both non-unicode release and debug built fine.
> However, unicode debug built fine but unicode release did not link
> completely without a few (13) unresolved externals.
> Here below's the detail, any hint?

Since the errors are all wx linker errors are you sure you built the
wx dlls for unicode release?
(and also checked that the build output folder where the dlls are are
in your path or you copied them to the audacity unicode release
directory?)

Michael


> 1>------ Skipped Build: Project: expat, Configuration: Unicode Release Win32
> ------
> 1>Project not selected to build for this solution configuration
> 2>------ Skipped Build: Project: slv2, Configuration: Unicode Release Win32
> ------
> 2>Project not selected to build for this solution configuration
> 3>------ Build started: Project: help, Configuration: Unicode Release Win32
> ------
> 4>------ Build started: Project: locale, Configuration: Unicode Release
> Win32 ------
> 3>Performing Pre-Build Event...
> 4>Compiling zh_TW locale
> 4>'msgfmt' is not recognized as an internal or external command,
> 4>operable program or batch file.
> 4>Project : error PRJ0019: A tool returned an error code from "Compiling
> zh_TW locale"
> 4>Build log was saved at
> "file://f:\telechargements\audio_audacity-src\win\Projects\locale\Unicode
> Release\BuildLog.htm"
> 4>locale - 1 error(s), 0 warning(s)
> 5>------ Build started: Project: Audacity, Configuration: Unicode Release
> Win32 ------
> 3>0 File(s) copied
> 3>Build log was saved at
> "file://f:\telechargements\audio_audacity-src\win\Projects\help\Unicode
> Release\BuildLog.htm"
> 3>help - 0 error(s), 0 warning(s)
> 5>Compiling resources...
> 5>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> 5>Copyright (C) Microsoft Corporation.  All rights reserved.
> 5>Linking...
> 5>   Creating library F:\telechargements\audio_audacity-src\win\Unicode
> Release\Audacity.lib and object
> F:\telechargements\audio_audacity-src\win\Unicode Release\Audacity.exp
> 5>TimeWarper.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void (__cdecl* wxTheAssertHandler)(class wxString
> const &,int,class wxString const &,class wxString const &,class wxString
> const &)" (__imp_?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA)
> 5>TimeWarper.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const
> *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
> 5>RawAudioGuess.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall wxFFile::wxFFile(class wxString
> const &,class wxString const &)" (__imp_??0wxFFile@@QAE@ABVwxString@@0@Z)
> 5>CommandSignature.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const
> *,char const *,class wxString const &)"
> (__imp_?wxOnAssert@@YAXPBDH00ABVwxString@@@Z)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) private: static class wxString __cdecl
> wxString::DoFormatWchar(wchar_t const *,...)"
> (__imp_?DoFormatWchar@wxString@@CA?AV1@PB_WZZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: wchar_t const * __thiscall
> wxArgNormalizerWchar<class wxCStrData const &>::get(void)const "
> (__imp_?get@?$wxArgNormalizerWchar@ABVwxCStrData@@@@QBEPB_WXZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall wxCStrData::~wxCStrData(void)"
> (__imp_??1wxCStrData@@QAE@XZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> wxFormatString::~wxFormatString(void)" (__imp_??1wxFormatString@@QAE@XZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: class wxCStrData __thiscall
> wxString::c_str(void)const " (__imp_?c_str@wxString@@QBE?AVwxCStrData@@XZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall wxArgNormalizerWchar<class
> wxCStrData const &>::wxArgNormalizerWchar<class wxCStrData const &>(class
> wxCStrData const &,class wxFormatString const *,unsigned int)"
> (__imp_??0?$wxArgNormalizerWchar@ABVwxCStrData@@@@QAE@ABVwxCStrData@@PBVwxFormatString@@I@Z)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall wxFormatString::operator wchar_t
> const *(void)const " (__imp_??BwxFormatString@@QBEPB_WXZ)
> 5>HelpCommand.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> wxFormatString::wxFormatString(wchar_t const *)"
> (__imp_??0wxFormatString@@QAE@PB_W@Z)
> 5>F:\telechargements\audio_audacity-src\win\Unicode Release\Audacity.exe :
> fatal error LNK1120: 12 unresolved externals
> 5>Build log was saved at
> "file://f:\telechargements\audio_audacity-src\win\Projects\Audacity\Unicode
> Release\BuildLog.htm"
> 5>Audacity - 13 error(s), 0 warning(s)
> ========== Build: 1 succeeded, 2 failed, 26 up-to-date, 2 skipped ==========
>
> --------------------------------------------------------------------
> Stephane Poirier, M.Sc. Optic Physics
> Opensource Software Developer
> 3532 rue Sainte-Famille, Apt. 4
> Montreal, QC, H2X 2L1, Canada
> http://www.nakedsoftware.org
> [hidden email]
> Tel.: (514) 509-8833
> Fax: (514) 509-8833
> --------------------------------------------------------------------
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> audacity-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel