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

Jari Strand strand_jari at hotmail.com
Sun Dec 3 06:11:01 MST 2006


Alright got it working now, thanks!

Do you think it's possible or not to compile single threaded instead of 
multithreaded DLL? I have many "already defined" errors during first attembs 
and I did make both the lib and the app single threaded.
So I am asking if the library actually demands the multithreaded DLL 
support?

Jari.

>From: "Troy A. Griffitts" <scribe at crosswire.org>
>Reply-To: SWORD Developers' Collaboration Forum <sword-devel at crosswire.org>
>To: SWORD Developers' Collaboration Forum <sword-devel at crosswire.org>
>Subject: Re: [sword-devel] How do you link the libarary in windows
>Date: Sat, 02 Dec 2006 12:16:59 -0700
>
>Jari,
>	These are newly added filters.  The project files have probably not
>been updated to include them.  They are both filters and should be
>located under src/modules/filters/
>
>Jari Strand wrote:
> > 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/
> >
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
>
>
>_______________________________________________
>sword-devel mailing list: sword-devel at crosswire.org
>http://www.crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

_________________________________________________________________
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