高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】linker errors with vc8 and windows xp
linker errors with vc8 and windows xp
linker errors with vc8 and windows xp
dear all,
i am new at using dwgdirect libraries. i am trying to compile the odvectorizeex example in vc8 on windows xp. i have set all the compiler settings but still the linking fails. while the compilation is ok. the errors are of the form:
creating library ../../../../../exe/vc8/debug/odvectorizeex.lib and object ../../../../../exe/vc8/debug/odvectorizeex.exp
link : warning lnk4098: defaultlib 'msvcrt' conflicts with use of other libs; use /nodefaultlib:library
exhostappservices.obj : error lnk2019: unresolved external symbol __imp__regenumvaluea@32 referenced in function "public: virtual bool __thiscall exhostappservices::ttffilenamebydescriptor(class odttfdescriptor const &,class odstring &)" (?ttffilenamebydescriptor@exhostappservices@@uae_n abvodttfdescriptor@@aavodstring@@@z)
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2001: unresolved external symbol __imp__regenumvaluea@32
exhostappservices.obj : error lnk2019: unresolved external symbol __imp__regclosekey@4 referenced in function "public: virtual bool __thiscall exhostappservices::ttffilenamebydescriptor(class odttfdescriptor const &,class odstring &)" (?ttffilenamebydescriptor@exhostappservices@@uae_n abvodttfdescriptor@@aavodstring@@@z)
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2001: unresolved external symbol __imp__regclosekey@4
exhostappservices.obj : error lnk2019: unresolved external symbol __imp__regqueryvalueexa@24 referenced in function "public: virtual bool __thiscall exhostappservices::ttffilenamebydescriptor(class odttfdescriptor const &,class odstring &)" (?ttffilenamebydescriptor@exhostappservices@@uae_n abvodttfdescriptor@@aavodstring@@@z)
exhostappservices.obj : error lnk2019: unresolved external symbol __imp__regopenkeyexa@20 referenced in function "public: virtual bool __thiscall exhostappservices::ttffilenamebydescriptor(class odttfdescriptor const &,class odstring &)" (?ttffilenamebydescriptor@exhostappservices@@uae_n abvodttfdescriptor@@aavodstring@@@z)
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2001: unresolved external symbol __imp__regopenkeyexa@20
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2019: unresolved external symbol __imp__deleteobject@4 referenced in function "int __stdcall effexamineproc(struct tagenumlogfonta *,struct tagnewtextmetrica *,long,long)" (?effexamineproc@@yghpautagenumlogfonta@@pautagnew textmetrica@@jj@z)
dd_vc8md_root.lib(cmentitycolor.obj) : error lnk2001: unresolved external symbol __imp__deleteobject@4
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2019: unresolved external symbol __imp__getglyphoutlinea@28 referenced in function "int __stdcall effexamineproc(struct tagenumlogfonta *,struct tagnewtextmetrica *,long,long)" (?effexamineproc@@yghpautagenumlogfonta@@pautagnew textmetrica@@jj@z)
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2019: unresolved external symbol __imp__getglyphoutlinew@28 referenced in function "int __stdcall effexamineproc(struct tagenumlogfonta *,struct tagnewtextmetrica *,long,long)" (?effexamineproc@@yghpautagenumlogfonta@@pautagnew textmetrica@@jj@z)
dd_vc8md_gi.lib(odtruetypefont.obj) : error lnk2019: unresolved external symbol __imp__gettextmetricsa@8 referenced in function "int __stdcall effexamineproc(struct tagenumlogfonta *,struct tagnewtextmetrica *,long,long)" (?effexamineproc@@yghpautagenumlogfonta@@pautagnew textmetrica@@jj@z)
build log was saved at "file://d:\faisal\coned\opendesign\dd_nonlibs\projectfiles \win32\msvc8\examples\odvectorizeex\debug\buildlog .htm"
odvectorizeex - 27 error(s), 1 warning(s)
========== build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
does any body have any idea about this? please reply back. thanks in advance!
faisal.
try "\projectfiles\win32\msvc8\allexamples.sln"
vladimir
|