Thread Subject: Matlab Compiler: R2009B: link error

Subject: Matlab Compiler: R2009B: link error

From: Tim

Date: 30 Oct, 2009 21:54:02

Message: 1 of 2

Hi,

I am trying to upgrade my application (VS.NET 2003 C++) to use the latest version of Matlab. I am getting a link error which I was not getting previously.

As background, I use the C++ shared library compilation method.

Any tips or suggestions much appreciated.

Thanks,
Tim.

error LNK2001: unresolved external symbol "bool __cdecl array_ref_is_empty_proxy(class array_ref *)" (?array_ref_is_empty_proxy@@$$J0YA_NPAVarray_ref@@@Z)

Subject: Matlab Compiler: R2009B: link error

From: Tim

Date: 4 Nov, 2009 21:56:02

Message: 2 of 2

For the record - I fixed this by linking with the mclmcrRT.lib library. This is different from previous version of matlab compiler where mclmcr.lib was used.

"Tim" <tadler@wcmbllc.remove.this.com> wrote in message <hcfn9q$j82$1@fred.mathworks.com>...
> Hi,
>
> I am trying to upgrade my application (VS.NET 2003 C++) to use the latest version of Matlab. I am getting a link error which I was not getting previously.
>
> As background, I use the C++ shared library compilation method.
>
> Any tips or suggestions much appreciated.
>
> Thanks,
> Tim.
>
> error LNK2001: unresolved external symbol "bool __cdecl array_ref_is_empty_proxy(class array_ref *)" (?array_ref_is_empty_proxy@@$$J0YA_NPAVarray_ref@@@Z)

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com