LINKER errors

Ok, so i took the advise of a poster and upgraded to the current audacity, installed/compiled wxwidgets and am not compiling audacity. I had the issue thats in the wiki “wx*26ud.lib not found”. I definitely compiled wxwidgets in unicode debug however the lib files i have are all not signed with the ud (which i assumed means unicode debug).

i attempted dropping the ud and compiling and continued to get more linker errors.

any suggestions?

First, you have the wrong wxWidgets build, you have 2.6 and you need 2.8; this is absolutely mandatory. If it cannot find any of the wxWidgets libraries then you probably do not have your wxWidgets path added properly. Doing this is different on the various operating systems so…

Second, you don’t tell us what your operating system is. Assuming that you are on Windows…

One of the wxWidgets library (or maybe it’s DLLs – not sure which) sets does not get copied into the proper folder automatically. It’s been so long, I don’t remember the exact details – that might be your problem. One thing I will tell you is that you have to be absolutely fanatical about following the steps to compile both wxWidgets and Audacity. The first time it took me many many hours! Since then I have guided many folks through the process and have written a step-by-step tutorial in excruciating detail; it can be found here:
http://www.hometownband.org/Audacity/CompilingAudacity.html
I would suggest that you start all over from scratch in compiling the wxWidgets libraries and follow the steps that I’ve outlined in the tutorial – very carefully. Once all goes well you will need to find the five wxWidgets DLLs for each of the two builds. The Audacity builds will be in folders called Release & Debug (if you are compiling SVN HEAD, which up until a couple of days ago were called Unicode Release & Unicode Debug if you are trying to compile 2.0.4 or earlier revision). Make sure that you copy all 10 of these wxWidgets DLLs into their appropriate Audacity folders. The wx28ud.lib libraries go in Unicode Debug (or just plain Debug if you are compiling Audacity SVN HEAD) and the wx28u.lib ones go in Unicode Release (or just plain Release for SVN HEAD).

If you are on Linux, you’re still faced with the wrong wxWidgets version and possibly also the failure of one of the libraries to get copied out of its temporary location into its appropriate permanent location. Steve (one of the elves on this board) can help you with compiling Linux.

If you are on Mac we may not be able to help you much.

If you’re on Linux you probably don’t need to build wxWidgets as it is usually available (including the necessary “dev” packages) from the distribution repositories.
Building Audacity from source for Debian based distributions is very straightforward - just follow the steps here: http://wiki.audacityteam.org/wiki/CompilingAudacityForBeginners#Example_compiling_the_latest_Audacity_source_code_on_Ubuntu_and_derivatives_.28like_Linux_Mint.29

First, you have the wrong wxWidgets build, you have 2.6 and you need 2.8; this is absolutely mandatory. If it cannot find any of the wxWidgets libraries then you probably do not have your wxWidgets path added properly. Doing this is different on the various operating systems so…

Second, you don’t tell us what your operating system is. Assuming that you are on Windows…

Thank you Edgar, you are correct i am on windows. I did however compile the correct wxwidgets, my errors were of the wx*28.lib kind but i had copy and pasted from the wiki XD.

That being said for now i will follow your compile guide and report back when i complete it.

Great! Keep us posted, we will get you there.

Edgar! im almost there, however i am getting a bunch of wx/*.h: no such file or directory errors.

I have followed the tutorial exactly and i am a bit worried about just fooling around. Have you seen this before? I figure it is probably as simple as modifying what is included in the Audacity project or others.

On a good note, none of these have anything to do with wx/setup.h being found.

Also: fatal error C1083: Cannot open include file: ‘serd/serd.h’: No such file or directory

This one is almost certainly a failure to properly set your WXWIN environmental variable. In my tutorial, near the top, look at paragraph:
3a) You will need to set up your WXWIN environmental variable.
To make sure you have it right, open a terminal (commandline) type the word:

set

when you press enter you will see all of your environmental variables listed; down near the very bottom you will see:

windir=C:Windows
WXWIN=D:wxWidgetswx2.8
_NT_SYMBOL_PATH=symsrv*symsrv.dll*c:localcache*http://msdl.microsoft.com/download/symbols

where the line:

WXWIN=D:wxWidgetswx2.8

will reflect the folder in which wxWidgets is installed (if you accepted the default it will be:

C:wxWidgets-2.8.12

).

This one is more of a problem. Since the release of the stable 2.0.5 version there have been many days and revisions where SVN HEAD would not compile for one reason or another. Here’s what I would suggest you do…
Completely delete your current Audacity folder (the one you are using when you check out the source code). Create a brand-new folder (it may have the exact same name as the one as you just deleted but it must be created fresh) and use SVN checkout to check out revision 12701:
revision.png
This is the very first revision after the release of 2.0.5 and has no code changes other than to make the version string 2.0.6 Alpha. I can guarantee that this version will compile and run properly just as though it were the stable release.

I have subscribed to this topic so I will get an email automatically when anyone posts here. Let me know how you get along – I know this is not the easiest thing to accomplish but it can be done!

Compiled Successfully! thank you so much for your help Edgar.

Well done!