dinhminhquoi / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

no static version from vpxenc #775

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello everyone,
in the past I compile vpx always static under msys and mingw-w64 and since some 
days the vpxenc always want the libgcc dll from mingw.

My developer environment I have now under msys2 with mingw32 and mingw64. 
Compiler Version is 4.9.0-2 dw2. And my build command for vpx is:

./configure --prefix=$LOCALDESTDIR --disable-shared --enable-static 
--disable-unit-tests --disable-docs --extra-cflags="-static -static-libgcc 
-static-libstdc++ -DPTW32_STATIC_LIB"

sed -i 's/HAVE_GNU_STRIP=yes/HAVE_GNU_STRIP=no/g' libs-x86-win32-gcc.mk

sed -i '/#include "vpx\/vpx_encoder.h"/ a\#if defined(_WIN32) || 
defined(_WIN64)\
#define strtok_r strtok_s\
#endif' vpx/src/svc_encodeframe.c

make

Original issue reported on code.google.com by jonba...@gmail.com on 1 May 2014 at 8:01

GoogleCodeExporter commented 9 years ago

Original comment by renganat...@google.com on 15 May 2014 at 10:29

GoogleCodeExporter commented 9 years ago
I believe this [1] was the same issue; seems resolved now, no?

[1] 
https://groups.google.com/a/webmproject.org/d/msg/codec-devel/4tdpkYQ8xdA/WtOnCN
G-QrgJ

Original comment by jz...@google.com on 15 May 2014 at 10:52

GoogleCodeExporter commented 9 years ago
Yes, thank you! Before I don't need that LDFLAG and later I put it on the end 
and don't get it that it was the wrong position. Sorry for declare it as a bug.

Original comment by jonba...@gmail.com on 16 May 2014 at 3:05

GoogleCodeExporter commented 9 years ago
No problem, glad it's working for you. A bug is a bit easier to track the 
history and progression in any case.

Original comment by jz...@google.com on 16 May 2014 at 3:45