无法编译 PgAdmin3
unable to compile PgAdmin3
在发行版和 X64 中编译时会出现这些错误..
Error 320 error LNK2019: unresolved external symbol xsltCleanupGlobals referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 321 error LNK2019: unresolved external symbol xsltFreeStylesheet referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 322 error LNK2019: unresolved external symbol xsltParseStylesheetDoc referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 323 error LNK2019: unresolved external symbol xsltApplyStylesheet referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 324 error LNK2019: unresolved external symbol xsltSaveResultToString referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 325 error LNK1120: 5 unresolved externals C:\Newfolder\pgadmin3-1.20.0\pgadmin\Release\pgAdmin3.exe pgAdmin3
添加了链接器设置以及 vc++ 目录设置仍然出现上述错误。请做必要的,在发布文件夹中生成 pgAdmin3.exe。
以上错误是因为链接了一个无效的 libxslt.lib 文件,通过将链接的 libxslt.lib 更改为正确的 64 位文件来修复它。
在发行版和 X64 中编译时会出现这些错误..
Error 320 error LNK2019: unresolved external symbol xsltCleanupGlobals referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 321 error LNK2019: unresolved external symbol xsltFreeStylesheet referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 322 error LNK2019: unresolved external symbol xsltParseStylesheetDoc referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 323 error LNK2019: unresolved external symbol xsltApplyStylesheet referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 324 error LNK2019: unresolved external symbol xsltSaveResultToString referenced in function "private: class wxString __cdecl frmReport::XslProcessReport(class wxString const &,class wxString const &)" (?XslProcessReport@frmReport@@AEAA?AVwxString@@AEBV2@0@Z) C:\Newfolder\pgadmin3-1.20.0\pgadmin\frmReport.obj pgAdmin3
Error 325 error LNK1120: 5 unresolved externals C:\Newfolder\pgadmin3-1.20.0\pgadmin\Release\pgAdmin3.exe pgAdmin3
添加了链接器设置以及 vc++ 目录设置仍然出现上述错误。请做必要的,在发布文件夹中生成 pgAdmin3.exe。
以上错误是因为链接了一个无效的 libxslt.lib 文件,通过将链接的 libxslt.lib 更改为正确的 64 位文件来修复它。