Problem with wxWidgets 2.6.4 (WinXP), "base" doesn't compile

Hello.


I’ve been trying to compile the damn thing for a few days now, but since I’m a complete newbie when it comes to programming, I haven’t been very succesful so far.
So, I keep running into errors when trying to compile the wxwidgets 264 with VC8 audacity additions. Here’s the build order:

    wxjpeg
    wxpng
    wxtiff
    wxzlib
    wxregex
    wxexpat
    base
    net
    odbc
    xml
    core
    gl
    html
    media
    qa
    adv
    dbgrid
    xrc

but when I try to build it, and it reaches the “base” project, I get the following errors:

------ Rebuild All started: Project: base, Configuration: DLL Release Win32 ------
Deleting intermediate and output files for project 'base', configuration 'DLL Release|Win32'
Creating ....libvc_dllmswwxsetup.h
        1 file(s) copied.
Compiling...
dummy.cpp
Compiling...
volume.cpp
utilsexc.cpp
utils.cpp
thread.cpp
stdpaths.cpp
stackwalk.cpp
snglinst.cpp
registry.cpp
regconf.cpp
mslu.cpp
mimetype.cpp
main.cpp
....srcmswmain.cpp(212) : warning C4535: calling _set_se_translator() requires /EHa
dlmsw.cpp
dir.cpp
debughlp.cpp
dde.cpp
crashrpt.cpp
basemsw.cpp
zstream.cpp
zipstrm.cpp
Generating Code...
Compiling...
xtistrm.cpp
xti.cpp
wxchar.cpp
wfstream.cpp
variant.cpp
utilscmn.cpp
uri.cpp
txtstrm.cpp
tokenzr.cpp
textfile.cpp
textbuf.cpp
sysopt.cpp
string.cpp
stream.cpp
strconv.cpp
stopwatch.cpp
stdpbase.cpp
sstream.cpp
regex.cpp
process.cpp
Generating Code...
Compiling...
object.cpp
mstream.cpp
msgout.cpp
module.cpp
mimecmn.cpp
memory.cpp
longlong.cpp
log.cpp
list.cpp
ipcbase.cpp
intl.cpp
init.cpp
hashmap.cpp
hash.cpp
fs_zip.cpp
fs_mem.cpp
fmapbase.cpp
filesys.cpp
filename.cpp
filefn.cpp
....srccommonfilefn.cpp(1988) : warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.
        E:Program FilesMicrosoft Visual Studio 8VCincludestdio.h(688) : see declaration of 'fileno'
Generating Code...
Compiling...
fileconf.cpp
file.cpp
ffile.cpp
event.cpp
encconv.cpp
dynload.cpp
dynlib.cpp
dynarray.cpp
dircmn.cpp
datstrm.cpp
datetime.cpp
config.cpp
cmdline.cpp
clntdata.cpp
archive.cpp
appbase.cpp
Generating Code...
Compiling...
extended.c
Compiling resources...
Linking...
   Creating library ....libvc_dllwxbase26.lib and object ....libvc_dllwxbase26.exp
