error building libsndfile (WindowsXP)

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
JickDuck
Newbie
Posts: 17
Joined: Tue Apr 20, 2010 10:17 pm

error building libsndfile (WindowsXP)

Post by JickDuck » Sun Oct 17, 2010 4:24 am

Hi all,
I was trying to compile Linuxsampler from CVS, but I got stuck at libsndfile.
I installed mingw-get-inst-20100909.exe and selected options which automatically downloaded and installed msys and all the required msys and MinGW files. Some of those files where later versions than what is stated in the tutorial here http://linuxsampler.org/msys.html
I followed all the other instructions in the tutorial
SQlite built fine but here where my results while trying to build libsndfile:

The last part shown during “configure”:--------------------------------------------------------------------------------------------checking for pkg-config... /c/Program Files/gtkmm/bin/pkg-config
checking pkg-config is at least version 0.9.0... ./configure: line 17394: /c/Pro
gram: No such file or directory
no

_____________________
And then during “make”:
____________________________



C:\MinGW\bin\windres.exe: unrecognized option `--shave-mode=compile'
Usage: C:\MinGW\bin\windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input=<file> Name input file
-o --output=<file> Name output file
-J --input-format=<format> Specify input format
-O --output-format=<format> Specify output format
-F --target=<target> Specify COFF target
--preprocessor=<program> Program to use to preprocess rc file
-I --include-dir=<dir> Include directory when preprocessing rc file
-D --define <sym>[=<val>] Define SYM when preprocessing rc file
-U --undefine <sym> Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-c --codepage=<codepage> Specify default codepage
-l --language=<val> Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
@<file> Read options from <file>
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
C:\MinGW\bin\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-l
ittle elf32-big srec symbolsrec verilog tekhex binary ihex
make[3]: *** [version-metadata.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Does anyone know what the problem is?
Last edited by JickDuck on Wed Oct 27, 2010 7:49 am, edited 1 time in total.

JickDuck
Newbie
Posts: 17
Joined: Tue Apr 20, 2010 10:17 pm

Re: error building libsndfile

Post by JickDuck » Tue Oct 26, 2010 2:55 am

O.K.

The first problem was that I installed gtkmm to "c:\Program files", which has a space in the path. MinGW doesn't like this so I installed gtkmm directly to C: (c:\gtkmm).

The second problem is that I tried to compile libsndfile-1.0.23 instead of libsndfile-1.0.21. Compiling libsndfile-1.0.21 works without any problems.

Andreas
Developer
Posts: 214
Joined: Sun Feb 03, 2008 8:33 am

Re: error building libsndfile (WindowsXP)

Post by Andreas » Sat Feb 05, 2011 1:57 pm

You can use libsndfile 1.0.23 if you add "--disable-shave" to the configure options.

Post Reply