Re: [chuck-users] [chuck] miniAudicle-0.1.3.3 release (mac + linux + win)
Spencer Salazar wrote:
This is the first miniAudicle version for which (experimental, but generally usable) [Windows and] Linux versions are available.
Great!!!!! I tried to build it (debian/linux), I followed everything except "2. Build the Styled Text Control (STC) wxWidgets contrib library." Since I couldn't find the directory build-gtk). When I try to make I get: [atte@aarhus miniAudicle-0.1.3.3]$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/atte/software/chuck/miniAudicle-0.1.3.3' 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/home/atte/software/chuck/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ` mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to `wxString:: Printf(const char[], const char[], const char[])' /usr/include/wx-2.6/wx/string.h:1080: error: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/atte/software/chuck/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored) Is this because I skipped step 2? If so a little more explanation regarding where I find the directory and/or which package I might be missing would be appreciated. Really looking forward to get this running! -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Hello, =20 miniAudicle-0.1.3.3 (alpha) is now available. =20 http://audicle.cs.princeton.edu/mini/ (may need to reload) =20 This is the first miniAudicle version for which (experimental, but =20 generally usable) Windows and Linux versions are available. =20 Additionally, a big CPU draining bug present in previous 0.1.3.x =20 releases was fixed for miniAudicle OS X (upgrade recommended). =20 Windows and Linux miniAudicle do not currently support as many =20 features as OS X miniAudicle, but feature-parity is an eventual =20 goal. Specifically, miniAudicle User Interface elements are not yet =20 supported for Linux and Windows. A Windows binary executable is =20 available; Linux miniAudicle is for now source-only. =20 Special thanks to J=F6rg Piringer and his excellent OSCSurface
redirected from [chuck], from mik --- Hi I quite quickly get an error when compiling the linux version: mik@klimop:~/src/miniAudicle-0.1.3.3$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/mik/src/miniAudicle-0.1.3.3' gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config=20 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw=20 -I/home/mik/src/miniAudicle-0.1.3.3 miniAudicle.cpp gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__=20 -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__=20 -Ichuck/src -Iwxw -I/home/mik/src/miniAudicle-0.1.3.3 wxw/mAParentFrame.c= pp wxw/mAParentFrame.cpp: In constructor=20 'mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*,=20 const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to=20 'wxString::Printf(const char [], const char [], const char [])' /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int=20 wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/mik/src/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored) ? Thanks mik Spencer Salazar schreef: project = =20
for providing ideas on miniAudicle Win32/Linux. =20 Please let us know about any problems, bugs, feature requests, etc. =20 thanks, miniAudicle team =20 --- 0.1.3.3 - initial Windows release - initial Linux release - fixed excessive CPU consumption problem (os x) - background color option now works (os x) =20 _______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck =20 =20 =20
--=20 http://www.mprims.net
I have the same error. The wxWidgets is build with the unicode support and it seems that there is some conversion are missing. Cédric On 27/07/06 09:15 -0400, Ge Wang wrote:
redirected from [chuck], from mik
--- Hi
I quite quickly get an error when compiling the linux version:
mik@klimop:~/src/miniAudicle-0.1.3.3$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/mik/src/miniAudicle-0.1.3.3' gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config=20 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw=20 -I/home/mik/src/miniAudicle-0.1.3.3 miniAudicle.cpp gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__=20 -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__=20 -Ichuck/src -Iwxw -I/home/mik/src/miniAudicle-0.1.3.3 wxw/mAParentFrame.c= pp wxw/mAParentFrame.cpp: In constructor=20 'mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*,=20 const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to=20 'wxString::Printf(const char [], const char [], const char [])' /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int=20 wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/mik/src/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
?
Thanks
mik
Hello, =20 miniAudicle-0.1.3.3 (alpha) is now available. =20 http://audicle.cs.princeton.edu/mini/ (may need to reload) =20 This is the first miniAudicle version for which (experimental, but =20 generally usable) Windows and Linux versions are available. =20 Additionally, a big CPU draining bug present in previous 0.1.3.x =20 releases was fixed for miniAudicle OS X (upgrade recommended). =20 Windows and Linux miniAudicle do not currently support as many =20 features as OS X miniAudicle, but feature-parity is an eventual =20 goal. Specifically, miniAudicle User Interface elements are not yet =20 supported for Linux and Windows. A Windows binary executable is =20 available; Linux miniAudicle is for now source-only. =20 Special thanks to J=F6rg Piringer and his excellent OSCSurface
Spencer Salazar schreef: project = =20
for providing ideas on miniAudicle Win32/Linux. =20 Please let us know about any problems, bugs, feature requests, etc. =20 thanks, miniAudicle team =20 --- 0.1.3.3 - initial Windows release - initial Linux release - fixed excessive CPU consumption problem (os x) - background color option now works (os x) =20 _______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck =20 =20 =20
--=20
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Here is a patch that fix the unicode compile issue. But it seems that there is still a problem because when I run miniAudicle, I have a segfault. Cédric On 27/07/06 15:27 +0200, Cedric Krier wrote:
I have the same error. The wxWidgets is build with the unicode support and it seems that there is some conversion are missing.
Cédric
On 27/07/06 09:15 -0400, Ge Wang wrote:
redirected from [chuck], from mik
--- Hi
I quite quickly get an error when compiling the linux version:
mik@klimop:~/src/miniAudicle-0.1.3.3$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/mik/src/miniAudicle-0.1.3.3' gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config=20 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw=20 -I/home/mik/src/miniAudicle-0.1.3.3 miniAudicle.cpp gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__=20 -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__=20 -Ichuck/src -Iwxw -I/home/mik/src/miniAudicle-0.1.3.3 wxw/mAParentFrame.c= pp wxw/mAParentFrame.cpp: In constructor=20 'mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*,=20 const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to=20 'wxString::Printf(const char [], const char [], const char [])' /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int=20 wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/mik/src/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
?
Thanks
mik
Spencer Salazar schreef:
Sweet! I can't wait to try this out on Linux!
Thanks guys!
-Mike
On 7/27/06, Cedric Krier
Here is a patch that fix the unicode compile issue. But it seems that there is still a problem because when I run miniAudicle, I have a segfault.
Cédric
On 27/07/06 15:27 +0200, Cedric Krier wrote:
I have the same error. The wxWidgets is build with the unicode support and it seems that there is some conversion are missing.
Cédric
On 27/07/06 09:15 -0400, Ge Wang wrote:
redirected from [chuck], from mik
--- Hi
I quite quickly get an error when compiling the linux version:
mik@klimop:~/src/miniAudicle-0.1.3.3$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/mik/src/miniAudicle-0.1.3.3' gcc -D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config=20 --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw=20 -I/home/mik/src/miniAudicle-0.1.3.3 miniAudicle.cpp gcc -o wxw/mAParentFrame.o -D__LINUX_ALSA__ -D__LINUX__=20 -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__=20 -Ichuck/src -Iwxw -I/home/mik/src/miniAudicle-0.1.3.3 wxw/mAParentFrame.c= pp wxw/mAParentFrame.cpp: In constructor=20 'mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*,=20 const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to=20 'wxString::Printf(const char [], const char [], const char [])' /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int=20 wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/mik/src/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
?
Thanks
mik
Spencer Salazar schreef:
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- "ooh aah bleep" -miraton
Hey ChucK-people -- If any of you also use max/msp, I'd love for you to try this out: http://music.columbia.edu/~brad/chuck-max-beta/beta_v0.7/ and let me know what you think, how it works, etc. I've included several small example patches showing what it can do. OSX only for now, sorry! thanks! brad http://music.columbia.edu/~brad
Brad,
Any idea whether your *.pat files would also work in PD? (If they're
*.pat files, of course!)
Cheers,
Mike
On 7/27/06, Bradford Garton
Hey ChucK-people --
If any of you also use max/msp, I'd love for you to try this out:
http://music.columbia.edu/~brad/chuck-max-beta/beta_v0.7/
and let me know what you think, how it works, etc. I've included several small example patches showing what it can do. OSX only for now, sorry!
thanks!
brad http://music.columbia.edu/~brad _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- "ooh aah bleep" -miraton
They won't, unless some kind of equivalent [chuck~]-like object was coded for PD. I haven't used PD much, but several people have been after me to do a PD [rtcmix~] also. I honestly don't know how difficult it would be to build a PD external like this from the code for the max/msp external. I put all of it on-line, but I'm sure the code is fairly embarrassing. brad http://music.columbia.edu/~brad On Thu, 27 Jul 2006, mike clemow wrote:
Brad,
Any idea whether your *.pat files would also work in PD? (If they're *.pat files, of course!)
Cheers, Mike
On 7/27/06, Bradford Garton
wrote: Hey ChucK-people --
If any of you also use max/msp, I'd love for you to try this out:
http://music.columbia.edu/~brad/chuck-max-beta/beta_v0.7/
and let me know what you think, how it works, etc. I've included several small example patches showing what it can do. OSX only for now, sorry!
thanks!
brad http://music.columbia.edu/~brad _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
--
"ooh aah bleep" -miraton _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Cedric Krier wrote:
Here is a patch that fix the unicode compile issue. But it seems that there is still a problem because when I run miniAudicle, I have a segfault.
My (patched, thanks) miniAudicle makes no sound and outputs a million of these: (miniAudicle:4658): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() It seems to choke on sending the above a million times, at least it hangs. I'm able to start VM, add shreds, time seems to be running alright, but lots of error messages + no sound. -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Atte André Jensen wrote:
I'm able to start VM, add shreds, time seems to be running alright, but lots of error messages + no sound.
This was with otf_01.ck and otf_02.ck. hanoi.ck does segfault (when adding) here... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Yes... for now, Linux miniAudicle will crash on hanoi.ck, or any other programs that try to print ~1000 lines of text in 1/44100 second... However, otf_01.ck and otf_02.ck might be silent because they cant find the drum samples that they use, depending on your current working directory (typically this error would print to the Console Monitor, but it looks like thats being swamped with other errors). Do otf_05.ck and/or otf_06.ck work? Those two dont depend on external soundfiles. Thanks everyone for their feedback so far, and thanks to Cédric for the patch! This should put us well on our way to a more cosmopolitan, Unicode aware miniAudicle. miniAudicle team On Jul 27, 2006, at 10:59 AM, Atte André Jensen wrote:
Atte André Jensen wrote:
I'm able to start VM, add shreds, time seems to be running alright, but lots of error messages + no sound.
This was with otf_01.ck and otf_02.ck. hanoi.ck does segfault (when adding) here...
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar wrote:
Do otf_05.ck and/or otf_06.ck work? Those two dont depend on external soundfiles.
No, still no sound... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
more redirected from [chuck] this one by Vassili --- wooo hooo!!! great stuff... :) gonna test it out tomorrow on Linux ;) been waiting this for a while. thanks. Spencer Salazar wrote:
Hello,
miniAudicle-0.1.3.3 (alpha) is now available.
http://audicle.cs.princeton.edu/mini/ (may need to reload)
This is the first miniAudicle version for which (experimental, but =20 generally usable) Windows and Linux versions are available. =20 Additionally, a big CPU draining bug present in previous 0.1.3.x =20 releases was fixed for miniAudicle OS X (upgrade recommended).
Windows and Linux miniAudicle do not currently support as many =20 features as OS X miniAudicle, but feature-parity is an eventual =20 goal. Specifically, miniAudicle User Interface elements are not yet =20 supported for Linux and Windows. A Windows binary executable is =20 available; Linux miniAudicle is for now source-only.
Special thanks to J=F6rg Piringer and his excellent OSCSurface project for providing ideas on miniAudicle Win32/Linux.
Please let us know about any problems, bugs, feature requests, etc.
thanks, miniAudicle team
--- 0.1.3.3 - initial Windows release - initial Linux release - fixed excessive CPU consumption problem (os x) - background color option now works (os x)
_______________________________________________ chuck mailing list chuck@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck
Hey there, The "imaginary" build-gtk directory refers to whichever directory in the wxWidgets source tree you ran "configure" in. I think in the wxGTK installation instructions it recommends configuring/building in a separate directory called "build-gtk". If you didnt do this, you can probably just cd to "contrib/src/stc" in the root directory of the wxWidgets source and "make; make install" there. It seems a lot of the build errors are coming from unicode issues, which makes sense because we didnt test this out with the Unicode version of wxWidgets. An immediate solution I can propose is to build the non-unicode version of wxWidgets and compile against that. I think this should be okay for a quick fix, because the ANSI and Unicode libraries are named differently and can peacefully coexist on the same system. Once we can put together a Unicode-savvy miniAudicle, the Unicode wxWidgets libraries can be easily swapped in. spencer On Jul 27, 2006, at 8:57 AM, Atte André Jensen wrote:
Spencer Salazar wrote:
This is the first miniAudicle version for which (experimental, but generally usable) [Windows and] Linux versions are available.
Great!!!!!
I tried to build it (debian/linux), I followed everything except "2. Build the Styled Text Control (STC) wxWidgets contrib library." Since I couldn't find the directory build-gtk).
When I try to make I get:
[atte@aarhus miniAudicle-0.1.3.3]$ make linux-alsa make -f makefile.alsa make[1]: Entering directory `/home/atte/software/chuck/ miniAudicle-0.1.3.3' 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/home/atte/software/chuck/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ` mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)': wxw/mAParentFrame.cpp:369: error: no matching function for call to `wxString:: Printf(const char[], const char[], const char[])' /usr/include/wx-2.6/wx/string.h:1080: error: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/home/atte/software/chuck/ miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
Is this because I skipped step 2? If so a little more explanation regarding where I find the directory and/or which package I might be missing would be appreciated.
Really looking forward to get this running!
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar wrote:
The "imaginary" build-gtk directory refers to whichever directory in the wxWidgets source tree you ran "configure" in. I think in the wxGTK installation instructions it recommends configuring/building in a separate directory called "build-gtk".
Ok, thanks for that explanation. I installed (as I normally do) wx from debian, and that should normally be enough...
If you didnt do this, you can probably just cd to "contrib/src/stc" in the root directory of the wxWidgets source and "make; make install" there.
I don't have that directory anywhere...
An immediate solution I can propose is to build the non-unicode version of wxWidgets and compile against that.
I think (also reading Tyler's reply) that building wx from source might fix the problem, although it doesn't seem logical to me that Unicode and sound should be this closely related (but then again, you never know...). But as I'm getting a new/used T41 Monday, I'll wait with further hand-compilation until that's up and running. Will report back how miniAudicle works on that box then... Thanks again for your reply and for making miniAudicle available for Linux. -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
I was able to build miniAudicle on Debian and have been playing with it for the last few hours. It's working great! Cool IDE! Under Debian, it was necessary to build wxWidgets from source.
I tried to build it (debian/linux), I followed everything except "2. Build the Styled Text Control (STC) wxWidgets contrib library." Since I couldn't find the directory build-gtk).
build-gtk is a directory that you create. I followed these instructions (from wxWidgets README-GTK.txt) : mkdir build_gtk cd build_gtk ../configure --with-gtk=2 make su <type root password> make install ldconfig Now there's a contrib/src/stc/ directory! Hope this helps. - Tyler Gillies
Tyler Gillies wrote:
I was able to build miniAudicle on Debian
Which flavor? Stable/unstable/testing. What's your locale set to? What does "echo $LANG" say? -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Tyler Gillies wrote:
Stable/unstable/testing?
Well, I suspected that. I'm running stable with wx2.6 from backports. I though about going back to unstable on my new box, maybe that changes something, esp with the UTF stuff... Just for the fun of it, could you be convinced to mail your miniAudicle binary to my private email, atteATballbreakerDOTdk? It might not work on my stable machine, but maybe it will... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Heya, can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this: make -f makefile.alsa make[1]: Entering directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' 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/usr/local/home/psych0/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ‘mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: wxw/mAParentFrame.cpp:369: error: no matching function for call to ‘wxString::Printf(const char [], const char [], const char [])’ /usr/include/wx-2.6/wx/string.h:1063: note: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored) any ideas? thanks.
Look this thread : https://lists.cs.princeton.edu/pipermail/chuck-users/2006-July/000921.html On 28/07/06 18:37 +0400, Vassili Slessarenko wrote:
Heya,
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
make -f makefile.alsa make[1]: Entering directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' 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/usr/local/home/psych0/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ‘mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: wxw/mAParentFrame.cpp:369: error: no matching function for call to ‘wxString::Printf(const char [], const char [], const char [])’ /usr/include/wx-2.6/wx/string.h:1063: note: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
any ideas?
thanks.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Thanks a lot, You say it still segfaults after the patching though? Cedric Krier wrote:
Look this thread : https://lists.cs.princeton.edu/pipermail/chuck-users/2006-July/000921.html
On 28/07/06 18:37 +0400, Vassili Slessarenko wrote:
Heya,
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
make -f makefile.alsa make[1]: Entering directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' 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/usr/local/home/psych0/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ‘mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: wxw/mAParentFrame.cpp:369: error: no matching function for call to ‘wxString::Printf(const char [], const char [], const char [])’ /usr/include/wx-2.6/wx/string.h:1063: note: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
any ideas?
thanks.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Yes, I'm looking to this issue but I haven't yet found it. The patch fix only the compilation. On 28/07/06 18:58 +0400, Vassili Slessarenko wrote:
Thanks a lot,
You say it still segfaults after the patching though?
Cedric Krier wrote:
Look this thread : https://lists.cs.princeton.edu/pipermail/chuck-users/2006-July/000921.html
On 28/07/06 18:37 +0400, Vassili Slessarenko wrote:
Heya,
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
make -f makefile.alsa make[1]: Entering directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' 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/usr/local/home/psych0/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ‘mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: wxw/mAParentFrame.cpp:369: error: no matching function for call to ‘wxString::Printf(const char [], const char [], const char [])’ /usr/include/wx-2.6/wx/string.h:1063: note: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
any ideas?
thanks.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
ahhh... so there is hardly any point for now... Anyways, the patch failed to work for me for some odd reason just said all the HUNKS failed... I guess we'll just have to wait till Ge and team get around to fixing this. anyways, I appreciate all the help I can get to get this running on Linux. thanks. Cedric Krier wrote:
Yes, I'm looking to this issue but I haven't yet found it. The patch fix only the compilation.
On 28/07/06 18:58 +0400, Vassili Slessarenko wrote:
Thanks a lot,
You say it still segfaults after the patching though?
Cedric Krier wrote:
Look this thread : https://lists.cs.princeton.edu/pipermail/chuck-users/2006-July/000921.html
On 28/07/06 18:37 +0400, Vassili Slessarenko wrote:
Heya,
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
make -f makefile.alsa make[1]: Entering directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' 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/usr/local/home/psych0/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In constructor ‘mAParentFrame::mAParentFrame(miniAudicle*, wxDocManager*, wxFrame*, const wxString&, const wxPoint&, const wxSize&, long int)’: wxw/mAParentFrame.cpp:369: error: no matching function for call to ‘wxString::Printf(const char [], const char [], const char [])’ /usr/include/wx-2.6/wx/string.h:1063: note: candidates are: int wxString::Printf(const wxChar*, ...) make[1]: *** [wxw/mAParentFrame.o] Error 1 make[1]: Leaving directory `/usr/local/home/psych0/miniAudicle-0.1.3.3' make: [linux-alsa] Error 2 (ignored)
any ideas?
thanks.
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open. Cédric
On Fri Jul 28, 2006 at 06:36:38PM +0200, Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
thanks. that eliminates the printf errors. i am getting this as well: make -f makefile.jack gcc -o wxw/mAParentFrame.o -D__LINUX_JACK__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/root/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnMiniWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:533: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnChucKWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:538: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope make: *** [wxw/mAParentFrame.o] Error 1 which version of GCC is recommended?
On 28/07/06 17:14 +0000, carmen wrote:
On Fri Jul 28, 2006 at 06:36:38PM +0200, Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
thanks. that eliminates the printf errors. i am getting this as well:
make -f makefile.jack gcc -o wxw/mAParentFrame.o -D__LINUX_JACK__ -D__LINUX__ -D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c -D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/root/miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnMiniWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:533: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnChucKWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:538: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope make: *** [wxw/mAParentFrame.o] Error 1
It seems this is because your wxWidgets have been compile with backward compatibility. Try to compile the library with "--disable-compat24"
which version of GCC is recommended?
I use gcc-3.4.6
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Which version of wxWidgets are you using? wxLaunchDefaultBrowser was a fairly recent addition to wx (2.6.1 or later). 'wx-config --version' should print the version number. miniAudicle was developed and tested primarily with GCC 3.2.2, as with a lot of Linux development/testing of ChucK. spencer On Jul 28, 2006, at 1:14 PM, carmen wrote:
On Fri Jul 28, 2006 at 06:36:38PM +0200, Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
thanks. that eliminates the printf errors. i am getting this as well:
make -f makefile.jack gcc -o wxw/mAParentFrame.o -D__LINUX_JACK__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c - D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/root/ miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnMiniWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:533: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnChucKWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:538: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope make: *** [wxw/mAParentFrame.o] Error 1
which version of GCC is recommended? _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Perhaps, it will be good to put the calls to wxLaunchDefaultBrowser between : #if wxABI_VERSION >= 20601 #endif as in include/wx/utils.h Cédric Krier On 28/07/06 13:48 -0400, Spencer Salazar wrote:
Which version of wxWidgets are you using? wxLaunchDefaultBrowser was a fairly recent addition to wx (2.6.1 or later).
'wx-config --version' should print the version number.
miniAudicle was developed and tested primarily with GCC 3.2.2, as with a lot of Linux development/testing of ChucK.
spencer
On Jul 28, 2006, at 1:14 PM, carmen wrote:
On Fri Jul 28, 2006 at 06:36:38PM +0200, Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
thanks. that eliminates the printf errors. i am getting this as well:
make -f makefile.jack gcc -o wxw/mAParentFrame.o -D__LINUX_JACK__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c - D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/root/ miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnMiniWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:533: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnChucKWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:538: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope make: *** [wxw/mAParentFrame.o] Error 1
which version of GCC is recommended? _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
yeah that seems fair, since we claim that miniAudicle works with all of 2.6.x. spencer On Jul 28, 2006, at 1:53 PM, Cedric Krier wrote:
Perhaps, it will be good to put the calls to wxLaunchDefaultBrowser between :
#if wxABI_VERSION >= 20601 #endif
as in include/wx/utils.h
Cédric Krier
On 28/07/06 13:48 -0400, Spencer Salazar wrote:
Which version of wxWidgets are you using? wxLaunchDefaultBrowser was a fairly recent addition to wx (2.6.1 or later).
'wx-config --version' should print the version number.
miniAudicle was developed and tested primarily with GCC 3.2.2, as with a lot of Linux development/testing of ChucK.
spencer
On Jul 28, 2006, at 1:14 PM, carmen wrote:
On Fri Jul 28, 2006 at 06:36:38PM +0200, Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
thanks. that eliminates the printf errors. i am getting this as well:
make -f makefile.jack gcc -o wxw/mAParentFrame.o -D__LINUX_JACK__ -D__LINUX__ - D__MA_WXWIDGETS__ `wx-config --cppflags` -O3 -c - D__CK_SNDFILE_NATIVE__ -Ichuck/src -Iwxw -I/root/ miniAudicle-0.1.3.3 wxw/mAParentFrame.cpp wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnMiniWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:533: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope wxw/mAParentFrame.cpp: In member function ‘void mAParentFrame::OnChucKWeb(wxCommandEvent&)’: wxw/mAParentFrame.cpp:538: error: ‘wxLaunchDefaultBrowser’ was not declared in this scope make: *** [wxw/mAParentFrame.o] Error 1
which version of GCC is recommended? _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Hey, I can't seem to be able to use the patch... just get: patch --verbose --dry-run -p1 < patch1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 -------------------------- Patching file wxw/mAConsoleMonitor.cpp using Plan A... Hunk #1 FAILED at 203. Hunk #2 FAILED at 223. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAConsoleMonitor.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp |--- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 -------------------------- Patching file wxw/mAParentFrame.cpp using Plan A... Hunk #1 FAILED at 366. 1 out of 1 hunk FAILED -- saving rejects to file wxw/mAParentFrame.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp |--- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 -------------------------- Patching file wxw/mAView.cpp using Plan A... Hunk #1 FAILED at 179. Hunk #2 FAILED at 191. Hunk #3 FAILED at 203. 3 out of 3 hunks FAILED -- saving rejects to file wxw/mAView.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 -------------------------- Patching file wxw/mAVMMonitor.cpp using Plan A... Hunk #1 FAILED at 83. Hunk #2 FAILED at 220. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAVMMonitor.cpp.rej Hmm... Ignoring the trailing garbage. done ********************************************************************************** Looking at one of the files though this is what I get: cat wxw/mAVMMonitor.cpp.rej *************** *** 83,89 **** wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 ); - vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 ); grid->CreateGrid( 0, 4 ); --- 83,89 ---- wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 ); + vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 ); grid->CreateGrid( 0, 4 ); *************** *** 220,246 **** now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u", now / 60, now % 60 ) ); last_now = now; } if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); last_num_shreds = num_shreds; } for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); grid->SetCellValue( i, 0, temp ); - temp = wxString::Format( "%s", status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp ); age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); grid->SetCellValue( i, 2, temp ); grid->SetCellValue( i, 3, _T( "-" ) ); --- 220,246 ---- now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ), now / 60, now % 60 ) ); last_now = now; } if( num_shreds != last_num_shreds ) { + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; } for( int i = 0; i < num_shreds; i++ ) { + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp ); + temp = wxString::Format( _T( "%s" ), status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp ); age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp ); grid->SetCellValue( i, 3, _T( "-" ) ); I'm not particularly good at understanding compile and patch errors... so figured this might help you see where the problem is. Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
Cédric
------------------------------------------------------------------------
diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 @@ -203,14 +203,14 @@ { len = read( console_monitor->err_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
if( pfd[1].revents & POLLIN ) { len = read( console_monitor->out_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); } } } @@ -223,7 +223,7 @@ //fflush( NULL );
if( fgets( buf, BUF_SIZE, f ) ) - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
#endif /* __PLATFORM_WIN32__ */ diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp --- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 @@ -366,7 +366,7 @@ sizer->Add( logo, 0, wxALL | wxALIGN_CENTER, 10 );
wxString copystring; - copystring.Printf( MA_ABOUT, MA_VERSION, CK_VERSION ); + copystring.Printf( wxString(MA_ABOUT, wxConvUTF8), MA_VERSION, CK_VERSION ); copystring.Prepend( _T( "miniAudicle\n" ) ); wxStaticText * copytext = new wxStaticText( &about_dialog, wxID_ANY, copystring, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp --- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 @@ -179,7 +179,7 @@
ma->run_code( code, name, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -191,7 +191,7 @@
ma->remove_code( cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -203,7 +203,7 @@
ma->replace_code( code, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status( result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 @@ -83,7 +83,7 @@ wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); + vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); @@ -220,27 +220,27 @@ now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u", + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ), now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
- temp = wxString::Format( "%s", status.list[i]->name.c_str() ); + temp = wxString(status.list[i]->name.c_str(), wxConvUTF8); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) );
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste? Cédric Krier On 28/07/06 21:24 +0400, Vassili Slessarenko wrote:
Hey,
I can't seem to be able to use the patch... just get:
patch --verbose --dry-run -p1 < patch1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 -------------------------- Patching file wxw/mAConsoleMonitor.cpp using Plan A... Hunk #1 FAILED at 203. Hunk #2 FAILED at 223. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAConsoleMonitor.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp |--- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 -------------------------- Patching file wxw/mAParentFrame.cpp using Plan A... Hunk #1 FAILED at 366. 1 out of 1 hunk FAILED -- saving rejects to file wxw/mAParentFrame.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp |--- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 -------------------------- Patching file wxw/mAView.cpp using Plan A... Hunk #1 FAILED at 179. Hunk #2 FAILED at 191. Hunk #3 FAILED at 203. 3 out of 3 hunks FAILED -- saving rejects to file wxw/mAView.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 -------------------------- Patching file wxw/mAVMMonitor.cpp using Plan A... Hunk #1 FAILED at 83. Hunk #2 FAILED at 220. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAVMMonitor.cpp.rej Hmm... Ignoring the trailing garbage. done
**********************************************************************************
Looking at one of the files though this is what I get:
cat wxw/mAVMMonitor.cpp.rej *************** *** 83,89 **** wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); --- 83,89 ---- wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
+ vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); *************** *** 220,246 **** now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u",
now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
- temp = wxString::Format( "%s", status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) ); --- 220,246 ---- now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ),
now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
+ temp = wxString::Format( _T( "%s" ), status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) );
I'm not particularly good at understanding compile and patch errors... so figured this might help you see where the problem is.
Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
Cédric
------------------------------------------------------------------------
diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 @@ -203,14 +203,14 @@ { len = read( console_monitor->err_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
if( pfd[1].revents & POLLIN ) { len = read( console_monitor->out_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); } } } @@ -223,7 +223,7 @@ //fflush( NULL );
if( fgets( buf, BUF_SIZE, f ) ) - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
#endif /* __PLATFORM_WIN32__ */ diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp --- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 @@ -366,7 +366,7 @@ sizer->Add( logo, 0, wxALL | wxALIGN_CENTER, 10 );
wxString copystring; - copystring.Printf( MA_ABOUT, MA_VERSION, CK_VERSION ); + copystring.Printf( wxString(MA_ABOUT, wxConvUTF8), MA_VERSION, CK_VERSION ); copystring.Prepend( _T( "miniAudicle\n" ) ); wxStaticText * copytext = new wxStaticText( &about_dialog, wxID_ANY, copystring, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp --- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 @@ -179,7 +179,7 @@
ma->run_code( code, name, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -191,7 +191,7 @@
ma->remove_code( cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -203,7 +203,7 @@
ma->replace_code( code, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status( result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 @@ -83,7 +83,7 @@ wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); + vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); @@ -220,27 +220,27 @@ now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u", + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ), now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
- temp = wxString::Format( "%s", status.list[i]->name.c_str() ); + temp = wxString(status.list[i]->name.c_str(), wxConvUTF8); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) );
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Here are all the *.rej files actually attahced. Cedric Krier wrote:
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste?
Cédric Krier
On 28/07/06 21:24 +0400, Vassili Slessarenko wrote:
Hey,
I can't seem to be able to use the patch... just get:
patch --verbose --dry-run -p1 < patch1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 -------------------------- Patching file wxw/mAConsoleMonitor.cpp using Plan A... Hunk #1 FAILED at 203. Hunk #2 FAILED at 223. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAConsoleMonitor.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp |--- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 -------------------------- Patching file wxw/mAParentFrame.cpp using Plan A... Hunk #1 FAILED at 366. 1 out of 1 hunk FAILED -- saving rejects to file wxw/mAParentFrame.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp |--- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 -------------------------- Patching file wxw/mAView.cpp using Plan A... Hunk #1 FAILED at 179. Hunk #2 FAILED at 191. Hunk #3 FAILED at 203. 3 out of 3 hunks FAILED -- saving rejects to file wxw/mAView.cpp.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp |--- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 |+++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 -------------------------- Patching file wxw/mAVMMonitor.cpp using Plan A... Hunk #1 FAILED at 83. Hunk #2 FAILED at 220. 2 out of 2 hunks FAILED -- saving rejects to file wxw/mAVMMonitor.cpp.rej Hmm... Ignoring the trailing garbage. done
**********************************************************************************
Looking at one of the files though this is what I get:
cat wxw/mAVMMonitor.cpp.rej *************** *** 83,89 **** wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); --- 83,89 ---- wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
+ vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); *************** *** 220,246 **** now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u",
now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
- temp = wxString::Format( "%s", status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) ); --- 220,246 ---- now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ),
now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
+ temp = wxString::Format( _T( "%s" ), status.list[i]->name.c_str() ); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) );
I'm not particularly good at understanding compile and patch errors... so figured this might help you see where the problem is.
Cedric Krier wrote:
Here is a new patch for the unicode issue. It fix the UTF error messages. But I find an other bug. It happens when you try to close a file and there is more than one file open.
Cédric
------------------------------------------------------------------------
diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200 @@ -203,14 +203,14 @@ { len = read( console_monitor->err_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
if( pfd[1].revents & POLLIN ) { len = read( console_monitor->out_fd, buf, BUF_SIZE-1 ); buf[len] = 0; - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); } } } @@ -223,7 +223,7 @@ //fflush( NULL );
if( fgets( buf, BUF_SIZE, f ) ) - console_monitor->text->AppendText( _T( buf ) ); + console_monitor->text->AppendText( wxString(buf, wxConvUTF8) ); }
#endif /* __PLATFORM_WIN32__ */ diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp --- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200 @@ -366,7 +366,7 @@ sizer->Add( logo, 0, wxALL | wxALIGN_CENTER, 10 );
wxString copystring; - copystring.Printf( MA_ABOUT, MA_VERSION, CK_VERSION ); + copystring.Printf( wxString(MA_ABOUT, wxConvUTF8), MA_VERSION, CK_VERSION ); copystring.Prepend( _T( "miniAudicle\n" ) ); wxStaticText * copytext = new wxStaticText( &about_dialog, wxID_ANY, copystring, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE ); diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp --- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200 @@ -179,7 +179,7 @@
ma->run_code( code, name, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -191,7 +191,7 @@
ma->remove_code( cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status(result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } @@ -203,7 +203,7 @@
ma->replace_code( code, cid, cgid, result );
- wxString status( _T( result.c_str() ) ); + wxString status( result.c_str(), wxConvUTF8);
frame->SetStatusText( status ); } diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp --- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200 +++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200 @@ -83,7 +83,7 @@ wxSize( 250, 300 ), wxSUNKEN_BORDER ); sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" ); + vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) ); sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
grid->CreateGrid( 0, 4 ); @@ -220,27 +220,27 @@ now = ( time_t ) ( status.now_system / status.srate ); if( now != last_now ) { - time_counter->SetLabel( wxString::Format( "running time: %u:%02u", + time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ), now / 60, now % 60 ) ); last_now = now; }
if( num_shreds != last_num_shreds ) { - shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) ); + shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) ); last_num_shreds = num_shreds; }
for( int i = 0; i < num_shreds; i++ ) { - temp = wxString::Format( "%u", status.list[i]->xid ); + temp = wxString::Format( _T( "%u" ), status.list[i]->xid ); grid->SetCellValue( i, 0, temp );
- temp = wxString::Format( "%s", status.list[i]->name.c_str() ); + temp = wxString(status.list[i]->name.c_str(), wxConvUTF8); grid->SetCellValue( i, 1, temp );
age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate ); - temp = wxString::Format( "%u:%02u", age / 60, age % 60 ); + temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 ); grid->SetCellValue( i, 2, temp );
grid->SetCellValue( i, 3, _T( "-" ) );
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
and while we are on topic of the version numbers I'm using: gcc 4.0.3 bison 2.1 flex 2.5.31 wxWidgets 2.6.1 sndfile 1.0.12 patch 2.5.9 think that's a pretty extensive list... Vassili Slessarenko wrote:
Here are all the *.rej files actually attahced.
Cedric Krier wrote:
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste?
I really don't see why the patch doesn't work for you. You can make the change yourself by editing each files? Or if you will I can send you a tgz with my modification? Cédric Krier On 28/07/06 22:21 +0400, Vassili Slessarenko wrote:
and while we are on topic of the version numbers I'm using:
gcc 4.0.3 bison 2.1 flex 2.5.31 wxWidgets 2.6.1 sndfile 1.0.12 patch 2.5.9
think that's a pretty extensive list...
Vassili Slessarenko wrote:
Here are all the *.rej files actually attahced.
Cedric Krier wrote:
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste?
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
A patched tgz would be excellent. what patch version is everyone using? what I have right now are the bog standard packages that come from the ubuntu official repositories... so I really don't see where the problem is. Cedric Krier wrote:
I really don't see why the patch doesn't work for you. You can make the change yourself by editing each files? Or if you will I can send you a tgz with my modification?
Cédric Krier
On 28/07/06 22:21 +0400, Vassili Slessarenko wrote:
and while we are on topic of the version numbers I'm using:
gcc 4.0.3 bison 2.1 flex 2.5.31 wxWidgets 2.6.1 sndfile 1.0.12 patch 2.5.9
think that's a pretty extensive list...
Vassili Slessarenko wrote:
Here are all the *.rej files actually attahced.
Cedric Krier wrote:
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste?
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
i did it by compiling wxwidgets myself (debian unstable), but i have no sound (linux-alsa). chuck as such works perfectly. + am i right in thinking that chuck doesn't function (yet) in a 64bit environment? it compiles, but segfaults. m Cedric Krier schreef:
I really don't see why the patch doesn't work for you. You can make the change yourself by editing each files? Or if you will I can send you a tgz with my modification?
Cédric Krier
On 28/07/06 22:21 +0400, Vassili Slessarenko wrote:
and while we are on topic of the version numbers I'm using:
gcc 4.0.3 bison 2.1 flex 2.5.31 wxWidgets 2.6.1 sndfile 1.0.12 patch 2.5.9
think that's a pretty extensive list...
Vassili Slessarenko wrote:
Here are all the *.rej files actually attahced.
Cedric Krier wrote:
Can you sent wxw/mAConsoleMonitor.cpp.rej in attachement instead of a copy/paste?
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
------------------------------------------------------------------------
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
+ am i right in thinking that chuck doesn't function (yet) in a 64bit environment? it compiles, but segfaults.
wondering this as well. as i switched directly from win32 to linux-amd64, and remember getting the mandolin example to play once, and see in the 1.1.4.8 changelog: "corrected more issues on some 64-bit systems", and some of the examples will run without crashing (eg time/arrays), i think theres some degree of planning for 64bit compatiblity in the original design (unlike say, Pure-Data or SuperCollider).. a few odd looking things - 0x0, and some of those <self>s should probably be pointer size - (not a scientist).. m stereo # gdb chuck (gdb) set args curly2.ck (gdb) run Starting program: /usr/bin/chuck curly2.ck Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47838618508944 (LWP 3022)] 0x00000000004cbcde in impulse_ctor (SELF=0x0, ARGS=<value optimized out>) at ugen_xxx.cpp:1018 1018 OBJ_MEMBER_UINT( SELF, impulse_offset_data ) = (t_CKUINT)new Pulse_Data; (gdb) where #0 0x00000000004cbcde in impulse_ctor (SELF=0x0, ARGS=<value optimized out>) at ugen_xxx.cpp:1018 #1 0x00000000004163d5 in Chuck_Instr_Func_Call_Member::execute (this=0x6d4670, vm=<value optimized out>, shred=0x869d30) at chuck_instr.cpp:2271 #2 0x0000000000411d6a in Chuck_VM::compute (this=0x6d9770) at chuck_vm.cpp:1416 #3 0x0000000000411fac in Chuck_VM::run (this=0x6d9770) at chuck_vm.cpp:555 #4 0x0000000000454aff in main (argc=2, argv=0x7fff5fc1be28) at chuck_main.cpp:621 i suppose its just some kind of bug :)
Hi!
+ am i right in thinking that chuck doesn't function (yet) in a 64bit environment? it compiles, but segfaults.
This is correct, chuck is not yet supported in true 64-bit (on 64-bit machines chuck can run in 32-bit mode if available but that's it). There are some provisions in the code for 64-bit compatibility, but I am quite certain they aren't enough. We very much hope to support 64-bit platforms as well, and have it on the TODO list.
a few odd looking things - 0x0, and some of those <self>s should probably be pointer size - (not a scientist)..
Thanks for the stack trace. You are right on, the main problems have to do with pointer/'int size assumptions (in the emitter and vm instructions). Most of them might be straightforward to fix - but requires a good deal of testing. At any rate, we definitely hope to resolve the 64-bit issue.
i suppose its just some kind of bug :)
I think chuck _is_ the bug! Best, Ge!
Just confirming that this patch gets miniAudicle working well for me on
a relatively clean CCRMA/FC5 install (i.e. fc5 versions of gcc 4.1.1,
wxGTK 2.6.3, etc.). No more seg faults and sound works correctly if I
simlink to my local installation of chuck-1.2.0.6. Sound doesn't work on
the 1.2.0.6 that comes with miniAudicle for some reason (perhaps some
problem with the makefile? I use jack, btw).
Anyways, THANK YOU for miniAudicle-- even though emacs chuck-mode is
useful, the ease of removing/reshredding in miniAudicle is a big
improvement. Looking forward to future improvements!
-Scott
p.s. minor quibble-- removing the carriage returns in the miniAudicle
code would make it more legible to most linux folk. this can be done
with a simple search/replace in emacs. Thanks again!
On Fri, 28 Jul 2006 18:36:38 +0200, "Cedric Krier"
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow
Scott Davidson wrote:
No more seg faults and sound works correctly if I simlink to my local installation of chuck-1.2.0.6.
Before you make miniAudicle, right? Doesn't change anything for me, still no sound. BTW: I use "make linux-alsa"... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
On Jul 28, 2006, at 7:16 PM, Scott Davidson wrote:
Just confirming that this patch gets miniAudicle working well for me on a relatively clean CCRMA/FC5 install (i.e. fc5 versions of gcc 4.1.1, wxGTK 2.6.3, etc.). No more seg faults and sound works correctly if I simlink to my local installation of chuck-1.2.0.6. Sound doesn't work on the 1.2.0.6 that comes with miniAudicle for some reason (perhaps some problem with the makefile? I use jack, btw).
Thats strange, the chuck-1.2.0.6 packaged with miniAudicle is exactly the same as the release distribution. Ill investigate...
Anyways, THANK YOU for miniAudicle-- even though emacs chuck-mode is useful, the ease of removing/reshredding in miniAudicle is a big improvement. Looking forward to future improvements!
Youre welcome! Glad you could get it working.
-Scott
p.s. minor quibble-- removing the carriage returns in the miniAudicle code would make it more legible to most linux folk. this can be done with a simple search/replace in emacs. Thanks again!
I despise carriage returns with a passion. Sadly gedit (which ive been trying out lately) apparently doesnt display them, so I couldnt tell that they were there. Ill squash them for the next release...
On Fri, 28 Jul 2006 18:36:38 +0200, "Cedric Krier"
said: _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Cedric Krier wrote:
Here is a new patch for the unicode issue.
Thanks. With this patch I had sound for the first time, namely zerox.ck (but maybe that also worked before, didn't try with the first patch). However this it the only one of the examples (didn't try them all) that reproduces any sound. Two other things (have also added them to the wiki): 1) CTRL-x doesn't do anything here. Maybe this key binding is standard on mac, but on Linux CTRL-o is the most common key binding for "open file". 2) It seems it's not possible to call miniAudicle with any command line options. I guess it should possible to use the same options as with regular chuck, or...? -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
On Jul 28, 2006, at 3:16 PM, mik wrote:
i did it by compiling wxwidgets myself (debian unstable), but i have no sound (linux-alsa). chuck as such works perfectly.
On Jul 28, 2006, at 7:57 PM, Atte André Jensen wrote:
Thanks. With this patch I had sound for the first time, namely zerox.ck (but maybe that also worked before, didn't try with the first patch). However this it the only one of the examples (didn't try them all) that reproduces any sound.
mik, Atte, If you havent already, try removing the symlink to the chuck directory within the miniAudicle distribution, and replacing it with a symlink to the chuck directory that came from the chuck website. The problem could also be that the default virtual machine parameters supplied by miniAudicle dont mesh well with your system. What command line arguments, if any, do you typically pass to chuck?
Two other things (have also added them to the wiki):
1) CTRL-x doesn't do anything here. Maybe this key binding is standard on mac, but on Linux CTRL-o is the most common key binding for "open file".
Thats a bug that has been fixed for the next release--Ctrl-X should definitely be bound to Cut, and Ctrl-O to open file.
2) It seems it's not possible to call miniAudicle with any command line options. I guess it should possible to use the same options as with regular chuck, or...?
Nope, not at the moment. Within the next release or two will be a GUI preferences mechanism by which you can specify common options such as dac/adc, sample rate, channels, buffer size, etc., but a complementary command line interface is also a good idea. Thanks for your input! spencer
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar wrote:
mik, Atte, If you havent already, try removing the symlink to the chuck directory within the miniAudicle distribution, and replacing it with a symlink to the chuck directory that came from the chuck website.
I tried that, still no sound...
The problem could also be that the default virtual machine parameters supplied by miniAudicle dont mesh well with your system. What command line arguments, if any, do you typically pass to chuck?
--bufsize128
1) CTRL-x doesn't do anything here. Maybe this key binding is standard on mac, but on Linux CTRL-o is the most common key binding for "open file".
Thats a bug that has been fixed for the next release--Ctrl-X should definitely be bound to Cut, and Ctrl-O to open file.
Great.
2) It seems it's not possible to call miniAudicle with any command line options. I guess it should possible to use the same options as with regular chuck, or...?
Nope, not at the moment. Within the next release or two will be a GUI preferences mechanism by which you can specify common options such as dac/adc, sample rate, channels, buffer size, etc.,
Oh, yeah, realtime wouldn't be possible without that...
but a complementary command line interface is also a good idea.
I normally load a whole bunch of .ck files in the initial call to chuck, I'd like to be able to do the same with miniAudicle. Since I haven't really played with it yet, maybe you shouldn't consider this a feature request just yet, but a mechanism for sporking and removing several files at once would also be very good. -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Atte, One other thing to try: does writing audio to a sndbuf work? That could help determine whether this is a chuck-wide problem or just an rtaudio/alsa problem. The default buffer size on Linux is 512, if you think this could be a problem and you are willing to do some minor hacking you could add #undef BUFFER_SIZE_DEFAULT #define BUFFER_SIZE_DEFAULT 128 to the top of miniAudicle.cpp and recompile. Im not sure how much this could help, but it might be worth a shot. The next release (coming early next week) will allow adjustable verbosity of the console log, and also the ability to specify virtual machine options through the command line or ~/.miniAudicle, in addition to fixes for many of the compile/run-time bugs discussed in this thread. Hopefully if we can get more information out of the virtual machine this way, it will be easier to debug. also it will be easier to do fine tuning without a recompile. So you could also wait until that release. spencer On Jul 29, 2006, at 3:20 AM, Atte André Jensen wrote:
Spencer Salazar wrote:
mik, Atte, If you havent already, try removing the symlink to the chuck directory within the miniAudicle distribution, and replacing it with a symlink to the chuck directory that came from the chuck website.
I tried that, still no sound...
The problem could also be that the default virtual machine parameters supplied by miniAudicle dont mesh well with your system. What command line arguments, if any, do you typically pass to chuck?
--bufsize128
1) CTRL-x doesn't do anything here. Maybe this key binding is standard on mac, but on Linux CTRL-o is the most common key binding for "open file".
Thats a bug that has been fixed for the next release--Ctrl-X should definitely be bound to Cut, and Ctrl-O to open file.
Great.
2) It seems it's not possible to call miniAudicle with any command line options. I guess it should possible to use the same options as with regular chuck, or...?
Nope, not at the moment. Within the next release or two will be a GUI preferences mechanism by which you can specify common options such as dac/adc, sample rate, channels, buffer size, etc.,
Oh, yeah, realtime wouldn't be possible without that...
but a complementary command line interface is also a good idea.
I normally load a whole bunch of .ck files in the initial call to chuck, I'd like to be able to do the same with miniAudicle. Since I haven't really played with it yet, maybe you shouldn't consider this a feature request just yet, but a mechanism for sporking and removing several files at once would also be very good.
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar wrote:
One other thing to try: does writing audio to a sndbuf work?
I never tried writing to sndbuf before, and couldn't find a quick pointer in the doc. I tried this (in chuck, not mA), but it didn't work: sinosc s => sndbuf buf; "t.raw" => buf.write; 1::second => now; and also: sinosc s => sndbuf buf; "t.wav" => buf.write; now + 1::second => time later; 0 => int i; while(now < later){ i => buf.pos; i++; 1::samp => now; } Could you supply a sniplet that would record to sndbuf? I'd be most happy to test it! -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
I never tried writing to sndbuf before, and couldn't find a quick pointer in the doc. I tried this (in chuck, not mA), but it didn't work:
sinosc s => sndbuf buf; "t.raw" => buf.write; 1::second => now;
Oh yeah, the sndbuf write doesn't work yet. Try using WvOut: sinosc s => WvOut w => blackhole; "t.wav" => w.wavFilename; 1::second => now; note the blackhole. If you want to hear the thing: sinosc s => dac => WvOut w => blackhole; "t.wav" => w.wavFilename; 1::second => now; More documentation on recording: http://wiki.cs.princeton.edu/index.php/ChucK/Record Best, Ge!
Ge Wang wrote:
sinosc s => WvOut w => blackhole; "t.wav" => w.wavFilename; 1::second => now;
Ok this produces a nice sine both from chuck and miniAudicle. -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Cool--did you get a chance to try resizing the buffer for real time audio? spencer On Jul 29, 2006, at 5:23 PM, Atte André Jensen wrote:
Ge Wang wrote:
sinosc s => WvOut w => blackhole; "t.wav" => w.wavFilename; 1::second => now;
Ok this produces a nice sine both from chuck and miniAudicle.
-- peace, love & harmony Atte
http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/ compositions _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Spencer Salazar wrote:
Cool--did you get a chance to try resizing the buffer for real time audio?
No. It's not really that necessary right now since 1) I don't have audio anyways, 2) it seems this should be adjustable from miniAudicle/rc-file/command line soon and 3) I trust that changing the default buffer size directly in mA code do exactly what you say :-) -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
Vassili Slessarenko wrote:
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
You should apply the patch send by Cedric yesterday. If you're unfamiliar with patching software here's a quick how-to 1) save the patch somewhere on your computer 2) cd to the directory miniAudicle-0.1.3.3 3) run "patch --dry-run -p1 < path_to_patch" if 3) doesn't complain, but just says "patched this-and-that file" do 4) "patch -p1 < path_to_patch" -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
cheers... it just seems that I subbed a bit too late to catch those e-mails... sorry to bring it all up again :) and thanks for reminding me on how to patch stuff... rarely get to do that these days, especially after having ditched slackware for ubuntu :) Atte André Jensen wrote:
Vassili Slessarenko wrote:
can't seem to figure this out. Have installed all the needed wxWidgets libraries in Ubuntu. but I keep on getting this:
You should apply the patch send by Cedric yesterday. If you're unfamiliar with patching software here's a quick how-to
1) save the patch somewhere on your computer 2) cd to the directory miniAudicle-0.1.3.3 3) run "patch --dry-run -p1 < path_to_patch"
if 3) doesn't complain, but just says "patched this-and-that file" do
4) "patch -p1 < path_to_patch"
Vassili Slessarenko wrote:
and thanks for reminding me on how to patch stuff... rarely get to do that these days, especially after having ditched slackware for ubuntu :)
Sorry if you know that already, just trying to save you a few steps... -- peace, love & harmony Atte http://www.atte.dk | quartet: http://www.anagrammer.dk http://www.atte.dk/gps | compositions: http://www.atte.dk/compositions
participants (11)
-
Atte André Jensen
-
Bradford Garton
-
carmen
-
Cedric Krier
-
Ge Wang
-
mik
-
mike clemow
-
Scott Davidson
-
Spencer Salazar
-
Tyler Gillies
-
Vassili Slessarenko