Hi there
I thought it was time I got into the dll version, but I've had a few
problems (I sure not major).
I got wxWidgets 2.8.7 from
http://wxwidgets.org/downloads/ and
installed it. I opened wx_dll.sln in VC, set setup.h to include
wxAccessibility (1), and compiled 'DLL Unicode Debug' and 'DLL Debug',
noting that (somewhere) I was told that the error on
wxbase28ud_odbc.lib is normal and that I would have to build several
times to get down to that one error.
I set WXWIN to C:\Audacity\wxWidgets-2.8.7 and renamed
C:\Audacity\wxWidgets-2.6.4 to C:\Audacity\wxWidgets-2.6.4-old so I
wouldn't get fooled.
I updated my version of Audacity to CVS, including renaming
audacity.vcproj and letting it get replaced.
I tried to compile 'Debug DLL' and had to change wx*26ud.lib to
wx*28ud as detailed on
http://audacityteam.org/wiki/index.php?title=Developing_On_WindowsI also had to change
$(WXWIN)\lib\vc_lib
to
$(WXWIN)\lib\vc_dll
in Linker -> General -> Additional Library Directories
but now I get a load of linker errors starting...
4>Linking...
4>wxbase28d.lib(wxbase28d_vc_custom.dll) : error LNK2005: "public:
__thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already
defined in AboutDialog.obj
4>wxbase28d.lib(wxbase28d_vc_custom.dll) : error LNK2005: "public:
char const * __thiscall wxStringBase::c_str(void)const "
(?c_str@wxStringBase@@QBEPBDXZ) already defined in AboutDialog.obj
4>wxbase28d.lib(wxbase28d_vc_custom.dll) : error LNK2005: "public:
bool __thiscall wxString::IsEmpty(void)const "
(?IsEmpty@wxString@@QBE_NXZ) already defined in AudacityApp.obj
I also tried 'Debug wx284' and get a load of errors like...
3>Compiling...
3>AudacityHeaders.cpp
3>C:\Audacity\wxWidgets-2.8.7\include\wx/choice.h(29) : error C2370:
'overrideChoiceNameStr' : redefinition; different storage class
3> c:\Audacity\audacity\win\configwin.h(68) : see declaration
of 'overrideChoiceNameStr'
3>C:\Audacity\wxWidgets-2.8.7\include\wx/textctrl.h(65) : error C2370:
'overrideTextCtrlNameStr' : redefinition; different storage class
3> c:\Audacity\audacity\win\configwin.h(67) : see declaration
of 'overrideTextCtrlNameStr'
3>C:\Audacity\wxWidgets-2.8.7\include\wx/slider.h(48) : error C2370:
'overrideSliderNameStr' : redefinition; different storage class
3> c:\Audacity\audacity\win\configwin.h(70) : see declaration
of 'overrideSliderNameStr'
3>C:\Audacity\wxWidgets-2.8.7\include\wx/combobox.h(19) : error C2370:
'overrideComboBoxNameStr' : redefinition; different storage class
3> c:\Audacity\audacity\win\configwin.h(69) : see declaration
of 'overrideComboBoxNameStr'
3>c:\audacity\audacity\src\Theme.h(130) : warning C4251:
'ThemeBase::mImages' : class 'ArrayOfImages' needs to have
dll-interface to be used by clients of class 'ThemeBase'
So what am I doing wrong? I assume that others can compile the dll
version; what are you doing differently?
Thanks in advance
Martyn
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel