Re: Building under MSVC & MinGW

Tristan Matthews <[email protected]> Tue, 21 Oct 2014 17:33:53 -0400
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <CAN8HRDk505PaT9WVzupwSSUYRveSxWxmq0-B-dT0dj_fJd-eYg@mail.gmail.com>
Hi,

On Sat, Sep 20, 2014 at 1:12 PM, Brendan Grant <[email protected]> wrote:

>  I am attempting to build the RC1 drop of libspeex for Windows with the
> MSVC toolchain (VS2013) and MinGW, the following is my configure line:
>
>
>
> CC=cl.exe CFLAGS=-MD ./configure --enable-shared=no --prefix
> /builds/Windows81/x86 --host i686-pc-mingw32
>
>
>
> During the configure process (specifically the "checking whether the C
> compiler works...") I get a Windows popup telling me that the test program
> cannot started because it is missing msvcr12_app.dll (which is ok given the
> way store apps work), and closing the error and the resulting crash dialog
> allows configure to complete seemingly normally.
>
>
>
> When I kick off the make things appear to proceed along for a while with a
> linking failure at the end of:
>
>
>
> LINK : fatal error LNK1181: cannot open input file 'cb_search.obj'
>
>
>
> Nothing really stands out about the building of cb_search.obj... other than
> the fact there are no obj files anywhere in the directory which makes me
> suspect that nothing at all was built, yet nothing in the attached big log
> screams to me as having those kinds of issues.
>

cb_search.obj is just the first in the list, you would probably get the
same error for the subsequent obj files.


>
>
> For note, this same MinGW+VS2013 environment and very similar args were
> able to configure & build libogg just fine earlier... so I'm left puzzled as
> to what could be wrong here.
>
>
>
> Any ideas?
>

From your attached build log, this error jumps out at me:


../libtool: line 1231: cygpath: command not found

You need to put cygpath in your PATH. This might also be why configure
is failing.

Best,
Tristan

_______________________________________________
Speex-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/speex-dev