Re: LNK2019 error
- From: Ulrich Eckhardt <eckhardt@xxxxxxxxxxxxxx>
- Date: Wed, 05 Oct 2005 14:40:32 +0200
hazizpour@xxxxxxxxx wrote:
> I am trying to build a sample for using a certain library ( IFC mapping
> to C++ classes, see www.cstb.fr) with MS Visual Studio 2003.
> main.obj : error LNK2019: unresolved external symbol
[...]
I assume you know how to use and link a library in general, so I won't go
into this.
> What I have found so far on the net wasn't very helpful. I have read
> somewhere, that the reason of the error could have something to do with
> different versions of VC (since the libraries were programmed in 2000,
> they were probably built with VC5 or 6, I dont know if that is a
> problem)
AFAIK, VC's major versions are not binary compatible with each othe (which
is exactly what a major version change usually signals). IOW, you need
different libs for different C++ compilers (which is not only true for VC,
btw). If you only have one, use the compiler it was compiled for.
Uli
.
- Follow-Ups:
- Re: LNK2019 error
- From: hazizpour
- Re: LNK2019 error
- References:
- LNK2019 error
- From: hazizpour
- LNK2019 error
- Prev by Date: Re: operator bool problem
- Next by Date: Re: Weird compile error on VS .NET 2003 in compiler generated constructor in derived exported class with boost function
- Previous by thread: LNK2019 error
- Next by thread: Re: LNK2019 error
- Index(es):
Relevant Pages
|