Hi,
About the build errors in Opendocument Plugin (Release) in Windows :
> 2>------ Build started: Project: PluginOpendocument, Configuration:
> Release Win32 ------
> 2> Creating library
> 2>ODc_util.obj : error LNK2001: unresolved external symbol __imp__UT_strptime
This error is because UT_strptime is not getting exported from
LibAbiWord. Keeping strptime.c as a C file, i propose to add a header
file to it and export it from there. (Suggested Patch attached !)
I've used __declspec(dllexport) instead of ABI_EXPORT because
including ut_types.h in a C file brings in a lot of other errors and i
didn't see the point in including a C++ header file in a C file.
I've checked this in MSVC where it works, will check for other
platforms as well.
> 2>ODe_Text_Listener.obj : error LNK2001: unresolved external symbol
> __imp__xmlFree
> 2>ODe_Text_Listener.obj : error LNK2001: unresolved external symbol
> _xmlURIEscape
Both these errors are only coming in the release build and not the
debug build, the reason being the dependency libxml2.lib is added only
to the debug configuration and not the release config. I'll make this
change to the Opendocument vcproj.
Thanks,
Prashant
This archive was generated by hypermail 2.1.8 : Fri Jun 22 2012 - 11:34:33 CEST