HI Spencer,
I tried your code on the compile and it seems to have bailed with the same
errors as before. I do have wxGTK-2.4 on this system... Perhaps we need a
different version? Also I build everything from souce I'll have to check my
logs to see if I compiled the wxGTK with my current GCC... just in case :-)
later
vince
output below.
--------------------------------------------------------------
root@crypto5:/miniAudicle-0.1.3.7# make clean; WX_OPTIONS=-toolkit=gtk2 make
linux-alsa
rm -rf *.o wxw/*.o wxw/miniAudicle wxw/miniAudicle.exe macosx/*.o
macosx/miniAudicle.app
make -f makefile.alsa
make[1]: Entering directory `/miniAudicle-0.1.3.7'
gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
miniAudicle.cpp
gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAParentFrame.cpp
gcc -o wxw/mADocument.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mADocument.cpp
gcc -o wxw/mAView.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAView.cpp
gcc -o wxw/mAVMMonitor.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAVMMonitor.cpp
gcc -o wxw/mAMenuBar.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAMenuBar.cpp
gcc -o wxw/mAConsoleMonitor.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAConsoleMonitor.cpp
gcc -o wxw/mAConfig.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAConfig.cpp
gcc -o
wxw/mAPreferencesWindow.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAPreferencesWindow.cpp
gcc -o wxw/mAUIElements.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__
`wx-config -toolkit=gtk2 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/miniAudicle-0.1.3.7
wxw/mAUIElements.cpp
In file included from wxw/mAUIElements.cpp:44:
/usr/local/include/wx-2.8/wx/tglbtn.h:31:32: wx/univ/tglbtn.h: No such file or
directory
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUIElement::SetSize(wxCommandEvent&)':
wxw/mAUIElements.cpp:130: warning: passing `double' for converting 1 of `void
wxWindowBase::SetClientSize(int, int)'
wxw/mAUIElements.cpp:130: warning: passing `double' for converting 2 of `void
wxWindowBase::SetClientSize(int, int)'
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUIElement::SetPosition(wxCommandEvent&)':
wxw/mAUIElements.cpp:137: warning: converting to `int' from `double'
wxw/mAUIElements.cpp:137: warning: converting to `int' from `double'
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUISlider::SetSize(wxCommandEvent&)':
wxw/mAUIElements.cpp:435: warning: passing `double' for converting 1 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:435: warning: passing `double' for converting 2 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:438: warning: passing `double' for converting 1 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:438: warning: passing `double' for converting 2 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:441: warning: passing `double' for converting 1 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:441: warning: passing `double' for converting 2 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:443: warning: passing `double' for converting 1 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:443: warning: passing `double' for converting 2 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:446: warning: passing `double' for converting 1 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:446: warning: passing `double' for converting 2 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:450: warning: passing `double' for converting 2 of
`wxSize::wxSize(int, int)'
wxw/mAUIElements.cpp:450: warning: `SetBestFittingSize' is deprecated
(declared at /usr/local/include/wx-2.8/wx/window.h:1410)
wxw/mAUIElements.cpp:452: warning: passing `double' for converting 1 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:452: warning: passing `double' for converting 2 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp: At global scope:
wxw/mAUIElements.cpp:793: error: ISO C++ forbids declaration of
`wxToggleButton' with no type
wxw/mAUIElements.cpp:793: error: expected `;' before '*' token
wxw/mAUIElements.cpp: In constructor `UI::mAUIButton::mAUIButton()':
wxw/mAUIElements.cpp:671: error: `toggle' was not declared in this scope
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUIButton::SetSize(wxCommandEvent&)':
wxw/mAUIElements.cpp:688: warning: passing `double' for converting 1 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:688: warning: passing `double' for converting 2 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:690: warning: passing `double' for converting 1 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:690: warning: passing `double' for converting 2 of `void
wxWindowBase::Move(int, int, int)'
wxw/mAUIElements.cpp:692: warning: passing `double' for converting 1 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp:692: warning: passing `double' for converting 2 of `void
wxWindowBase::SetSize(int, int)'
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUIButton::SetState(wxCommandEvent&)':
wxw/mAUIElements.cpp:739: error: `toggle' was not declared in this scope
wxw/mAUIElements.cpp: In member function `virtual void
UI::mAUIButton::SetActionType(wxCommandEvent&)':
wxw/mAUIElements.cpp:748: error: `toggle' was not declared in this scope
wxw/mAUIElements.cpp:773: error: `wxToggleButton' has not been declared
make[1]: *** [wxw/mAUIElements.o] Error 1
make[1]: Leaving directory `/miniAudicle-0.1.3.7'
make: [linux-alsa] Error 2 (ignored)
root@crypto5:/miniAudicle-0.1.3.7#
---------- Forwarded Message ----------
Subject: Re: miniAudicle version 0.1.3.7 no joy... compile error...
Date: Thursday 22 March 2007 22:40
From: Spencer Salazar
Hi all,
No joy ....
I'm getting to be a real pain and probably about to be voted the 'Zippy the Pin Head' award but here's my latest...
Slackware Linux version 11.0 Kernel 2.4.33.3 GCC version 3.4.6
have a good day in spite of me Please ;-}>
vince in Maine p.s. IF THERE IS NO "Zippy' award you might want to consider it <heh> <running for cover> >>>-------------->X-[ I shot an arrow in the air, it fell to earth... oh my that smarts<heh>
Complete compile output below: -----------------------------------------------------------------
root@crypto5:/miniAudicle-0.1.3.7# clear root@crypto5:/miniAudicle-0.1.3.7# make linux-alsa make: Warning: File `makefile' has modification time 4.8e+03 s in the future make -f makefile.alsa make[1]: Entering directory `/miniAudicle-0.1.3.7' make[1]: Warning: File `makefile.alsa' has modification time 4.8e +03 s in the future gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 miniAudicle.cpp gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAParentFrame.cpp gcc -o wxw/mADocument.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mADocument.cpp gcc -o wxw/mAView.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAView.cpp gcc -o wxw/mAVMMonitor.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAVMMonitor.cpp gcc -o wxw/mAMenuBar.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAMenuBar.cpp gcc -o wxw/mAConsoleMonitor.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAConsoleMonitor.cpp gcc -o wxw/mAConfig.o -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAConfig.cpp gcc -o wxw/mAPreferencesWindow.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAPreferencesWindow.cpp gcc -o wxw/mAUIElements.o -D__LINUX_ALSA__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src - Iwxw -I/miniAudicle-0.1.3.7 wxw/mAUIElements.cpp In file included from wxw/mAUIElements.cpp:44: /usr/local/include/wx-2.8/wx/tglbtn.h:31:32: wx/univ/tglbtn.h: No such file or directory wxw/mAUIElements.cpp: In member function `virtual void UI::mAUIElement::SetSize(wxCommandEvent&)': wxw/mAUIElements.cpp:130: warning: passing `double' for converting 1 of `void wxWindowBase::SetClientSize(int, int)' wxw/mAUIElements.cpp:130: warning: passing `double' for converting 2 of `void wxWindowBase::SetClientSize(int, int)' wxw/mAUIElements.cpp: In member function `virtual void UI::mAUIElement::SetPosition(wxCommandEvent&)': wxw/mAUIElements.cpp:137: warning: converting to `int' from `double' wxw/mAUIElements.cpp:137: warning: converting to `int' from `double' wxw/mAUIElements.cpp: In member function `virtual void UI::mAUISlider::SetSize(wxCommandEvent&)': wxw/mAUIElements.cpp:435: warning: passing `double' for converting 1 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:435: warning: passing `double' for converting 2 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:438: warning: passing `double' for converting 1 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:438: warning: passing `double' for converting 2 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:441: warning: passing `double' for converting 1 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:441: warning: passing `double' for converting 2 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:443: warning: passing `double' for converting 1 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:443: warning: passing `double' for converting 2 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:446: warning: passing `double' for converting 1 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:446: warning: passing `double' for converting 2 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:450: warning: passing `double' for converting 2 of `wxSize::wxSize(int, int)' wxw/mAUIElements.cpp:450: warning: `SetBestFittingSize' is deprecated (declared at /usr/local/include/wx-2.8/wx/window.h:1410) wxw/mAUIElements.cpp:452: warning: passing `double' for converting 1 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:452: warning: passing `double' for converting 2 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp: At global scope: wxw/mAUIElements.cpp:793: error: ISO C++ forbids declaration of `wxToggleButton' with no type wxw/mAUIElements.cpp:793: error: expected `;' before '*' token wxw/mAUIElements.cpp: In constructor `UI::mAUIButton::mAUIButton()': wxw/mAUIElements.cpp:671: error: `toggle' was not declared in this scope wxw/mAUIElements.cpp: In member function `virtual void UI::mAUIButton::SetSize(wxCommandEvent&)': wxw/mAUIElements.cpp:688: warning: passing `double' for converting 1 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:688: warning: passing `double' for converting 2 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:690: warning: passing `double' for converting 1 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:690: warning: passing `double' for converting 2 of `void wxWindowBase::Move(int, int, int)' wxw/mAUIElements.cpp:692: warning: passing `double' for converting 1 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp:692: warning: passing `double' for converting 2 of `void wxWindowBase::SetSize(int, int)' wxw/mAUIElements.cpp: In member function `virtual void UI::mAUIButton::SetState(wxCommandEvent&)': wxw/mAUIElements.cpp:739: error: `toggle' was not declared in this scope wxw/mAUIElements.cpp: In member function `virtual void UI::mAUIButton::SetActionType(wxCommandEvent&)': wxw/mAUIElements.cpp:748: error: `toggle' was not declared in this scope wxw/mAUIElements.cpp:773: error: `wxToggleButton' has not been declared make[1]: *** [wxw/mAUIElements.o] Error 1 make[1]: Leaving directory `/miniAudicle-0.1.3.7' make: [linux-alsa] Error 2 (ignored) make: warning: Clock skew detected. Your build may be incomplete. root@crypto5:/miniAudicle-0.1.3.7# _______________________________________________ audicle mailing list audicle@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/audicle
-------------------------------------------------------