I have a strange situation where an application compiled on machine #1 only runs on #1 and not on #2. If I compile on #2, it then runs on #2 but not on #1.
The error I get seems similar to an issue that was fixed in R2014 – Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name: "com.mongodb.MongoClient" fails this test. I've tried using the .*, I've tried not using import and using the fully qualified name instead, all of these run on the compiling machine but not on any other.
Has anybody encountered this problem as well? Any suggestions?
————————————————————–
I've copied the PackagingLog.html file below:
mcc -o DAP -W WinMain:DAP -T link:exe -d C:\Users\oerc0003\Dropbox\Projects\DIET\DAP\DAP\DAP\for_testing -v C:\Users\oerc0003\Dropbox\Projects\DIET\DAP\DAP\dap.m -a 'C:\Users\oerc0003\Documents\MATLAB\Add-Ons\Toolboxes\GUI Layout Toolbox\code\layout\+uix\Resources' -r 'C:\Program Files\MATLAB\R2017b\toolbox\compiler\Resources\default_icon.ico' Compiler version: 6.5 (R2017b)Dependency analysis by REQUIREMENTS.[Warning: Package directories not allowed in MATLAB path:C:\Users\oerc0003\Documents\MATLAB\Add-Ons\Toolboxes\GUI LayoutToolbox\code\layout\+uix\Resources] Parsing file "C:\Users\oerc0003\Dropbox\Projects\DIET\DAP\DAP\dap.m" (Referenced from: "Compiler Command Line").Deleting 0 temporary MEX authorization files.Generating file "C:\Users\oerc0003\Dropbox\Projects\DIET\DAP\DAP\DAP\for_testing\readme.txt".Packaging...Creating the bundle...Self contained installer created at C:\Users\oerc0003\Dropbox\Projects\DIET\DAP\DAP\DAP\for_redistribution\MyAppInstaller_mcr.exe.Packaging complete.Elapsed packaging time was: 50 seconds.
Best Answer