[chuck-users] Fwd: Re: miniAudicle version 0.1.3.7 no joy... compile error...

Vince Werber ka1iic at prexar.com
Sun Mar 25 15:27:26 EDT 2007


OK Spencer...

I looked around on my hard drive and found wxGTK 2.8.0 compiled it, install 
etc and then I did the simple 'make' for miniAudical... and... and....

GOT IT!!!!  It's up and running as I speak!  

<heh>
73
vince
ka1iic in Maine

On Sunday 25 March 2007 21:37, Spencer Salazar wrote:
> Hey Vince,
> It probably won't work with wxGTK-2.4 -- I've only tested it with 2.6
> and 2.8; my understanding is that the difference between 2.4 and 2.6
> is pretty significant.  I'll go ahead and look into wxUniversal support.
>
> spencer
>
> On Mar 23, 2007, at 7:08 AM, Vince Werber wrote:
> > 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 at 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 at 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 <ssalazar at cs.princeton.edu>
> > To: ChucK Users Mailing List <chuck-users at lists.cs.princeton.edu>
> > Cc: Vince Werber <ka1iic at prexar.com>
> >
> > Hey Vince,
> > No worries!  Hopefully we can solve this and get it going for you
> > soon.  Thanks for trying this out so soon after the release.
> >
> > It looks like we got past the previous error you were having, which
> > is good (I did include a specific fix for that in this release, so
> > apparently it worked).
> >
> > It looks like you are using a wxUniversal build--this isn't
> > explicitly supported, but only in the sense that I have never tried
> > building miniAudicle with wxUniversal.  If you also happen have wxGTK
> > on your system, you might want to try forcing miniAudicle to use that
> > by entering:
> >
> > make clean; WX_OPTIONS='--toolkit=gtk2' make linux-alsa
> >
> > in the miniAudicle-0.1.3.7 directory.
> >
> > If you don't have or don't like wxGTK, then thats okay too, as it
> > should be pretty easy for me to whip up a quick patch to the current
> > miniAudicle source that would be wxUniversal-compatible.
> >
> > Also, I've pulled this discussion over to the chuck-users list, on
> > the sudden whim that audicle list subscribers are probably interested
> > only in audicle specifically, whereas chuck-users subscribers are
> > (theoretically) interested in both ChucK specifically and general
> > ChucK issues, including miniAudicle.  (Thus contradicting on my
> > previous statement that miniAudicle problems could go to either
> > list.  I suppose it could go either way still but chuck-users is
> > probably the preferred way to go as of now.)
> >
> > spencer
> >
> > On Mar 22, 2007, at 2:37 AM, Vince Werber wrote:
> >> 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 at crypto5:/miniAudicle-0.1.3.7# clear
> >> root at 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 at crypto5:/miniAudicle-0.1.3.7#
> >> _______________________________________________
> >> audicle mailing list
> >> audicle at lists.cs.princeton.edu
> >> https://lists.cs.princeton.edu/mailman/listinfo/audicle
> >
> > -------------------------------------------------------
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users


More information about the chuck-users mailing list