Hi Greg,
The linker is not finding libapr-1.lib it looks from the errors.
Studio 2010 was the most problematic for me personally when it came to
converting the vc6 project files.
We all love the IDE, but 2010 & 2012 seemed to be extra quirky on
conversions. My suggestion here is to actually use the makefiles that
are included in the source and build from the command line in /apr-util
following the instruction inside apr-util's makefile.win
The makefiles do not have to be converted and therefor do not fall into
any specific studio version's quirks during conversion. Building this
way has never failed for me on any version of Visual Studio.
Regards,
Gregg
On 2/5/2015 9:37 AM, gregory.gorba...@thomsonreuters.com wrote:
Trying to build apr suite on windows server 2008 R2 using Visual
Studio 2010 Release x64
Downloaded apr-1.5.1-win32-src, apr-iconv-1.2.1-win32-src-r2,
apr-util-1.5.4-win32-src zip file.
Extracted to dirs:
D:\Apache Software Foundation\apr
D:\Apache Software Foundation\apr-iconv
D:\Apache Software Foundation\apr-util
http://apr.apache.org/compiling_win32.html as directory layout
suggested on the above web site
opened or created vs sln files in all dir either converting VC 6
projects to VC 10 projects.
Any help appreciated with below errors.Thanks
*Project libapriconv gives unresolved externals:*
Error 11 error LNK2019: unresolved external symbol
__imp_apr_dso_load referenced in function iconv_dlopen D:\Apache
Software Foundation\apr-iconv\iconv_module.obj libapriconv
Error 10 error LNK2019: unresolved external symbol
__imp_apr_dso_sym referenced in function iconv_dlopen D:\Apache
Software Foundation\apr-iconv\iconv_module.obj libapriconv
Error 9 error LNK2019: unresolved external symbol
__imp_apr_dso_unload referenced in function iconv_dlopen D:\Apache
Software Foundation\apr-iconv\iconv_module.obj libapriconv
Error 7 error LNK2019: unresolved external symbol
__imp_apr_env_get referenced in function iconv_getpath D:\Apache
Software Foundation\apr-iconv\iconv_module.obj libapriconv
Error 6 error LNK2019: unresolved external symbol
__imp_apr_filepath_list_split referenced in function
iconv_getpath D:\Apache Software
Foundation\apr-iconv\iconv_module.obj libapriconv
Error 8 error LNK2019: unresolved external symbol
__imp_apr_pool_create_ex referenced in function iconv_getpath
D:\Apache Software Foundation\apr-iconv\iconv_module.obj
libapriconv
Error 5 error LNK2019: unresolved external symbol
__imp_apr_pool_destroy referenced in function iconv_getpath
D:\Apache Software Foundation\apr-iconv\iconv_module.obj
libapriconv
Error 4 error LNK2019: unresolved external symbol
__imp_apr_snprintf referenced in function iconv_getpathname
D:\Apache Software Foundation\apr-iconv\iconv_module.obj
libapriconv
Error 3 error LNK2019: unresolved external symbol
__imp_apr_stat referenced in function iconv_getpathname
D:\Apache Software Foundation\apr-iconv\iconv_module.obj
libapriconv
*Also libaprutil gives unresolved symbols*
Error 60 error LNK2019: unresolved external symbol
__imp_apr_palloc referenced in function apr_brigade_pflatten
D:\Apache Software Foundation\apr-util\apr_brigade.obj libaprutil
Error 64 error LNK2019: unresolved external symbol
__imp_apr_vformatter referenced in function apr_brigade_vprintf
D:\Apache Software Foundation\apr-util\apr_brigade.obj libaprutil
Error 67 error LNK2019: unresolved external symbol
__imp_apr_pool_cleanup_kill referenced in function
apr_brigade_destroy D:\Apache Software
Foundation\apr-util\apr_brigade.obj libaprutil
Error 79 error LNK2001: unresolved external symbol
__imp_apr_pool_cleanup_register D:\Apache Software
Foundation\apr-util\apr_brigade.obj libaprutil
Error 91 error LNK2001: unresolved external symbol
__imp_apr_pool_cleanup_null D:\Apache Software
Foundation\apr-util\apr_brigade.obj libaprutil
*--------------------------------------------------------------------------------------------------------------------------------------------------------------*
*Greg Gorbatov*
*Thomson Reuters*
Phone: 646-822-3866
gregory.gorba...@thomsonreuters.com
<mailto:gregory.gorba...@thomsonreuters.com>