# 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:** 6

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 5:58pm UTC](https://discourse.kitware.com/t/dll-not-found/499/101 "2020-07-31T17:58:00Z")

</div>

That worked, now I get:

```
07-31 18:55:56.070 25703 25720 I Unity : SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 2682mb
07-31 18:55:56.070 25703 25720 I Unity : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
07-31 18:55:56.071 25703 25720 I Unity : ApplicationInfo com.DefaultCompany.testproj version 0.1 build ac964d5b-869e-49c3-a24e-13147cbb7786
07-31 18:55:56.071 25703 25720 I Unity : Built from '2019.4/staging' branch, Version '2019.4.5f1 (81610f64359c)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
07-31 18:56:01.033 25703 25720 E Unity : PulsePhysiologyEngine: Unable to load state file {
07-31 18:56:01.033 25703 25720 E Unity : "Intubation": "Off",
07-31 18:56:01.033 25703 25720 E Unity : "SimulationTime": {
07-31 18:56:01.033 25703 25720 E Unity : "ScalarTime": {
07-31 18:56:01.033 25703 25720 E Unity : "Unit": "s"
07-31 18:56:01.033 25703 25720 E Unity : }
07-31 18:56:01.033 25703 25720 E Unity : },
07-31 18:56:01.033 25703 25720 E Unity : "CurrentPatient": {
07-31 18:56:01.033 25703 25720 E Unity : "Name": "StandardMale",
07-31 18:56:01.033 25703 25720 E Unity : "Age": {
07-31 18:56:01.033 25703 25720 E Unity : "ScalarTime": {
07-31 18:56:01.033 25703 25720 E Unity : "Value": 44,
07-31 18:56:01.033 25703 25720 E Unity : "Unit": "yr"
07-31 18:56:01.033 25703 25720 E Unity : }
07-31 18:56:01.033 25703 25720 E Unity : },
07-31 18:56:01.033 25703 25720 E Unity : "Weight": {
07-31 18:56:01.033 25703 25720 E Unity : "ScalarMass": {
07-31 18:56:01.033 25703 25720 E Unity : "Value": 170,
07-31 18:56:01.033 25703 25720 E Unity : "Unit": "lb"
07-31 18:56:01.033 25703 25720 E Unity : }
07-31 18:56:01.033 25703 25720 E Unity : },
07-31 18:56:01.033 25703 25720 E Unity : "Height": {
07-31 18:56:01.033 25703 25720 E Unity : "ScalarLength": {
07-31 18:56:01.033 25703 25720 E Unity : "Value": 71,
07-31 18:56:01.033 25703 25720 E Unity : "Unit": "in"
07-31 18:56:01.033 25703 25720 E Unity : }
07-31 18:56:01.033 25703 25720 E Unity : },
07-31 18:56:01.033 25703 25720 E Unity : "BodyDensity": {
07-31 18:56:01.033 25703 25720 E Unity : "ScalarMassPerVolume": {
07-31 18:56:01.033 25703 25720 E Unity : "Value": 1.0505236628887222,
07-31 18:56:01.033 25703 25720 E Unity : "Unit": "g/cm^3"
07-31 18:56:01.033 25703 25720 E Unity : }
07-31 18:56:01.033 25703 25720 E Unity : },

```

I didn’t change anything in the scene…

---

<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 31, 2020, 6:00pm UTC](https://discourse.kitware.com/t/dll-not-found/499/102 "2020-07-31T18:00:35Z")

</div>

Can you grab the StandardMale@0s.pbb in the [examples folder](https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5f22bb599014a6d84e4af03d)

I assume things are out of sync between 3.0.0 and 3.0.2

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 6:06pm UTC](https://discourse.kitware.com/t/dll-not-found/499/103 "2020-07-31T18:06:49Z")

</div>

On Unity it has .json files, can I use .pbb there?

---

<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 31, 2020, 6:08pm UTC](https://discourse.kitware.com/t/dll-not-found/499/104 "2020-07-31T18:08:29Z")

</div>

Yeah, Pulse will know what to do based on the file extension

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 6:29pm UTC](https://discourse.kitware.com/t/dll-not-found/499/105 "2020-07-31T18:29:08Z")

</div>

But Unity’s PulseEngineDriver expects a TextAsset… also the SerializeFromString expects text… Should I try to change all of that to accept a 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 31, 2020, 6:33pm UTC](https://discourse.kitware.com/t/dll-not-found/499/106 "2020-07-31T18:33:51Z")

</div>

That is true  
I should probably update that to a file so you can drag the pbb file into that control  
But I pushed up the json file in the [example folder](https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5f22bb599014a6d84e4af03d)

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 6:53pm UTC](https://discourse.kitware.com/t/dll-not-found/499/107 "2020-07-31T18:53:34Z")

</div>

IL2CPP with ARMV8 is Working!! 😃

Edit: Nevermind, It’s working for ARMv7 as well!!

---

<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 31, 2020, 6:56pm UTC](https://discourse.kitware.com/t/dll-not-found/499/108 "2020-07-31T18:56:38Z")

</div>

I have lost track at this point…

I’ll need to clean up all my scripts and build it fresh again.

That is great news about arm v8 support.

I should be able to get the v7 stuff up tonight.

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 6:58pm UTC](https://discourse.kitware.com/t/dll-not-found/499/109 "2020-07-31T18:58:04Z")

</div>

I edited my post, It’s working on both!

Great job!!

---

<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 31, 2020, 6:58pm UTC](https://discourse.kitware.com/t/dll-not-found/499/110 "2020-07-31T18:58:35Z")

</div>

Oh! Awesome, v7 is too!

I hope to get this unity asset up next week

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [July 31, 2020, 7:01pm UTC](https://discourse.kitware.com/t/dll-not-found/499/111 "2020-07-31T19:01:59Z")

</div>

Whenever you have a RC version of the package I can give it test if you want

---

<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: [August 1, 2020, 12:04am UTC](https://discourse.kitware.com/t/dll-not-found/499/112 "2020-08-01T00:04:33Z")

</div>

Sounds good.  
Do you have any opinions on what Android OS I should target?

Minimum Unit API is 19/KitKat  
And Pulse seems to work fine with that…  
I have no idea if it’s just better to be on the latest android API level, or support an older version so we are compatible with more devices

I would think that keeping with level 19 would be fine, (and its pretty easy to update if somebody requests it) so I am leaning towards sticking with level 19

Thoughts?

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [August 1, 2020, 8:27am UTC](https://discourse.kitware.com/t/dll-not-found/499/113 "2020-08-01T08:27:16Z")

</div>

Unless you didn’t want to have the engine work on low end devices due to performance issues, I don’t see a reason why not target the lowest possible.

I agree that keeping with 19 is fine, I don’t imagine someone asking for a lower one.

---

<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: [August 3, 2020, 1:01pm UTC](https://discourse.kitware.com/t/dll-not-found/499/114 "2020-08-03T13:01:15Z")

</div>

Did you have to do anything to get the VitalsMonitor scene running on android?  
I can run via adb shell  
But my unity app is not able to load the same PulseC  
Usually this is due to not having the LD\_LIBRARY\_PATH not set in shell mode  
But not sure how you tell that to Unity…

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [August 3, 2020, 1:03pm UTC](https://discourse.kitware.com/t/dll-not-found/499/115 "2020-08-03T13:03:05Z")

</div>

Make sure the .so files are under Plugins/Android and have “lib” prefix, here’s my hierarchy:

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

---

<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: [August 3, 2020, 2:00pm UTC](https://discourse.kitware.com/t/dll-not-found/499/116 "2020-08-03T14:00:13Z")

</div>

Yep, just changing the name seemed to work  
Thanks!

---

<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: [August 4, 2020, 9:11pm UTC](https://discourse.kitware.com/t/dll-not-found/499/117 "2020-08-04T21:11:42Z")

</div>

@vascoptorres

Here is what I plan to upload to the unity store this week, do you have time to give it a run?

[https://data.kitware.com/api/v1/item/5f29cbbe9014a6d84e572a5d/download](https://data.kitware.com/api/v1/item/5f29cbbe9014a6d84e572a5d/download)

---

<div class="post-metadata">

### Author: ![vascoptorres](https://discourse.kitware.com/user_avatar/discourse.kitware.com/vascoptorres/32/319_2.png) [@vascoptorres](https://discourse.kitware.com/u/vascoptorres)
#### Post date: [August 4, 2020, 9:58pm UTC](https://discourse.kitware.com/t/dll-not-found/499/118 "2020-08-04T21:58:08Z")

</div>

Tested both ARMv7 and ARMv8 and they are working, tested with different states as well

---

<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: [August 4, 2020, 9:59pm UTC](https://discourse.kitware.com/t/dll-not-found/499/119 "2020-08-04T21:59:04Z")

</div>

awesome!  
Thanks!

---

<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: [August 4, 2020, 10:02pm UTC](https://discourse.kitware.com/t/dll-not-found/499/120 "2020-08-04T22:02:36Z")

</div>

Oh amazing! I will test it right now!

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

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