|
From: | António Saragga Seabra |
Subject: | [Linphone-developers] Build failed with CVS Linphone sources |
Date: | Mon, 7 May 2007 14:38:45 +0100 |
Hello!
I’m trying to compile Linphone and got the following issue while compiling Mediastreamer2 with MSVC++ (using Linphone CVS sources):
... Generating Code... Compiling manifest to resources... Linking...
Creating library Debug/mediastreamer2.lib and object Debug/mediastreamer2.exp mscommon.obj : error LNK2001: unresolved external symbol _ms_volume_desc libtheora.a(libtheora_la-encoder_toplevel.o) : error LNK2001: unresolved external symbol ___divdi3 Debug/mediastreamer2.dll : fatal error LNK1120: 2 unresolved externals mediastreamer2 - 3 error(s), 36 warning(s) I’m using Libogg-1.1.3, libtheora-1.0alpha7, and ffmpeg-SVN and they were compiled with GCC. Bellow is my Include and Linker MSVC++ command path.
Any guidance would be greatly appreciated. Antonio. Linker command path in MSVC++ is: /OUT:"Debug/mediastreamer2.dll" /INCREMENTAL /NOLOGO /LIBPATH:"..\..\..\codecs\libresample\win\\" /LIBPATH:"..\..\..\win32-bin\lib" /LIBPATH:"..\..\..\oRTP\build\win32native\debug" /LIBPATH:"..\..\..\codecs\speex\win32\VS2005\libspeex\Debug" /LIBPATH:"F:\linphone\codecs\ffmpeg\lib" /LIBPATH:"F:\linphone\codecs\theora\lib" /LIBPATH:"C:\msys\mingw\lib\gcc\mingw32\3.4.5" /DLL /MANIFEST /MANIFESTFILE:"Debug\mediastreamer2.dll.intermediate.manifest" /NODEFAULTLIB /DEF:"mediastreamer2.def" /DEBUG /PDB:"Debug/mediastreamer2.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/mediastreamer2.lib" /MACHINE:X86 /ERRORREPORT:PROMPT libresampled.lib libtheora.a vfw32.lib avcodec-51.lib Ws2_32.lib Winmm.lib ortp.lib libspeex.lib libcmtd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib Include command path in MSVC++ is: /Od /I "..\..\..\codecs\libresample\include" /I "..\..\..\portaudio\include" /I "..\..\..\win32-bin\include" /I "." /I "..\..\..\mediastreamer2\include" /I "..\..\..\oRTP\include" /I "..\..\..\codecs\speex\include" /I "..\..\..\codecs\gsm\inc" /I "F:\linphone\codecs\ffmpeg\include" /I "F:\linphone\codecs\theora\include" /I "F:\linphone\C99" #inttypes.h and stdint.h header files /I "F:\linphone\codecs\ogg\include" /D "EMULATE_INTTYPES" /D "AMD_HACK" /D "CONF_GRAN_MAX=4" /D "HAVE_SPEEX_NOISE" /D "ICE_TEST" /D "ORTP_INET6" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "MEDIASTREAMER2_EXPORTS" /D "WINDOW_NATIVE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /Gm /EHsc /RTC1 /MTd /Fo"Debug\\" /Fd"Debug/libmediastreamer2.pdb" /W3 /nologo /c /ZI /TP /errorReport:prompt |
[Prev in Thread] | Current Thread | [Next in Thread] |