Export to GitHub

mp4v2 - issue #155

Problems compiling with mingw-w64


Posted on Apr 5, 2013 by Happy Kangaroo

Problem 1. Defining #define _USE_32BIT_TIME_T wasn't very clever idea, because on x64 you can't use it. Compiler stops fails at this point. Solved easily by changing it to #define _USE_64BIT_TIME_T. But probably should implement some check for it. Problem 2. compiling still fails with tons of errors like "../src/src/log.cpp:496:1: warning: 'void mp4v2::impl::Log::errorf(const mp4v2::i mpl::Exception&)' redeclared without dllimport attribute: previous dllimport ign ored [-Wattributes] Log::errorf ( const Exception& x )" Problem 3. With archive at site (mp4v2-2.0.0.tar.bz2) impl.h couldn't find libplatform/platform_win32_impl.h simply because it doesn't exist. In rev 501 it exists though. Revision: 501. Environment: mingw-w64 OS: Windows 7 x64 config.log attached for any other potentially useful to you information.

Attachments

Status: New

Labels:
Type-Defect Priority-Medium