Am Dienstag, den 08.05.2007, 09:51 +0200 schrieb Tiziano_mk:
> for mark:
> I am not a Linux user, sorry. All that seems too complex to me, but I'll
> try to investigate :-)
What I wrote is pretty easy, I wish Windows has something like this in
the base system - ever had a missing .DLL and window
Marco van de Voort wrote:
Ok, I'll try that, thanks. But the same problem could happen in other
PCs where my program could be deployed...
Yes and no.
No: It will probably add a dependancy to libsndfile.so.1 (not .so
or .so.1.0.12). And that is installed.
Yes: the library must be present, an
Am Montag, den 07.05.2007, 10:01 +0200 schrieb Tiziano_mk:
> Marco van de Voort wrote:
> >> On Linux I found only the sndfile unit (packages\extra\sndfile\).
> >>
> >> This require the presence of sndlife library on the distribution.
> >>
> >> In my PC I have Ubuntu 6.06 with libsndfile installed (
> >
> >> /usr/lib/libsndfile.so.1.0.12
> >> /usr/lib/libsndfile.so.1
> >
> > Your Linux system is not properly configured for libsndfile development.
> neither for other kind of develpment libraries (ncurses, sqlite, etc,
> etc) indeed.
> Each time I try something that needs a link to a library
> > A -lxxx searches for libxxx.so only, not for variants. Create symlinks if
> > necessary or try to install packages that might create symlinks (like
> > -dev packages on RedHat)
Ubuntu also has x-dev packages. apt-get install lbsndfile1-dev should fix your
problem without need to tinker.
>
> O
Marco van de Voort wrote:
On Linux I found only the sndfile unit (packages\extra\sndfile\).
This require the presence of sndlife library on the distribution.
In my PC I have Ubuntu 6.06 with libsndfile installed (dynamic library
only):
/usr/lib/libsndfile.so.1.0.12
/usr/lib/libsndfile.so.1
> On Linux I found only the sndfile unit (packages\extra\sndfile\).
>
> This require the presence of sndlife library on the distribution.
>
> In my PC I have Ubuntu 6.06 with libsndfile installed (dynamic library
> only):
>
> /usr/lib/libsndfile.so.1.0.12
> /usr/lib/libsndfile.so.1
Your Linux
The real question is "How to play a sound file on Linux in the same way
I can do it on windows?".
this is my experience:
On Windows I do:
uses mmsystem
...
sndPlaySound('filename.wav',0);
...
and it works gracefully.
On Linux I found only the sndfile unit (packages\extra\sndfile\).
This