Csound Csound-dev Csound-tekno Search About

Re: sndfile.h SConstruct

Date2005-10-24 02:18
FromMichael Gogins
SubjectRe: sndfile.h SConstruct
Compare the literal name, the complete name, in SConstruct and your file system. I have libsndfile-1.dll, which I had to rename from the libsndfile build's libsndfile.dll to match SConstruct.

Another potential problem is that I have set to my literal "C:/blahblah/mingw/blahblah/include" and lib paths in custom.py. This may be affected by how you installed MSYS and mingw.

Hope this helps,
Mike

-----Original Message-----
From: James Hearon 
Sent: Oct 23, 2005 8:20 PM
To: csound@lists.bath.ac.uk
Subject: [Csnd] sndfile.h SConstruct


sndfile.h still not found.  I cleaned one of my machines of all msvc and 
.net.  There's no microsoft c compiler or IDE anywhere around.  Reinstalled 
Msys and MinGW from start as well as other build tools.  Trying to build 
using Msys.  MinGW/bin is in the path.  Csound build still not building on 
windows.  Wondering if somebody could help me trouble shoot this one?  It's 
been the same on three different windows machines, so I must be doing 
something wrong with libsndfile.

from msys and minGW (gcc) using libsndfile srcs:

tar zxf /c/temp/csoundbuild/libsndfile-1.0.11.tar.gz
		cd libsndfile-1.0.11
		./configure
		make
		make check

win32 html documentation states relevant files are:

libsndfile.dll
libsndfile.lib
libsndfile.def
src/sndfile.h

The files I get from using build commands (above):

libsndfile-1.0.11/src
sndfile.h, libsndfile.def

libsndfile-1.0.11/src/.libs
libsndfile-1.dll, libsndfile.dll.a, libsndfile.a

verified sndfile.h produced is current (today)

------------------------------------------
-------------------------------------------
# CUSTOM.PY file

# If libsndfile is not in a standard location add it here:
customCPPPATH.append('c:/temp/csoundbuild/libsndfile-1.0.11/src')
customLIBPATH.append('c:/temp/csoundbuild/libsndfile-1.0.11')
-------------------------------------------
-------------------------------------------
# SConstruct file error reported

System platform is 'win32'.
Build platform is 'mingw'.
SCons tools on this platform:  ['default', 'mingw', 'gcc', 'g++', 'gnulink', 
'ar', 'gas', 'CVS', 'jar', 'javac', 'javah', 'm4', 'rmic', 'swig', 'tar', 
'zip']

CONFIGURATION DECISION: Using single-precision floating point for audio 
samples.
Checking for C header file sndfile.h... no
The sndfile library is required to build Csound 5.


-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk