# Uisng Pulse for HoloLens 2 with ARM platform build

**URL:** https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421
**Category:** Pulse Physiology Engine
**Created:** [March 18, 2020, 1:55pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421 "2020-03-18T13:55:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 18, 2020, 1:55pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/1 "2020-03-18T13:55:24Z")

</div>

I just tried to build Demo scene on HoloLens but didn’t found the pulse are working on those boards,  
what i did is i made arm folder and copied the PulseC from windows in it , cause it gave me error first time when it tried to copy the dll from arm folder.  
also added link.xml in project.Build got succeeded but didn’t see any pulses on the board.

Any thoughts ?  
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: [March 18, 2020, 2:14pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/2 "2020-03-18T14:14:07Z")

</div>

I believe you need to build the PulseC.dll with an ARM64 target

I have built one here: [https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5e4e9f0baf2e2eed35bb0445](https://data.kitware.com/#collection/59849c788d777f7d33e9c084/folder/5e4e9f0baf2e2eed35bb0445)

Replace the PulseC.dll in our Unity Asset with this one.

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 18, 2020, 2:22pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/3 "2020-03-18T14:22:24Z")

</div>

Do i need other dll’s too?

---

<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: [March 18, 2020, 2:28pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/4 "2020-03-18T14:28:57Z")

</div>

Yeah, the other 2 are Microsoft redistributables that go along with the compiler I used to make the PulseC.dll, so you should probably grab those too

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 18, 2020, 3:06pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/5 "2020-03-18T15:06:41Z")

</div>

still dint work , i’m getting DllNotFound exception for PulseC .i pasted the dll in arm folder under plugins, i saw you have PulseC\_arm.dll in that zip, so which one i need to use?

---

<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: [March 18, 2020, 3:08pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/6 "2020-03-18T15:08:32Z")

</div>

You need to rename the PulseC\_arm.dll to PulseC.dll and replace the original one in the native windows folder

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 10:44am UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/7 "2020-03-19T10:44:00Z")

</div>

Still no luck, ☹  
i’m getting this error when i try to build the app using VS solution created by Unity , : error MSB3030: Could not copy the file “…\Plugins\ARM\PulseC.dll” because it was not found .  
I copied that dll into Native-Win folder , 2nd time also made one copy of dll into Native-ARM Folder still no luck.

---

<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: [March 19, 2020, 2:48pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/8 "2020-03-19T14:48:00Z")

</div>

It sounds like something in your project may not be configured correctly  
Ensure the PulseC.dll is properly associated with windows and you are building for x86\_64

I believe they may need to be under a Native folder in Plugins?

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 2:50pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/9 "2020-03-19T14:50:28Z")

</div>

i’m Building for ARM

---

<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: [March 19, 2020, 2:57pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/10 "2020-03-19T14:57:58Z")

</div>

Sure, but from a Unity perspective, I am not sure if you need to configure your project any different or not. I do not actually have any of those fun toys. I suppose you just need to tag the PulseC.dll with the proper meta data for Unity to know what to do with it.

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 3:11pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/11 "2020-03-19T15:11:19Z")

</div>

Okay, so this is the configuration i’m using .

 ![image](https://discourse.kitware.com/uploads/default/original/1X/2de795e1fc052e86d30eedb26ace5a3601e9f166.png)  
i just completed the build when i set all this config setup.But pulses are not moving. ☹

---

<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: [March 19, 2020, 3:15pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/12 "2020-03-19T15:15:17Z")

</div>

Is there anything in the Log?  
Did you copy up the StreamingAssests folder from inside PulsePhysiologyEngine under your Assets folder?  
Are you running in just the editor, or actually building and deploying onto the HoloLens?

You can try to just run the VitalsMonitor Demo under the PulsePhysiologyEngine scene…

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 3:25pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/13 "2020-03-19T15:25:35Z")

</div>

yes i’ve copied all the streaming assets into root assets folder.  
yes i’m actually building the app on HoloLens 2, and i’m getting “DllNotFound exception: unable to found PulseC.dll: the specified module could not found” message in developer log window. when i run the Vitals monitor demo.

---

<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: [March 19, 2020, 3:32pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/14 "2020-03-19T15:32:59Z")

</div>

Ok  
If you run inside the Unity editor, you may need to have the original windows PulseC.dll  
Since you are running that on your development machine

When you actually build to the HoloLens and run, is the dll still missing there as well?

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 3:36pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/15 "2020-03-19T15:36:51Z")

</div>

Okay so yes , it works well in editor when i use the original windows dll.  
and i get this error message when i actually runs the app in hololens, using the ARM version of dll. and above Config

---

<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: [March 19, 2020, 3:42pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/16 "2020-03-19T15:42:44Z")

</div>

Can you check the unity logging system  
Somewhere in your user AppData\Local\application folder there should be some logs from unity in there. Maybe it will have some more detailed information

Did you add those other 2 dlls to your arm folder and mark them as ARM as well?

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 3:53pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/17 "2020-03-19T15:53:35Z")

</div>

Actually it runs well in Editor so no error log, but in hololens i can see the error log i copied above in developer log windows .  
Ohh yes i need to make that change for those dlls also, let me give a try.  
BTW i also added PulseC in link.xml, so oi will not get stripped while il2cpp converion.

---

<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: [March 19, 2020, 3:55pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/18 "2020-03-19T15:55:13Z")

</div>

Oh yeah?  
What does that look like in the link.xml

`<assembly fullname="PulseC" preserve="all"/>`

Something like that?

---

<div class="post-metadata">

### Author: ![anand.mulay](https://discourse.kitware.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@anand.mulay](https://discourse.kitware.com/u/anand.mulay)
#### Post date: [March 19, 2020, 4:21pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/19 "2020-03-19T16:21:10Z")

</div>

Okay so i added ARM for those other 2 dll’s, still i’m getting DLL not Found exception , its strange why its not getting the dll ☹

yeah it looks like this:  
-

```
<assembly preserve="all" fullname="System"/>

<assembly preserve="all" fullname="Google.Protobuf"/>

<assembly preserve="all" fullname="DataModelBindings"/>

<assembly preserve="all" fullname="PulseC"/>

</linker>
```

---

<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: [March 19, 2020, 4:28pm UTC](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421/20 "2020-03-19T16:28:28Z")

</div>

Yeah, that is pretty strange  
I would try to dig through Unity logs and see if there are other errors Unity might be having to see if that helps.

I just don’t have an easy way to test various deployment workflows on the HoloLens along with you. But maybe a log would provide more insight, like maybe there are missing dependencies, or some data files cannot be found… or something…

[Next page](https://discourse.kitware.com/t/uisng-pulse-for-hololens-2-with-arm-platform-build/421.md?page=2)
