comp.soft-sys.matlab
[Top] [All Lists]

Re: error LNK2001: unresolved external symbol

Subject: Re: error LNK2001: unresolved external symbol
From: "Markus"
Date: Thu, 22 Sep 2005 22:05:34 +0300
Newsgroups: comp.soft-sys.matlab
"BullDog" <ku.oc.balrs@xxxxxxxxxxxxx> kirjoitti viestissä
news:ef15c9a.5@xxxxxxxxxxxxxxxxxxx
> Markus wrote:
>
> > I would rather keep it in working directory and use mex with
> > -f switch e.g.
> >
> > mex -f mexopts.bat file.c
> >
> > In the options file check that appropriate include and library
> > directories
> > are specified. Not much else I can think of....
> >
>
> Thanks so much for coming up with ideas after ideas... but... it
> didn't work :-(
>
> I don't know how to check my options are right. All I know is that I
> selected the right compiler at the time of running mex -setup. I
> must be missing a library or a header file, but I don't know which
> ones and how to get it.
>
> Thanks for your help
> BullDog

If you are missing a header file or not including a header file your
code will not compile. I take it that this is not the case. You just have
a hard time linking your code.

If you could provide *minimal* C code causing the error I could look into
it although I am using VS.NET2003. Still, it might give the same error
if it's in standard libraries...




<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy