# DLL not found

**URL:** https://discourse.kitware.com/t/dll-not-found/499
**Category:** Pulse Physiology Engine
**Created:** [July 2, 2020, 10:56pm UTC](https://discourse.kitware.com/t/dll-not-found/499 "2020-07-02T22:56:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 2, 2020, 10:56pm UTC](https://discourse.kitware.com/t/dll-not-found/499/1 "2020-07-02T22:56:18Z")

</div>

Using the Release Candidate of Pulse Unity Asset v3.0 I have another problem when deploying the application to Android.

DllNotFoundException: PulseC  
at (wrapper managed-to-native) Pulse.PulseEngine.Allocate()  
at Pulse.PulseEngine…ctor () [0x00032] in \<73f77fe013e54870810128f91c96bf6f\>:0  
at PulseEngineDriver.Start () [0x0006a] in \Assets\PulsePhysiologyEngine\Scripts\PulseEngineDriver.cs:97

Do you know any way to solve this?

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 3, 2020, 2:41am UTC](https://discourse.kitware.com/t/dll-not-found/499/2 "2020-07-03T02:41:03Z")

</div>

Which PulseC library extension do you use when on Android?  
The .dll or .so ?  
Do you have to build it? or do you use one of the provided libraries in the Pulse asset?

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 7, 2020, 5:23pm UTC](https://discourse.kitware.com/t/dll-not-found/499/3 "2020-07-07T17:23:35Z")

</div>

Well, as far as I know, you use the .so on Android. However, I am using the provided libraries in the Pulse Asset. Am I doing something wrong?

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 7, 2020, 5:51pm UTC](https://discourse.kitware.com/t/dll-not-found/499/4 "2020-07-07T17:51:38Z")

</div>

I do not think there is a PulseC.so in the rc assets I provided  
So I believe that is the issue

I pushed up an rc3 asset file [here](https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5c75455a8d777f072b68351f)

That has a linux \*.so file in it, let me know how that works

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 21, 2020, 4:47pm UTC](https://discourse.kitware.com/t/dll-not-found/499/5 "2020-07-21T16:47:24Z")

</div>

Hi! This is the error I’m getting:

 ![Annotation 2020-07-21 124613](https://discourse.kitware.com/uploads/default/original/1X/9800417844ec5c0adf8900ad9e97f0184bc9708d.jpeg)

Still the same I was having before. I’m trying to solve it but if you have any ideas please let me know

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 21, 2020, 4:49pm UTC](https://discourse.kitware.com/t/dll-not-found/499/6 "2020-07-21T16:49:45Z")

</div>

To be clear (I have not run this on a Android platform)  
Does the current version of the Pulse Asset Run on your Android platform?

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 21, 2020, 4:55pm UTC](https://discourse.kitware.com/t/dll-not-found/499/7 "2020-07-21T16:55:38Z")

</div>

It doesn’t work but because of a different error. If I try to run the previous version of the Pulse Asset, it finds the Dll and builds perfectly but shows that no data has been provided given that on Android, you cannot use the StreamingAssets folder.

This was the reason why I asked for the new version as the StreamingAssets folder is not needed on v3.0

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 21, 2020, 5:09pm UTC](https://discourse.kitware.com/t/dll-not-found/499/8 "2020-07-21T17:09:33Z")

</div>

Hi, Here’s the complete error just in case

 ![Annotation 2020-07-21 124613](https://discourse.kitware.com/uploads/default/original/1X/e9b63653a3b1e6b35a5e8a521aa59211d43d489e.jpeg)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 21, 2020, 5:12pm UTC](https://discourse.kitware.com/t/dll-not-found/499/9 "2020-07-21T17:12:22Z")

</div>

Have you tried to view the PulseC.so object in the Unity Editor and tweeked the Target OS options?  
Maybe you need to change that to Any OS  
There also may be other options on the adjacent tab (with the underlined down arrow)

 ![image](https://discourse.kitware.com/uploads/default/original/1X/862628d1c2f25382f5500e2130bc548da88311cf.png)

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 21, 2020, 5:23pm UTC](https://discourse.kitware.com/t/dll-not-found/499/10 "2020-07-21T17:23:37Z")

</div>

Yes! I changed that and also the scripting backend but I only got another error

 ![Annotation 2020-07-21 124613](https://discourse.kitware.com/uploads/default/original/1X/41980acb885c8731b2ab9cc3af43ee910f05c61e.jpeg)

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 21, 2020, 5:38pm UTC](https://discourse.kitware.com/t/dll-not-found/499/11 "2020-07-21T17:38:46Z")

</div>

So now Unity knows about it, and is trying to load it, and it seems incompatible with the library loader on the target platform…

The provided PulseC.so was built on an Ubuntu 18 system (It was an Ubuntu 16 system before)

So I would say that I probably need to have a PulseC.so that is built on a ARM64 Linux version? I bet you were loading the PulseC.so from the magic leap build (which is a Linux ARM64 flavor that I cross compiled)

I will see if I can get a PulseC.so for magic leap for you to try out

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 21, 2020, 5:42pm UTC](https://discourse.kitware.com/t/dll-not-found/499/12 "2020-07-21T17:42:20Z")

</div>

Thank you very much for your help with this. I will test the PulseC.so and will let you know if it works on Android. I will also try to find the cause of the error

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 23, 2020, 2:24am UTC](https://discourse.kitware.com/t/dll-not-found/499/13 "2020-07-23T02:24:19Z")

</div>

Hi Degly

Can you download this [PulseC.so](https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5f18f4039014a6d84e333e80) and see if it works

It built from this [docker container](https://hub.docker.com/r/dockcross/android-arm64), so I believe it should work for any Android device

Keep me posted

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 23, 2020, 2:25am UTC](https://discourse.kitware.com/t/dll-not-found/499/14 "2020-07-23T02:25:34Z")

</div>

Hi Abray,

I will try it right away. Thank you

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 23, 2020, 3:03am UTC](https://discourse.kitware.com/t/dll-not-found/499/15 "2020-07-23T03:03:34Z")

</div>

So I tried it and sadly it did not work.

 ![Annotation 2020-07-21 124613](https://discourse.kitware.com/uploads/default/original/1X/ff69b7c404a1e8ba1ec875e331af16d826800b50.jpeg)  
I tried with multiple Scripting Backends but only IL2CPP finds the Dll. If I change it, it doesn’t even find the file

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 23, 2020, 3:05am UTC](https://discourse.kitware.com/t/dll-not-found/499/16 "2020-07-23T03:05:58Z")

</div>

What is the hardware you are using again?

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 23, 2020, 3:07am UTC](https://discourse.kitware.com/t/dll-not-found/499/17 "2020-07-23T03:07:16Z")

</div>

It’s just a regular Android device. I’ve tried it in multiple and it just doesn’t work on Android

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 23, 2020, 3:10am UTC](https://discourse.kitware.com/t/dll-not-found/499/18 "2020-07-23T03:10:50Z")

</div>

I find it interesting because on the previous version of the Pulse Asset, it worked (found the dll) with no problem

---

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [July 23, 2020, 3:11am UTC](https://discourse.kitware.com/t/dll-not-found/499/19 "2020-07-23T03:11:24Z")

</div>

I can try [https://hub.docker.com/r/dockcross/android-arm](https://hub.docker.com/r/dockcross/android-arm)

Is regular android 64bit?

---

<div class="post-metadata">

### Author: ![Degly](https://discourse.kitware.com/user_avatar/discourse.kitware.com/degly/32/263_2.png) [@Degly](https://discourse.kitware.com/u/Degly)
#### Post date: [July 23, 2020, 3:14am UTC](https://discourse.kitware.com/t/dll-not-found/499/20 "2020-07-23T03:14:03Z")

</div>

I am using ARMv7 to build it

[Next page](https://discourse.kitware.com/t/dll-not-found/499.md?page=2)
