Here are errors compiling latest cvs (Version 1.1.1) with latest
wxGTK (2.3.x from cvs) under Linux with gcc 3:
Benchmark.cpp: In constructor `BenchmarkDialog::BenchmarkDialog(wxWindow*)':
Benchmark.cpp:127: no matching function for call to
`BenchmarkDialog::MakeBenchmarkDialog(BenchmarkDialog* const, int)'
Benchmark.cpp:33: candidates are: wxSizer*
BenchmarkDialog::MakeBenchmarkDialog(wxPanel*, bool = 1, bool = 1)
BlockFile.cpp: In member function `wxString BlockFile::GetAliasedFile()':
BlockFile.cpp:94: `mAlias' undeclared (first use this function)
BlockFile.cpp: In member function `void
BlockFile.cpp:105: `mAlias' undeclared (first use this function)
I commented out all these and was able to proceed.
Help.cpp: In function `void InitHelp(wxWindow*)':
Help.cpp:73: `wxOPEN' undeclared (first use this function)
Help.cpp:73: (Each undeclared identifier is reported only once for each
function it appears in.)
Help.cpp:73: `wxFileSelector' undeclared (first use this function)
Help.cpp:80: `wxMessageBox' undeclared (first use this function)
I already reported it to Dominic a few months ago. I do not understand
why it cannot find wxFileSelector - Help.cpp includes <wx/filedlg.h>,
wxOPEN = 0x0001,
wxSAVE = 0x0002,
wxOVERWRITE_PROMPT = 0x0004,
wxHIDE_READONLY = 0x0008,
wxFILE_MUST_EXIST = 0x0010,
wxMULTIPLE = 0x0020,
wxCHANGE_DIR = 0x0040
wx/generic/filedlgg.h has wxFileSelector.
Could it be because wxUSE_FILEDLG is not defined?
OK, just tried to add #define wxUSE_FILEDLG 1 in Help.cpp line 50,
and it was compiled ok. So where wxUSE_FILEDLG should be defined?
Tags.cpp: In constructor `TagsDialog::TagsDialog(wxWindow*, int, const
wxString&, const wxPoint&, const wxSize&, long int)':
Tags.cpp:174: cannot convert `TagsDialog* const' to `wxPanel*' for argument `1' to `wxSizer* MakeTagsDialog(wxPanel*, bool, bool)'
P.S. Please CC to me, I am not subscribed.
P.P.S. I am resending, because I still don't see my message in list archives.
From: Matt Brubeck <mbrubeck@cs...> - 2002-01-29 06:24:02
On Jan 28, Nerijus Baliunas wrote:
> Here are errors compiling latest cvs (Version 1.1.1) with latest
> wxGTK (2.3.x from cvs) under Linux with gcc 3:
Audacity still requires the stable wxWindows 2.2 libraries.
We will start porting to wx 2.3 as the first 2.4 release approaches.
On Mon, 28 Jan 2002 22:23:56 -0800 (PST) Matt Brubeck <mbrubeck@...> wrote:
MB> > Here are errors compiling latest cvs (Version 1.1.1) with latest
MB> > wxGTK (2.3.x from cvs) under Linux with gcc 3:
MB> Audacity still requires the stable wxWindows 2.2 libraries.
MB> We will start porting to wx 2.3 as the first 2.4 release approaches.
As I know, Mac version uses 2.3, besides, there should be no problems
compiling code for 2.2 with 2.3. I really don't want to have to use 2
wx installations, but of course it's my problem.