[Cs-dev] Vista or Bust!
Date | 2009-03-08 23:38 |
From | victor |
Subject | [Cs-dev] Vista or Bust! |
Attachments | None None |
Hi everyone,
My home computer broke down and so I decided to
upgrade.
The new box came with the dreadful Vista, so I had
to adapt
to it. Here are some notes from the journey, in
case anyone
needs:
1. I got mingw/msys. Had to run /postinstall/pi.bat
by hand to
make msys find mingw (the installer script
failed).
2. Managed to build libsndfile without
a problem, but could not install it (/bin/install
does not work),
so I had to copy it by hand.
3. Similar thing with portaudio, except that the build did not
get to the end (but enough so the library was built).
4. Then scons would not pass a stdio.h confidence test,
but adding an empty main() to the
.sconf_test/conftest_0.c
does it.
This builds csound beautifully without a glitch. It
runs, too,
just had a go at trapped.csd.
Problems: some msys programs are problematic,
install.exe
will not pass some security checks in Vista ("User
Account
Control"). When this is turned off, install.exe
just crashes.
This is annoying as 'make install' will fail.
That's about it,
everything else seems to work. I have not tried a
USB audio
device or ASIO, but that's next (provided I can get
the drivers
for the cards I'll try testing).
Regards
Victor
|
Date | 2009-03-08 23:43 |
From | Erik de Castro Lopo |
Subject | Re: [Cs-dev] Vista or Bust! |
victor wrote: > 2. Managed to build libsndfile without > a problem, but could not install it (/bin/install does not work), > so I had to copy it by hand. Is there any reason whay you aren't using the pre-compiled win32 (or win64) binary available on the main libsndfile web site? For the one you built, it is almost certain that you don't have Flac and Ogg/Vorbis capabilities built in. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "XML is not a language in the sense of a programming language any more than sketches on a napkin are a language." -- Charles Simonyi ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-03-09 01:14 |
From | victor |
Subject | Re: [Cs-dev] Vista or Bust! |
No reason, this is what I always do. I suppose I need to get the flac & ogg-vorbis dependencies to build support for these, don't I? I will at some stage, not a critical thing for me. Building libsndfile was actually a good way to check that msys/mingw were setup correctly and worked. Regards Victor ----- Original Message ----- From: "Erik de Castro Lopo" |
Date | 2009-03-09 01:49 |
From | Erik de Castro Lopo |
Subject | Re: [Cs-dev] Vista or Bust! |
victor wrote: > No reason, this is what I always do. I suppose I need to get > the flac & ogg-vorbis dependencies to build support for these, > don't I? Yes, and its a pain. Not all of those build using Mingw and libsndfile can only be built with Mingw. In fact, the only method of compile libsndfile for windows that *I* personally support is to cross compile it from Linux :-). Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "That being done, all you have to do next is call free() slightly less often than malloc(). You may want to examine the Solaris system libraries for a particularly ambitious implementation of this technique." -- Eric O'Dell (comp.lang.dylan) ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-03-10 23:41 |
From | victor |
Subject | Re: [Cs-dev] Vista or Bust! |
Attachments | None None |
Just an update: I managed to 'make install'
packages
in msys/mingw by running the msys shell as
'administrator'.
This solves all problems. I had to edit 'msys.bat'
to give
a full path to sh.exe (or rxvt.exe) otherwise the
check for them
fails. It is also useful to add the msys bin
directory to the windows
path.
Winmme latency is horrible, worse than XP. I have
not yet managed to
use ASIO and see if it works.
Victor
|
Date | 2009-03-11 00:05 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Vista or Bust! |
I've had so many students come to me complaining that the Csound examples I show them in class don't run in Vista without dropouts, it seems terrible. I don't know what to say to them. I can't very well ask them to install XP. All I've manged to do is set there software and hardware buffers to 4096 or something ridiculous like that. It's crazy. As I don't have Vista myself I haven't tried the asio4all driver, maybe you should try it? From what I've heard, in the Pd world at least, it's a whole lot better than anything else. Rory. p.s. I hope you were watching the champions league tonight Victor, Liverpool looked great! 2009/3/10 victor |
Date | 2009-03-11 00:37 |
From | victor |
Subject | Re: [Cs-dev] Vista or Bust! |
Well, after performing major surgery in the configure-generated Makefile fro portaudio I was able to build the asio support. But I got no sound using ASIO4ALL. So I performed further surgery to see if I could build support for MME and ASIO. Now I have a portaudio DLL that does both, but only MME works. I need to plug in a USB soundcard with asio driver (?) to see if I can get sound through it. I must say, it doesn't look good at all. Tell your students to either install Ubuntu or buy a Mac. Victor ----- Original Message ----- From: "Rory Walsh" |
Date | 2009-03-11 10:45 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Vista or Bust! |
To my surprise some of them have already gone down the Ubuntu route. I hope more follow suit. Rory. 2009/3/11 victor |
Date | 2009-03-11 12:15 |
From | "mddemers" |
Subject | Re: [Cs-dev] Vista or Bust! |
Just my little two cents. I run several musical languages (Csound, Pure Data, Nyquist, Faust, CLisp, Super Collider) on two laptops. One under Vista and one under XP. I have not experimented the dropouts you mentioned and I used ASIO4ALL on both laptops. But I agree with you that compiling under Vista is a real «tour de force»... mdd -----Message d'origine----- De : Rory Walsh [mailto:rorywalsh@ear.ie] Envoyé : 11 mars 2009 06:46 À : Developer discussions Objet : Re: [Cs-dev] Vista or Bust! To my surprise some of them have already gone down the Ubuntu route. I hope more follow suit. Rory. 2009/3/11 victor |
Date | 2009-03-11 14:36 |
From | victor |
Subject | Re: [Cs-dev] Vista or Bust! |
It is looking better now. I managed to get portaudio to make a sound through ASIO4All and seem (at least 'on paper') to get good low latency. But, by golly, why MS has to make it so hard? Victor ----- Original Message ----- From: "mddemers" |
Date | 2009-03-11 14:48 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Vista or Bust! |
A common question among my students is 'why do I need to give myself permission to do something?', it's like asking yourself for permission to use the toilet. Even the most mundane of tasks are made hilariously complicated by Vista. I'm staying well clear... 2009/3/11 victor |