freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] problem building


From: Mahmoud Al-Arbash
Subject: [ft] problem building
Date: Tue, 4 Jul 2017 20:34:42 +0300

Dear Sirs,,

I'm using windows 7 pro 64 bit  running vs 2017 but i'm using  win32 x68
console
I have problem building the second example from:
https://github.com/wutipong/drawtext-sdl2-freetype2-harfbuzz

first example: sdl-ft-1 (building ok)
second example: sdl-ft-harfbuzz-outlinerender (have problem)

I use only I list only freetpe and harfbuzz sdl2 is ok:

Includes

C:\Users\hp\FreeType2\freetype-2.8\include
contain:
ft2build folder contain many objects files
ft2build.h header

C:\Users\hp\FreeType2\harfbuzz-1.4.6\src
contain:
many headers

Libraries

C:\Users\hp\FreeType2\freetype-2.8\objs\vc2010\Win32
contain:
freetype28.lib
freetype28d.lib
freetype28d.pdb

C:\Users\hp\FreeType2\harfbuzz-1.4.6\win32\debug\Win32
contain:
harfbuzz.exp
harfbuzz.lib
harfbuzz-vs15.dll
harfbuzz-vs15.ilk
harfbuzz-vs15.pdb

Linker Input:
freetype28.lib
SDL2.lib
SDL2main.lib
harfbuzz.lib

When I try to build this message display:

1>------ Build started: Project: FTandHB, Configuration: Debug Win32 ------
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
1>Source.obj : error LNK2019: unresolved external symbol _hb_ft_font_create
referenced in function "void __cdecl CreateFont(struct FT_LibraryRec_ *
const &,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,int const &,struct Font &)" (?CreateFont@
@YAXABQAUFT_LibraryRec_@@address@hidden@address@hidden@
@address@hidden@2@@std@@ABHAAUFont@@@Z)
1>C:\Users\hp\documents\visual studio
2017\Projects\FTandHB\Debug\FTandHB.exe : fatal error LNK1120: 1 unresolved
externals
1>Done building project "FTandHB.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I appreciate your help

Thank your
---
Best Regards From Mahmoud


reply via email to

[Prev in Thread] Current Thread [Next in Thread]