Hi Frank,

As I see it, you didn't tell gcc that libsndfile-1.dll should be treated as
a dynamic library. Since you didn't use the "-l" option, gcc assumes that
libsndfile-1.dll is a plain-text source code file. Since it is a binary
file, not a plain-text file, gcc has trouble processing it.

A first reference for you to solve this problem may be
https://stackoverflow.com/questions/17968801/link-against-a-windows-dll-lib-file-combination-with-gcc-under-cygwin/34902737#34902737
.


Good luck,

Matthias

Am So., 29. Nov. 2020 um 08:59 Uhr schrieb Pablo Frank <
[email protected]>:

>
> Hello all,
> when calling libsndfile in windows10 64 bit (installation from mega-nerd)
> I get this message:
>
> libsndfile-1.dll: file not recognized: file format not recognized
> collect2.exe: error: ld returned 1 exit status
>
> The compiler used is MinGW and works fine.
> I didn't find any useful answer with google. what to do?
> Please help!
>
>
>
>
>
>
>

Reply via email to