GNOME Bugzilla – Bug 789827
libgmp.dll.a windows static library is corrupt
Last modified: 2018-11-03 12:42:39 UTC
When linking an palyback-tutorial-4 application against static gstreamer libraries it is necessary to add libgmp.dll.a as a dependency, since it defines the "_gnu_exception_handler" and "___chkstk_ms" symbols. However attempt to add it to the list of additional dependencies results in a build error: >C:\gstreamer\1.0\x86_64\\lib\libgmp.dll.a : fatal error LNK1107: invalid or corrupt file: cannot read at 0x480 Platform: Windows 7 Developemnt environment: Visual Studio 10 Profeccianal Linker command line: /OUT:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\gstreamer\1.0\x86_64\\lib\" "libgstreamer-1.0.a" "libgmodule-2.0.dll.a" "libgobject-2.0.dll.a" "libglib-2.0.dll.a" "libintl.a" "libwinpthread.a" "libgmp.dll.a" "ws2_32.lib" "msvcrt.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" /MANIFEST /ManifestFile:"x64\Debug\playback.exe.intermediate.manifest" /ALLOWISOLATION /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.pdb" /SUBSYSTEM:CONSOLE /PGD:"C:\Users\demindm\Sandbox\GStreamer\tutorials\vs2010\playback-tutorial-4\playback\x64\Debug\playback.pgd" /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ERRORREPORT:QUEUE
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/251.