[Speex-dev] problem with dynamic speex library under windows
illiminable
ogg at illiminable.com
Mon Sep 13 06:01:00 PDT 2004
Chances are those functions are missing from the .def file...
Add the functions to a .def file (without the leading underscore).
There is no .def file in speex, that why you can't link to it... if you just
want it to work with your app... just keep adding functions until it
links... if you want to do it properly... add every public function.
Zen.
----- Original Message -----
From: "Pontus Nyman" <pont at kth.se>
To: <speex-dev at xiph.org>
Sent: Monday, September 13, 2004 8:03 PM
Subject: [Speex-dev] problem with dynamic speex library under windows
> Hello.
>
> I'm having problems with the dynamic library of libspeex under win32. I
> have used the static library for a while with no problems. When I try to
> compile my application with the dynamic library I get the following link
> error:
>
> codec_speex.obj : error LNK2001: unresolved external symbol
> _speex_uwb_mode
> codec_speex.obj : error LNK2001: unresolved external symbol _speex_wb_mode
> codec_speex.obj : error LNK2001: unresolved external symbol _speex_nb_mode
> ..\..\pd\bongo\bongo~.dll : fatal error LNK1120: 3 unresolved externals
>
> It seems as if the three default SpeexMode modes can't be found. I guess
> I'm doing something stupid, but I can't understand what. I'm using Windows
> XP and Microsoft Visual C++ 6.0 if that is of any help. I compile the
> project files for Visual C++ that are included with the speex library when
> I build the static and dynamic library.
>
> Any suggestions?
>
> Pontus
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>
>
>
More information about the Speex-dev
mailing list