License Checkout error in standalone application

1 view (last 30 days)
I've been given a bunch of p-code that I'd like to compile into a .dll. I used the matlab compiler from the GUI, I added all the p-code to the project, made sure all matlab toolboxes were on the path and built the .dll by pushing build.
Then I proceeded to program something in C++ in Visual Studio 2010 that will call into the shared library. I had to include the auto-generated header and lib file as well as mclmcrrt.lib from the 64-bit MCR in the visual studio compile.
When I run the result visual studio .exe, I get an error from the matlab compiled .dll that says "Unable to checkout license file for pathManager.p" (a file in my code). Why is this? I thought the point of the MCR was to be able to deploy standalone applications?
I did not write the p-code. Is it possible they used a toolbox that I don't have on my path?
Thanks in advance for any insight.
  4 Comments
Aaron
Aaron on 1 Aug 2013
I also used depfun() to list all dependencies the offending p file used and I do have all of the toolboxes.
Aaron
Aaron on 1 Aug 2013
I also have the full version of the matlab compiler, not the demo version.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!