c++ - Abnormal unresolved external symbol error -
i have project used compile fine, using freetype library.
since os has been reinstalled , hence has visual studio 2010.
i have re-included , reinstalled of .lib .dll , header files. reason if run programme release configuration runs fine. if switch on debug config, gives me unresolved external symbol errors linker, on freetype library functions.
now i'm sure c++ directories both configurations identical re-set them using all-configurations tab in solution settings. this, both configurations "additional directories/additional dependancies settings", set identically in same way.
the difference find between release , debug folders in project folder, presence of file in debug folder called "vc100.idb", minimum rebuild dependancy file. looked promising, removing yielded no results, set back.
do have ideas of causing difference between configurations compiling?
worst come worst, can go on programming on release config, i'd rather not go on downwards road i'd know root of problem.
thanks in advance,
guy
the errors:
1>freetype.obj : error lnk2019: unresolved external symbol _ft_glyph_to_bitmap referenced in function "void __cdecl freetype::make_dlist(struct ft_facerec_ *,char,unsigned int,unsigned int *)" (?make_dlist@freetype@@yaxpauft_facerec_@@dipai@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_get_glyph referenced in function "void __cdecl freetype::make_dlist(struct ft_facerec_ *,char,unsigned int,unsigned int *)" (?make_dlist@freetype@@yaxpauft_facerec_@@dipai@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_load_glyph referenced in function "void __cdecl freetype::make_dlist(struct ft_facerec_ *,char,unsigned int,unsigned int *)" (?make_dlist@freetype@@yaxpauft_facerec_@@dipai@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_get_char_index referenced in function "void __cdecl freetype::make_dlist(struct ft_facerec_ *,char,unsigned int,unsigned int *)" (?make_dlist@freetype@@yaxpauft_facerec_@@dipai@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_done_freetype referenced in function "public: void __thiscall freetype::font_data::init(char const *,unsigned int)" (?init@font_data@freetype@@qaexpbdi@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_done_face referenced in function "public: void __thiscall freetype::font_data::init(char const *,unsigned int)" (?init@font_data@freetype@@qaexpbdi@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_set_char_size referenced in function "public: void __thiscall freetype::font_data::init(char const *,unsigned int)" (?init@font_data@freetype@@qaexpbdi@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_new_face referenced in function "public: void __thiscall freetype::font_data::init(char const *,unsigned int)" (?init@font_data@freetype@@qaexpbdi@z) 1>freetype.obj : error lnk2019: unresolved external symbol _ft_init_freetype referenced in function "public: void __thiscall freetype::font_data::init(char const *,unsigned int)" (?init@font_data@freetype@@qaexpbdi@z)
edit: ok strange. i've removed all of freetype directory info rom include , library directory setting in release config, additional dependancies. , released config version still works!
this leading me believe there missing (vs config-wise) moving files over.
i had same problem.
i solved compiling freetype
( freetype-2.5.2\builds\windows\vc2010\freetype.sln ) solution x64
platform (or win32
if utilize it).
you .libs
platform.
c++ visual-studio-2010 dll linker
No comments:
Post a Comment