Git Product home page Git Product logo

freetype-windows-binaries's People

Contributors

ubawurinna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freetype-windows-binaries's Issues

freetype2-demos to add

Would you compile and distribute some of freetype2-demos? Perhaps not all of therm, but ftview, ftgrid, and ftdump are quite useful. I can provide my solution and project files if you are interested.

__security_check_cookie error with QT

Hi, i use the "release static\win32\freetype.lib"
when build my project, it says:
.....objs\Win32\Release Static\ftbase.obj):-1: error: undefined reference to `@__security_check_cookie@4'
then i can't go on. is this the freetype.lib problem?
Thanks
My environment: Qt Creator 3.5.1(32Bit)
PC: Windows 7 (64Bit)

Function not found in 64-bit version

Hi @ubawurinna
I downloaded your Windows 64-bit binaries for use alongside freetype-py.
At runtime I get the following error:
function 'FT_Get_BDF_Charset_ID' not found
From what I can gather, this appears to be due to functions not being exported correctly for 64-bit DLLs (see comment by @mdsitton 09 nov 2014 on this thread)
Do you happen to have any more recent 64-bit binaries that I could test?
Thanks in advance

ERROR: freetype2 not found using pkg-config

Follow the installation and add --enable-libfreetype.
I use --extra-cflags and --extra-ldflags to assign the path of libfreetype binary.
But meet the error ERROR: freetype2 not found using pkg-config and it try to use pkg-config to find freetype2 .pc file

END ./ffconf.XlJKo3ZL/test.cu
nvcc -gencode arch=compute_52,code=sm_52 -O2 -m64 -ptx -c -o ffconf.XlJKo3ZL/test.o ffconf.XlJKo3ZL/test.cu
test.cu
require_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType
check_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType
test_pkg_config libfreetype freetype2 ft2build.h FT_FREETYPE_H FT_Init_FreeType
false --exists --print-errors freetype2
ERROR: freetype2 not found using pkg-config

I hate to sound noobish...

But the following code says to do this:
#include "ft2build.h" #include FT_FREETYPE_H

I have included the ft2build.h in the root directory as told, and I'm supposed to #include the 2nd and not #define it? I'm getting an error:

fatal error C1083: Cannot open include file: 'freetype/config/ftheader.h': No such file or directory

I apologize in advance if it's been asked a billion times.. I couldn't find anything on this or the links were dead.

Don't seem to work with VS2010

I'm using VS2010, point the linker additional library directories pointing to the freetype.lib; I add the
libraries containing the freetype.lib and freetype.dll as "Library Directories" in the vc++ project properties; my "include" library is specified in "include directories" in the project properties page. Yet, when I try to build, I keep getting 8 errors like this:
" error LNK2001: unresolved external symbol FT_Done_Glyph"
I turned on verbose:lib for the linker and I can see the linkers command line with my libraries in it, but not in the list of libraries searched. For the life of me I can't come up with an answer. I tried building freetype291 using VS2010 and it seemed to build OK, but I didn't get a freetype.dll nor a freetype.lib in the "release" directory; thus I tried your binaries. Any ideas would be greatly appreciated.

Which options are these compiled with?

Can you please update the README to include the compiler options (eg: FT_WITH_ZLIB, FT_WITH_PNG, etc.) those binary libraries are compiled with? To avoid confusion if someone expects them to be compiled in a certain way.

Cannot Compile FFMPEG with libfreetype on Windows/Msys2

I am having issues compiling ffmpeg with libfreetype with this commmand on windows MSYS2:

./configure     --pkg-config-flags="--static" --enable-libvpl  --enable-libopenh264     
--enable-version3  --enable-libfreetype    --enable-libopus     --enable-libvpx     --enable-libvorbis     
--enable-libaom     --enable-libdav1d     --disable-gpl     --disable-w32threads     --enable-pthreads     
--disable-shared     --enable-static     
--extra-cflags='--static'   --extra-cflags="-I/mingw64/include -static"   --extra-ldflags="-L/mingw64/lib -static" --prefix="/home/compiled"

I keep getting this error:

ERROR: freetype2 not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

I've installed freetype with this command:

 pacman -Ss mingw-w64-x86_64-freetype

I've also tried compiling freetype2 from the source:

git clone https://git.savannah.gnu.org/git/freetype/freetype2.git

cd freetype2

mkdir build && cd build

/mingw64/bin/cmake .. -G "MSYS Makefiles" -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/mingw64

make

make install

And pkg-config gives this:

pkg-config freetype2 --cflags --libs
-IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys64/mingw64/lib/glib-2.0/include -IC:/msys64/mingw64/include/libpng16 -lfreetype

I can confirm the package is there:

ls /mingw64/lib/pkgconfig/freetype2.pc
/mingw64/lib/pkgconfig/freetype2.pc

My logs are giving this erro:

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: 
C:/msys64/mingw64/lib\libfreetype.a(src_autofit_autofit.c.obj):(.text+0x7cfc): undefined reference to `hb_buffer_destroy'
collect2.exe: error: ld returned 1 exit status
ERROR: freetype2 not found using pkg-config

Which is the harbuzz library?

Is there anything else I should be doing to compile a static version of ffmpeg with this package?

MinGW Compiler bins?

I want to compile my program with MinGW, but am unable to do so because the MSVC .lib formats are incompatible with GNU. If you could provide ones compiled with MinGW or CYGwin, that'd be amazing!!!

Using zlib and freetype static libraries causes LNK2005/LNK4006

Hi,
When linking both lib files (freetype.lib and zlib.lib) from a single project, I get errors because parts of zlib are integrated in freetype.lib:

1>zlib.lib(inflate.obj) : warning LNK4006: inflateEnd already defined in freetype.lib(ftgzip.obj); second definition ignored
1>zlib.lib(inflate.obj) : warning LNK4006: inflate already defined in freetype.lib(ftgzip.obj); second definition ignored
1>zlib.lib(inflate.obj) : warning LNK4006: inflateInit2_ already defined in freetype.lib(ftgzip.obj); second definition ignored
1>zlib.lib(inflate.obj) : warning LNK4006: inflateReset2 already defined in freetype.lib(ftgzip.obj); second definition ignored
1>zlib.lib(inflate.obj) : warning LNK4006: inflateReset already defined in freetype.lib(ftgzip.obj); second definition ignored
1>zlib.lib(inflate.obj) : warning LNK4006: inflateResetKeep already defined in freetype.lib(ftgzip.obj); second definition ignored

I found a workaround, which is compiling with /FORCE:MULTIPLE.
Is there a cleaner way to solve the problem?
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.