Hi, i'm trying to compile xed.cpp(mainly) or any other source file, and always getting unresolvable externals problems LNK2019. i use VisualStudio 2008 and launch cl.exe with the /I (include option) to include the headers, and /link (linking option) to link it with lib\\libxed.lib. Still in trouble, with 14 symbols left(before linking were 29). Before to change the code(which may lead to other problems), I was wondering if anyone already seen'em, if so, how to solve them.(as you may have noticed i'm relatively new to VS compiler). Anyone has any idea? Thanks,regards command issued: ln.exe /I"..\\include" xed.cpp /link"..\\lib"..\\libxed.lib" output /out:xed.exe ..\\lib\\libxed.lib xed.obj xed.obj : error LNK2019: unresolved external symbol _xedex_derror referenced in function "void __cdecl test_argc(int,int)" (?test_argc@@YAXHH@Z) xed.obj : error LNK2019: unresolved external symbol "void __cdecl xed_disas_peco ff(struct xed_decode_file_info_t *)" (?xed_disas_pecoff@@YAXPAUxed_decode_file_i nfo_t@@@Z) referenced in function _main xed.obj : error LNK2019: unresolved external symbol "void __cdecl xed_disas_raw( struct xed_decode_file_info_t *)" (?xed_disas_raw@@YAXPAUxed_decode_file_info_t@ @@Z) referenced in function _main xed.obj : error LNK2019: unresolved external symbol _xed_decode_file_info_init r eferenced in function _main xed.obj : error LNK2019: unresolved external symbol _xed_syntax referenced in fu nction _main xed.obj : error LNK2019: unresolved external symbol _intel_syntax referenced in function _main xed.obj : error LNK2019: unresolved external symbol _att_syntax referenced in fu nction _main xed.obj : error LNK2019: unresolved external symbol _xed_atoi_general referenced in function _main xed.obj : error LNK2019: unresolved external symbol _client_verbose referenced i n function _main xed.obj : error LNK2019: unresolved external symbol _disas_decode_binary referen ced in function "unsigned int __cdecl disas_decode(struct xed_state_s const *,ch ar const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_decode@@YAIPBU xed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z) xed.obj : error LNK2019: unresolved external symbol _xed_convert_ascii_to_hex re ferenced in function "unsigned int __cdecl disas_decode(struct xed_state_s const *,char const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_decode@@Y AIPBUxed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z) xed.obj : error LNK2019: unresolved external symbol _disas_decode_encode_binary referenced in function "unsigned int __cdecl disas_decode_encode(struct xed_stat e_s const *,char const *,struct xed_decoded_inst_s *,unsigned __int64)" (?disas_ decode_encode@@YAIPBUxed_state_s@@PBDPAUxed_decoded_inst_s@@_K@Z) xed.obj : error LNK2019: unresolved external symbol _xed_print_hex_line referenc ed in function "unsigned int __cdecl disas_encode(struct xed_state_s const *,cha r const *)" (?disas_encode@@YAIPBUxed_state_s@@PBD@Z) xed.obj : error LNK2019: unresolved external symbol "struct xed_decoded_inst_s _ _cdecl parse_encode_request(class ascii_encode_request_t &)" (?parse_encode_requ est@@YA?AUxed_decoded_inst_s@@AAVascii_encode_request_t@@@Z) referenced in funct ion "unsigned int __cdecl disas_encode(struct xed_state_s const *,char const *)" (?disas_encode@@YAIPBUxed_state_s@@PBD@Z) xed.exe : fatal error LNK1120: 14 unresolved externals
Error while compiling xed2 sources
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.


