You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
tinhtoitrangtay
Posts: 70 Joined: Tue Oct 28, 2008 12:59 pm
Post
by tinhtoitrangtay » Tue Dec 22, 2009 1:39 pm
I have make TrueType Font but i can't build FreeType2 to Calling convention __fastcall (/Gr). I need help
Code: Select all
Linking...
Creating library ..\..\lib\Win32-visualstudio\Irrlicht.lib and object ..\..\lib\Win32-visualstudio\Irrlicht.exp
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_Done_Face@4
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_Load_Char@12
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_New_Memory_Face@20
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_Done_FreeType@4
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_New_Face@16
CGUIFontVector.obj : error LNK2001: unresolved external symbol @FT_Set_Pixel_Sizes@12
..\..\bin\Win32-visualstudio\Irrlicht.dll : fatal error LNK1120: 6 unresolved externals
Build log was saved at "file://c:\HOCTAPLT\devIrr\source\obj\IrrReleaseFastFPU\BuildLog.htm"
Irrlicht - 7 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Thanks
CuteAlien
Admin
Posts: 9716 Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:
Post
by CuteAlien » Tue Dec 22, 2009 3:39 pm
Are you sure you did link the freetype library to your project?
tinhtoitrangtay
Posts: 70 Joined: Tue Oct 28, 2008 12:59 pm
Post
by tinhtoitrangtay » Wed Dec 23, 2009 3:23 pm
Hi CuteAlien
Yes i have link the freetype library to your project but i only build success when i change Calling convention from __fastcall (/Gr) to __cdecl (/Gd) IrrReleaseFastFPU. I wanna in mode Calling convention __fastcall (/Gr) but i can't. When i build FreeType2 to mode Calling convention __fastcall (/Gr) i recvice error
Code: Select all
Deleting intermediate and output files for project 'freetype', configuration 'Release Multithreaded|Win32'
Compiling...
winfnt.c
type42.c
type1cid.c
type1.c
c:\hoctaplt\devirr\freetype\src\type1\t1afm.c(218) : error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
c:\hoctaplt\devirr\freetype\src\type1\t1afm.c(218) : warning C4024: 'qsort' : different types for formal and actual parameter 4
truetype.c
sfnt.c
raster.c
psmodule.c
.\src\psnames\psmodule.c(384) : error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
.\src\psnames\psmodule.c(384) : warning C4024: 'qsort' : different types for formal and actual parameter 4
pshinter.c
psaux.c
c:\hoctaplt\devirr\freetype\src\psaux\afmparse.c(758) : error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
c:\hoctaplt\devirr\freetype\src\psaux\afmparse.c(758) : warning C4024: 'qsort' : different types for formal and actual parameter 4
pfr.c
pcf.c
ftwinfnt.c
fttype1.c
ftsynth.c
ftpfr.c
ftmm.c
ftbbox.c
smooth.c
ftsystem.c
Generating Code...
Compiling...
ftstroke.c
ftlzw.c
ftinit.c
ftgzip.c
ftglyph.c
ftgasp.c
ftfstype.c
ftdebug.c
ftcache.c
ftbitmap.c
ftbase.c
c:\hoctaplt\devirr\freetype\src\base\ftrfork.c(215) : error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
c:\hoctaplt\devirr\freetype\src\base\ftrfork.c(215) : warning C4024: 'qsort' : different types for formal and actual parameter 4
cff.c
bdf.c
c:\hoctaplt\devirr\freetype\src\bdf\bdflib.c(1510) : error C2440: 'function' : cannot convert from 'int (*)(const void *,const void *)' to 'int (*)(const void *,const void *)'
c:\hoctaplt\devirr\freetype\src\bdf\bdflib.c(1510) : warning C4024: 'qsort' : different types for formal and actual parameter 4
autofit.c
Generating Code...
Build log was saved at "file://c:\HOCTAPLT\devIrr\freetype\objs\release_mt\BuildLog.htm"
freetype - 5 error(s), 5 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I need help. Thanks
CuteAlien
Admin
Posts: 9716 Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:
Post
by CuteAlien » Wed Dec 23, 2009 7:21 pm
Hm, sorry, no idea right now. Maybe ask the freetype guys.