[swfmill] Which version of FreeType is linked to the swfmill 0.2.12 Windows binary ?
Axel Huizinga
axel at 3drachen.de
Thu Feb 5 06:38:16 PST 2009
matsuhashi at quick.co.jp schrieb:
> Axel,
>
>
>> c:/mingw/lib/libexslt.a(dynamic.o):dynamic.c:(.text+0x81): undefined
>>
> reference to `_imp__xmlFree'
>
> I have ever seen just the same errors. I will tell you how I solved
> (walked-around?) this.
>
> You want the libxml2 and the libxslt library built as STATIC because the .
>
> Suppose you have downloaded and gunzipped/untared it, then you
> START>Programs>MinGW>MSYS>msys to open the rxvt command line,
>
> then as for libxml2 do the following:
>
> $ cd <your_libxml2_source_dir>
> $ export CFLAGS="-DLIBXML_STATIC -I/include"
> $ export LDFLAGS="-L/lib"
> $ sh configure --disable-shared --enable-static --with-iconv
> --prefix=/MinGW && make && make install
>
> also as for libxslt do the following:
>
> $ cd <your_libxslt_source_dir>
> $ export CFLAGS="-DLIBXML_STATIC -DLIBXSLT_STATIC -DLIBEXSLT_STATIC
> -I/include"
> $ export LDFLAGS="-L/lib"
> $ sh configure --disable-shared --enable-static --prefix=/MinGW && make &&
> make install
>
> Then you will get:
>
> C:\MinGW\lib\libxml2.a
> C:\MinGW\lib\libxslt.a
>
> those are the STATIC version of libxml2/libxslt, and possibly you are
> missing them now. Without these archive files, the make process of swfmill
> will complain to you with the above mensioned "undefined reference to
> '_imp__xml****'" messages.
>
>
>
>
> MATSUHASHI,kazuaki
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
Hi again and thanks for your so far helpful instructions.
But building swfmill with MinGW/msys is crappy.
(on linux it was quite easy)
After a lot of work to get the libs and includes recognized my actual
state of the compilation breaks here:
swft_import_ttf.cpp: In function `void importDefineFont2(SWF::DefineFont2*,
const char*, const char*, const xmlChar*, SWF::Context*, swft_ctx*,
int)':
swft_import_ttf.cpp:191: call of overloaded `ceil(long int)' is ambiguous
c:/GNUstep/Development/msys/1.0/mingw/include/math.h:167: candidates are:
double ceil(double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:183:
long double std::ceil(long double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:175:
float std::ceil(float)
swft_import_ttf.cpp:229: call of overloaded `floor(FT_Pos)' is ambiguous
c:/GNUstep/Development/msys/1.0/mingw/include/math.h:168: candidates are:
double floor(double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:257:
long double std::floor(long double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:249:
float std::floor(float)
swft_import_ttf.cpp: In function `void importDefineFont3(SWF::DefineFont3*,
const char*, const char*, const xmlChar*, SWF::Context*, swft_ctx*,
int)':
swft_import_ttf.cpp:380: call of overloaded `ceil(long int)' is ambiguous
c:/GNUstep/Development/msys/1.0/mingw/include/math.h:167: candidates are:
double ceil(double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:183:
long double std::ceil(long double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:175:
float std::ceil(float)
swft_import_ttf.cpp:418: call of overloaded `floor(FT_Pos)' is ambiguous
c:/GNUstep/Development/msys/1.0/mingw/include/math.h:168: candidates are:
double floor(double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:257:
long double std::floor(long double)
c:/GNUstep/Development/msys/1.0/mingw/include/c++/3.2.3/cmath:249:
float std::floor(float)
make[3]: *** [libswft_la-swft_import_ttf.lo] Error 1
make[3]: Leaving directory `/c/opt/devel/swfmill/src/swft'
Any ideas how to solve this?
Cordially,
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090205/e15933cf/attachment-0001.html>
More information about the swfmill
mailing list