2 Errors compiling Audacity

Hello.

I am just trying to build Audacity for the first time since 2.01
was released. I am using the build from “Developing On Windows”
(http://wiki.audacityteam.org/wiki/Developing_On_Windows).
I have 2 errors while compiling audacity. Each error is looking for
a missing file. The files are wxbase28ud.lib and wxmsw28ud_core.lib.
I suspect that this may be something to do with my “Unicode Debug
configuration”. Can someone please tell me how and where this should
be set appropriately. If I am on the wrong track, can someone please
let me know what I may be doing wrong. I am using VS 2008 and my
compile of wxWidgits looked successful. Thank You in advance for any
help that you may have to offer.

Regards
73
-Grace
NNNN
z

First thing that comes to mind;

Have you set the WXWIN environment variable?


Ragnar

Yes:

WXWIN=C:wxWidgets-2.8.12

In the Windows 7 enviromnetal Variables.

Should it be in User Variables instead?

73
-Grace
NNNN
z

I am still getting the 2 errors. For example:
LINK : fatal error LNK1104: cannot open file ‘wxbase28ud.lib’

I have checked and in the environmental variables I have

WXWIN=C:wxWidgets-2.8.12

In both User variables and System Variables.

So I am still wondering why I am missing files. Search of my
system does not find wxbase28ud.lib anywhere.

Thanks again.

73
-Grace
NNNN
z

It doesn’t matter if the WXWIN environment variable is in User or System variables as long as it is there.
On my Windows 7 system it is in User variables.

Quick way to check that it is really pointing to the correct place:

  • Start button
    In the “Search programs and files” input field, type %WXWIN% and press Enter.

An Explorer window should open with the C:wxWidgets-2.8.12 directory selected.

If you have successfully built the Wxwidgets DLL Unicode Debug configuration, you should find wxbase28ud.lib in C:wxWidgets-2.8.12libvc_dll
wxbsas28ud_lib.png
In VisualC++, make sure that the location for Wxwidgets libraries is configured. Press Alt+F7 to open the project properties, expand “Configuration properties” → “Linker” → “General”
VCproperties.png
The “$(WXWIN)libvc_dll” after the semicolon is what makes VC++ look for libraries in C:wxWidgets-2.8.12libvc_dll


Ragnar

Rangnar-Jensen, Thank You So much for Your detailed help. the inclusions are
very helpful.

Okay, I have just re-compiled wxWidgets by going to the C:wxWidgets-2.8.12buildmsw
folder and opening wx_dll.dsw with Visual Studio 2008. After the compile completes I
look for the folder wxWidgets-2.8.12libvc_dll and I find it does not exist there.
I did not see any erros in the compile for WxWiddgets but I will look again more
carefully. Also, am I going about starting this compile correctly? I see that there are
someother .dsw files (wx.dsw for example). Also I noticed that I had to respond
several times to a message box thatb said there was a previous compile using this
configuration and asking if I wanted to use this one (yes or no). I answered yes
each time. I would feel better clearing this out entirely so that this prompting did
not occur. Any Thoughts?

Thank You again for Your help.

73
-Grace
NNNN
z

I just finished compiling Audacity successfully in Windows 7. Please review this link if you still have problem. http://www.hometownband.org/Audacity/CompilingAudacity.html.

cmjone,

Thank You for your “Compiling Audacity” instructions. This has been more
helpful than anything else I have seen. I am at the point now where I am
creating the 3 folders (wxLibs with Unicode Release and Unicode Debug). I
find thatI am still missing one file: wxmsw28ud_core_vc_custom.dll

I am including (uploading) a snap of part of the BuildLog.htm file where the
error seems to occur during the compile.

Can You offer any help with this?

Thank You again for Your great instruction in “Compiling Audacity”.
I appreciate Your help.

73
-Grace
NNNN
z
MW02527_32.jpg

OOps,

I found my problem generating the file:
wxmsw28ud_core_vc_custom.dll. It looks like in my batch build
I mistakenly turned on some of the “Universal” selections.
When I re-built after making this correction, the file was
generated.

Thank You again for all of the help.

73
-Grace
NNNN
z

I am still having some problem. I get a message when I try to execute the
Unicode Debug .exe file created by the compile (attached). I am still trying
now for the second year to successfully build Audacity. I keep getting closer
but my frustration level remains high. Any Help would be very appreciated!

73
-Grace
NNNN
z
MW04253_41.jpg