filename.obj : error LNK2019: unresolved external symbol __imp__CoCreateInstance@20 referenced in function "public: bool __thiscall wxFileName::GetShortcutTarget(class wxString const &,class wxString &,class wxString *)" (?GetShortcutTarget@wxFileName@@QAE_NABVwxString@@AAV2@PAV2@@Z)
log.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl wxSafeShowMessage(class wxString const &,class wxString const &)" (?wxSafeShowMessage@@YAXABVwxString@@0@Z)
msgout.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
utilscmn.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteExA@4 referenced in function "bool __cdecl wxLaunchDefaultBrowser(class wxString const &)" (?wxLaunchDefaultBrowser@@YA_NABVwxString@@@Z)
basemsw.obj : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "public: virtual void __thiscall wxConsoleAppTraits::AlwaysYield(void)" (?AlwaysYield@wxConsoleAppTraits@@UAEXXZ)
crashrpt.obj : error LNK2019: unresolved external symbol __imp__SetCursor@4 referenced in function "public: __thiscall BusyCursor::BusyCursor(void)" (??0BusyCursor@@QAE@XZ)
crashrpt.obj : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function "public: __thiscall BusyCursor::BusyCursor(void)" (??0BusyCursor@@QAE@XZ)
dde.obj : error LNK2019: unresolved external symbol _DdeQueryStringA@20 referenced in function "class wxString __cdecl DDEStringFromAtom(struct HSZ__ *)" (?DDEStringFromAtom@@YA?AVwxString@@PAUHSZ__@@@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeFreeStringHandle@8 referenced in function "void __cdecl DDEFreeString(struct HSZ__ *)" (?DDEFreeString@@YAXPAUHSZ__@@@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeUninitialize@4 referenced in function "void __cdecl wxDDECleanUp(void)" (?wxDDECleanUp@@YAXXZ)
dde.obj : error LNK2019: unresolved external symbol _DdeFreeDataHandle@4 referenced in function __DDECallback@32
dde.obj : error LNK2019: unresolved external symbol _DdeGetData@16 referenced in function __DDECallback@32
dde.obj : error LNK2019: unresolved external symbol _DdeCreateDataHandle@28 referenced in function __DDECallback@32
dde.obj : error LNK2019: unresolved external symbol _DdeGetLastError@4 referenced in function "void __cdecl DDELogError(class wxString const &,unsigned int)" (?DDELogError@@YAXABVwxString@@I@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeInitializeA@16 referenced in function "void __cdecl wxDDEInitialize(void)" (?wxDDEInitialize@@YAXXZ)
dde.obj : error LNK2019: unresolved external symbol _DdeDisconnect@4 referenced in function "public: virtual bool __thiscall wxDDEConnection::Disconnect(void)" (?Disconnect@wxDDEConnection@@UAE_NXZ)
dde.obj : error LNK2019: unresolved external symbol _DdeClientTransaction@32 referenced in function "public: virtual bool __thiscall wxDDEConnection::Execute(char const *,int,enum wxIPCFormat)" (?Execute@wxDDEConnection@@UAE_NPBDHW4wxIPCFormat@@@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeCreateStringHandleA@12 referenced in function "struct HSZ__ * __cdecl DDEAtomFromString(class wxString const &)" (?DDEAtomFromString@@YAPAUHSZ__@@ABVwxString@@@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeNameService@16 referenced in function "public: virtual bool __thiscall wxDDEServer::Create(class wxString const &)" (?Create@wxDDEServer@@UAE_NABVwxString@@@Z)
dde.obj : error LNK2019: unresolved external symbol _DdeConnect@16 referenced in function "public: virtual class wxConnectionBase * __thiscall wxDDEClient::MakeConnection(class wxString const &,class wxString const &,class wxString const &)" (?MakeConnection@wxDDEClient@@UAEPAVwxConnectionBase@@ABVwxString@@00@Z)
dde.obj : error LNK2019: unresolved external symbol _DdePostAdvise@12 referenced in function "public: virtual bool __thiscall wxDDEConnection::Advise(class wxString const &,char *,int,enum wxIPCFormat)" (?Advise@wxDDEConnection@@UAE_NABVwxString@@PADHW4wxIPCFormat@@@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "bool __cdecl KeyExists(void *,char const *)" (?KeyExists@@YA_NPAXPBD@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "bool __cdecl KeyExists(void *,char const *)" (?KeyExists@@YA_NPAXPBD@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegQueryInfoKeyA@48 referenced in function "public: bool __thiscall wxRegKey::GetKeyInfo(unsigned int *,unsigned int *,unsigned int *,unsigned int *)const " (?GetKeyInfo@wxRegKey@@QBE_NPAI000@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegCreateKeyA@12 referenced in function "public: bool __thiscall wxRegKey::Create(bool)" (?Create@wxRegKey@@QAE_N_N@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function "public: bool __thiscall wxRegKey::GetNextValue(class wxString &,long &)const " (?GetNextValue@wxRegKey@@QBE_NAAVwxString@@AAJ@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegEnumKeyA@16 referenced in function "public: bool __thiscall wxRegKey::GetNextKey(class wxString &,long &)const " (?GetNextKey@wxRegKey@@QBE_NAAVwxString@@AAJ@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegDeleteValueA@8 referenced in function "public: bool __thiscall wxRegKey::DeleteValue(char const *)" (?DeleteValue@wxRegKey@@QAE_NPBD@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "public: bool __thiscall wxRegKey::HasValue(char const *)const " (?HasValue@wxRegKey@@QBE_NPBD@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegSetValueExA@24 referenced in function "public: bool __thiscall wxRegKey::SetValue(char const *,long)" (?SetValue@wxRegKey@@QAE_NPBDJ@Z)
registry.obj : error LNK2019: unresolved external symbol __imp__RegDeleteKeyA@8 referenced in function "public: bool __thiscall wxRegKey::DeleteSelf(void)" (?DeleteSelf@wxRegKey@@QAE_NXZ)
stdpaths.obj : error LNK2019: unresolved external symbol __imp__SHGetMalloc@4 referenced in function "public: static void __cdecl wxItemIdList::Free(struct _ITEMIDLIST *)" (?Free@wxItemIdList@@SAXPAU_ITEMIDLIST@@@Z)
stdpaths.obj : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function "public: class wxString __thiscall wxItemIdList::GetPath(void)const " (?GetPath@wxItemIdList@@QBE?AVwxString@@XZ)
stdpaths.obj : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function "protected: static class wxString __cdecl wxStandardPaths::DoGetDirectory(int)" (?DoGetDirectory@wxStandardPaths@@KA?AVwxString@@H@Z)
thread.obj : error LNK2019: unresolved external symbol __imp__PostThreadMessageA@16 referenced in function "void __cdecl wxWakeUpMainThread(void)" (?wxWakeUpMainThread@@YAXXZ)
thread.obj : error LNK2019: unresolved external symbol __imp__PostMessageA@16 referenced in function "public: enum wxThreadError __thiscall wxThreadInternal::WaitForTerminate(class wxCriticalSection &,void * *,class wxThread *)" (?WaitForTerminate@wxThreadInternal@@QAE?AW4wxThreadError@@AAVwxCriticalSection@@PAPAXPAVwxThread@@@Z)
utils.obj : error LNK2001: unresolved external symbol __imp__PostMessageA@16
thread.obj : error LNK2019: unresolved external symbol __imp__MsgWaitForMultipleObjects@20 referenced in function "public: enum wxThreadError __thiscall wxThreadInternal::WaitForTerminate(class wxCriticalSection &,void * *,class wxThread *)" (?WaitForTerminate@wxThreadInternal@@QAE?AW4wxThreadError@@AAVwxCriticalSection@@PAPAXPAVwxThread@@@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "struct HWND__ * __cdecl CreateWindow(char const *,char const *,unsigned long,int,int,int,int,struct HWND__ *,struct HMENU__ *,struct HINSTANCE__ *,void *)" (?CreateWindow@@YAPAUHWND__@@PBD0KHHHHPAU1@PAUHMENU__@@PAUHINSTANCE__@@PAX@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__GetUserNameA@8 referenced in function "bool __cdecl wxGetUserId(char *,int)" (?wxGetUserId@@YA_NPADH@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__GetWindowThreadProcessId@8 referenced in function "int __stdcall wxEnumFindByPidProc(struct HWND__ *,long)" (?wxEnumFindByPidProc@@YGHPAUHWND__@@J@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__ExitWindowsEx@8 referenced in function "bool __cdecl wxShutdown(enum wxShutdownFlags)" (?wxShutdown@@YA_NW4wxShutdownFlags@@@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__AdjustTokenPrivileges@24 referenced in function "bool __cdecl wxShutdown(enum wxShutdownFlags)" (?wxShutdown@@YA_NW4wxShutdownFlags@@@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__LookupPrivilegeValueA@12 referenced in function "bool __cdecl wxShutdown(enum wxShutdownFlags)" (?wxShutdown@@YA_NW4wxShutdownFlags@@@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__OpenProcessToken@12 referenced in function "bool __cdecl wxShutdown(enum wxShutdownFlags)" (?wxShutdown@@YA_NW4wxShutdownFlags@@@Z)
utils.obj : error LNK2019: unresolved external symbol __imp__MessageBeep@4 referenced in function "void __cdecl wxBell(void)" (?wxBell@@YAXXZ)
utils.obj : error LNK2019: unresolved external symbol __imp__RegisterClassA@4 referenced in function _wxCreateHiddenWindow
utils.obj : error LNK2019: unresolved external symbol __imp__EnumWindows@8 referenced in function "int __cdecl wxKill(long,enum wxSignal,enum wxKillError *,int)" (?wxKill@@YAHJW4wxSignal@@PAW4wxKillError@@H@Z)
utilsexc.obj : error LNK2019: unresolved external symbol __imp__SendMessageA@16 referenced in function "unsigned long __stdcall wxExecuteThread(void *)" (?wxExecuteThread@@YGKPAX@Z)
utilsexc.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall wxExecuteWindowCbk(struct HWND__ *,unsigned int,unsigned int,long)" (?wxExecuteWindowCbk@@YGJPAUHWND__@@IIJ@Z)
utilsexc.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "long __stdcall wxExecuteWindowCbk(struct HWND__ *,unsigned int,unsigned int,long)" (?wxExecuteWindowCbk@@YGJPAUHWND__@@IIJ@Z)
utilsexc.obj : error LNK2019: unresolved external symbol __imp__WaitForInputIdle@8 referenced in function "long __cdecl wxExecute(class wxString const &,int,class wxProcess *)" (?wxExecute@@YAJABVwxString@@HPAVwxProcess@@@Z)
volume.obj : error LNK2019: unresolved external symbol __imp__SHGetFileInfoA@20 referenced in function "public: bool __thiscall wxFSVolumeBase::Create(class wxString const &)" (?Create@wxFSVolumeBase@@QAE_NABVwxString@@@Z)
....libvc_dllwxbase26_vc_custom.dll : fatal error LNK1120: 51 unresolved externals
Build log was saved at "file://e:wxWidgets-2.6.4buildmswvc_mswdllbaseBuildLog.htm"
base - 54 error(s), 2 warning(s)

I have no clue what it’s all about… so any help will be very much appreciated. Thanks.

I’m a noob at compiling, and not on Windows but Linux, so I can’t help much directly. However there is some information on this page, including some links to other places that you may be able to get some help.
http://audacityteam.org/wiki/index.php?title=CompilingAudacityForBeginners

Also, this may be useful: http://wxwindows.org/support/maillst2.htm