x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

"can't find DLL error" for DLL dependency of plugin DLL

I am trying to call functions from a DLL (mlpack.dll) that itself depends on another pair of precompiled DLLs, but whenever I attempt to load mlpack.dll using FPlatformProcess::GetDllHandle I receive a "System Error" message saying that a dependency DLL (blas_lib64_MT) is missing from the computer. I have set the system PATH and Path variables (OS is Win 7) to include the dependency DLL location but this does not fix the issue. I also tried to manually load the dependency DLLs by including them in a Plugins directory similar to:

https://answers.unrealengine.com/questions/427772/adding-dll-path-for-plugin.html

but this also results in the same error. Any ideas on how to fix this?

Also: I compiled mlpack.dll as a separate Visual Studio project outside of the UE4 project. Could that cause this issue? Thanks.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 21 '16 at 08:40 PM in C++ Programming

avatar image

wrighth
1 1 2 2

avatar image wrighth Jul 22 '16 at 05:44 PM

It appears that placing the dependencies in System32 at least allows for the engine to load the DLL correctly. It would still be nice to have a more elegant solution for distribution, though.

avatar image k3yart Nov 20 '16 at 02:40 PM

Easy,solution is to put the DLL near to you binaries,and everything will works fine. But when you loading the dll?Does the Path to dll is correct?check it.

Also: I compiled mlpack.dll as a separate Visual Studio project outside of the UE4 project. Could that cause this issue? Thanks.

Answer : No,but it should be x64 dll.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question