sw55555 / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
1 stars 0 forks source link

Problems compiling with mingw-w64 #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by Igor.Yav...@gmail.com on 5 Apr 2013 at 2:23

Attachments: