[Audacity-devel] problems building wxWidgets/compiling Audacity
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Jeff H. <jef...@gm...> - 2008-03-27 08:40:12
|
Hello all - I am attempting to compile Audacity 1.3.4 using MSVC++ 2008 Express Edition and having some problems with wxWidgets. Does Audacity support wxWidgets 2.8.7? This version successfully builds for me, but the Audacity project file contains several references to wx .lib files with '26' in the file names that can't be found when I try to build Audacity - replacing '26' with '28' wherever it occurs fixes these errors but creates 226 new ones that look like 3>------ Build started: Project: Audacity, Configuration: Debug Win32 ------ 3>Linking... 3>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj) 3>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj) 3>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _realloc already defined in LIBCMTD.lib(dbgrealloc.obj) with many more lines of this, followed by 3>filedialogd.lib(FileDialogPrivate1.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ) 3>filedialogd.lib(FileDialog.obj) : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ) 3>ToolsToolBar1.obj : error LNK2001: unresolved external symbol "public: void __thiscall wxStringData::Free(void)" (?Free@wxStringData@@QAEXXZ) for many more lines. I have tried to go back and use wxWidgets-2.6.3 to avoid this mess entirely but it simply will not build for me. The error message I get is as follows - 1>------ Build started: Project: base, Configuration: Unicode Debug Win32 ------ 1>Compiling... 1>dlmsw.cpp 1>..\..\src\msw\dlmsw.cpp(316) : error C2664: 'BOOL (HANDLE,PENUMLOADED_MODULES_CALLBACK,PVOID)' : cannot convert parameter 2 from 'overloaded-function' to 'PENUMLOADED_MODULES_CALLBACK' 1> None of the functions with this name in scope match the target type This same error also occurs in regular (non-Unicode) debug mode. Any help with either of these issues would be greatly appreciated. Thanks, Jeff |