[sldev] A problem with compilation of snowglobe

Cai Xiao(dynaturtle) dynaturtle.cai at gmail.com
Mon Sep 14 07:34:34 PDT 2009


Hello, guys,       I have sucked by a strange question when I try
to compile the sub-part of the snowglobe. Actually, the llcommon project. I
use VS 2008 as the compiler and linker. My problem is as following:
1>------ Build started: Project: llcommon, Configuration: Release Win32
------
1>Linking...
1>llbase64.obj : error LNK2001: unresolved external symbol
_apr_base64_encode_binary
1>llbase64.obj : error LNK2001: unresolved external symbol
_apr_base64_encode_len
1>llsdserialize.obj : error LNK2001: unresolved external symbol
_apr_base64_decode_binary
1>llsdserialize.obj : error LNK2001: unresolved external symbol
_apr_base64_decode_len
1>E:\Qiankun Mirror\llPrimMesher\Release\llcommon.dll : fatal error LNK1120:
4 unresolved externals
1>Build log was saved at "file://e:\Qiankun
Mirror\llPrimMesher\llcommon\Release\BuildLog.htm"
1>llcommon - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

But actually I have put the libaprutil-1.lib in the specified directory, and
also the include file, but I do not know why VS still has a link problem.

Following is the command line parameters of my project setting:
*C/C++ command line parameters*
/O2 /Oi /GL /I "C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib" /I
"E:\Qiankun Mirror\llPrimMesher\Include" /D "LL_WINDOWS" /D "_WINDLL" /D
"_UNICODE" /D "UNICODE" /FD /EHsc /MD /Gy /Fo"Release\\"
/Fd"Release\vc90.pdb" /W3 /nologo /c /Zi /TP /errorReport:prompt

*Linker command line parameters*
/OUT:"E:\Qiankun Mirror\llPrimMesher\Release\llcommon.dll" /NOLOGO
/LIBPATH:"E:\Qiankun Mirror\llPrimMesher\Lib" /DLL /MANIFEST
/MANIFESTFILE:"Release\llcommon.dll.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /LTCG /DYNAMICBASE
/NXCOMPAT /ERRORREPORT:PROMPT libapr-1.lib aprutil-1.lib libaprutil-1.lib
libapriconv-1.lib libexpat.lib ws2_32.lib psapi.lib advapi32.lib zdll.lib
Netapi32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib


Thanks advance for any help. I am really sucked about this problem. I hope
some one could help me figure it out.
-- 
Department of Spatial Information Science&Technology,
School of Earth&Space Science, Peking University

ADD: Room 413, Institute Of RS and GIS , Peking University, Beijing, P.R.
China
Zip Code: 100871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090914/416bef4d/attachment.htm 


More information about the SLDev mailing list