[sword-devel] How do you link the libarary in windows

Jari Strand strand_jari at hotmail.com
Sat Dec 2 11:46:32 MST 2006


Hello, this isn't the first time im linking libraries on windows but I 
havent been able to compile a test application using either one of the three 
build solutions for VS programs. First I tried the vc8.0 but I dont know how 
to link the generated dll to a project because it creates manifest instead 
of a lib.

Then I tried vc6 solution but it gives many missing symbol errors and 
already defined symbol errors. I was able to narrow them down to these 5 
however:

libswordvc6d.lib(swmgr.obj) : error LNK2001: unresolved external symbol 
"public: __thiscall sword::TEIPlain::TEIPlain(void)" 
(??0TEIPlain at sword@@QAE at XZ)
libswordvc6d.lib(swmgr.obj) : error LNK2001: unresolved external symbol 
"public: __thiscall sword::PapyriPlain::PapyriPlain(void)" 
(??0PapyriPlain at sword@@QAE at XZ)
libswordvc6d.lib(swmgr.obj) : error LNK2001: unresolved external symbol 
"public: __thiscall 
sword::OSISMorphSegmentation::OSISMorphSegmentation(void)" 
(??0OSISMorphSegmentation at sword@@QAE at XZ)
libswordvc6d.lib(rawgenbook.obj) : error LNK2001: unresolved external symbol 
"public: __thiscall sword::VerseTreeKey::VerseTreeKey(class sword::TreeKey 
*,char const *)" (??0VerseTreeKey at sword@@QAE at PAVTreeKey@1 at PBD@Z)


But now I'm asking if any one knows the reason behind the supposedly 
internal (in the lib I mean) library problems? It looks like that some 
function definitions are missing.

Thanks.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the sword-devel mailing list