Standalone executiable can't work and show 'Unable to locate program input point' related to libmwms.dll

6 views (last 30 days)
Version:2019b
I generated a Standalone executiable in MATLAB, but there will be an error when running it.
Errors show:
Unable to locate program input point ?internal_push_move@concurrent_queue_base_v8@internal@tbb@@IEAAXBX@Z at C:\XXXX\libmwms.dll.
Actually, there is libmwms.dll in the specified path. And I uninstalled the MATLAB , and after reinstallation, this problem still exists.
By the way, the Standalone executiable can work in another PC, I don't why.
  3 Comments
Logan
Logan on 26 Aug 2022
Hi, I'm having the same issue with two of my programs now on two different computers; they work fine on my machine as well as on a fourth other machine. Have you figured out a solution to this?

Sign in to comment.

Accepted Answer

Divyam
Divyam on 30 Apr 2025
The error arises due to the presence of multiple versions of the "tbb.dll" on your system. "tbb.dll" is part of Intel's Threading Building Blocks library, and a copy of it is also shipped with MATLAB and MATLAB Runtime.
The tbb.dll that comes with MATLAB can be found in '$MATLABROOT\bin\win64'. When the error occurs, your application is most likely picking up a different version of tbb.dll from the "C:\Windows\System32" folder.
There are two possible workarounds:
  1. Drag a copy of MATLAB's tbb.dll and place it within the same folder as your application file. The above workaround is to force the process to pick up the required version of tbb.dll.
  2. Back up the "tbb.dll" file in your C:\Window\System32 directory before removing it. This will restore functionality to your compiled MATLAB applications but may break the functionality of whichever 3rd party application that originally placed the "tbb.dll" file in your C:\Window\System32 directory. Once the exact 3rd party application can be verified, placing the backup "tbb.dll" directly in that application's installation directory should resolve the issue.
I hope this helps to resolve your issue!

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!