Page 1 of 1

Error in CVS compilation

Posted: Thu Oct 28, 2004 11:45 am
by dwmcqueen
I am getting the following error:

accel.cxx: In function `void wxAcceleratorTable_Add(wxAcceleratorTable*,
wxAcceleratorEntry*)':
accel.cxx:99: error: `Add' undeclared (first use this function)
accel.cxx:99: error: (Each undeclared identifier is reported only once for each
function it appears in.)
accel.cxx: In function `void wxAcceleratorTable_Remove(wxAcceleratorTable*,
wxAcceleratorEntry*)':
accel.cxx:107: error: `Remove' undeclared (first use this function)
accel.cxx: In function `wxMenuItem*
wxAcceleratorTable_GetMenuItem(wxAcceleratorTable*, wxKeyEvent*)':
accel.cxx:115: error: `GetMenuItem' undeclared (first use this function)
accel.cxx: In function `const wxAcceleratorEntry*
wxAcceleratorTable_GetEntry(wxAcceleratorTable*, wxKeyEvent*)':
accel.cxx:131: error: `GetEntry' undeclared (first use this function)
make[2]: *** [obj/accel.o] Error 1
make[1]: *** [wx-c] Error 2
make: *** [wxnet-core] Error 2


After doing a "make wxnet" in the Builds/MacOSX directory. Anyone know how to solve this?

Posted: Fri Oct 29, 2004 7:47 pm
by xenomorph
Remove the line "Accelerator.cs" in Src/wx.NET/premake.lua and "accel.cxx" in Src/wx-c/premake.lua.

I do not have a Mac to check if the latest cvs changes, that I've made, work.

Greetings
Xenomorph 8)