# Compile after adding a new sensor material

**URL:** <https://allpix-squared-forum.web.cern.ch/t/compile-after-adding-a-new-sensor-material/634>\
**Category:** Development\
**Created:** [September 10, 2024, 12:38am UTC](https://allpix-squared-forum.web.cern.ch/t/compile-after-adding-a-new-sensor-material/634 "2024-09-10T00:38:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hchu](https://allpix-squared-forum.web.cern.ch/letter_avatar_proxy/v4/letter/h/ee7513/32.png) [@hchu](https://allpix-squared-forum.web.cern.ch/u/hchu)\
**Post date:** [September 10, 2024, 12:38am UTC](https://allpix-squared-forum.web.cern.ch/t/compile-after-adding-a-new-sensor-material/634/1 "2024-09-10T00:38:05Z")

</div>

Hi, I’m trying to add a new sensor material by following **[13.5] How do I add a new sensor material?** in the manual. I revised the files mentioned on the manual (the steps from the screenshot), but I think the change is not updated in the system. When I execute the code, it still says it is the invalid value in Sensor material. It seems that there is an additional step to compile these files, how can I do it?

Thanks.

 ![Screenshot 2024-09-09 at 5.37.01 PM](https://allpix-squared-forum.web.cern.ch/uploads/default/original/1X/b24fbc3038f1f4985c5da62ae31e92f5e3942813.png)

---

<div class="post-metadata">

**Author:** ![pschutze](https://allpix-squared-forum.web.cern.ch/letter_avatar_proxy/v4/letter/p/45deac/32.png) [@pschutze](https://allpix-squared-forum.web.cern.ch/u/pschutze)\
**Post date:** [September 10, 2024, 7:03am UTC](https://allpix-squared-forum.web.cern.ch/t/compile-after-adding-a-new-sensor-material/634/2 "2024-09-10T07:03:04Z")

</div>

Closed on September 10, 2024, 7:03am UTC



---

<div class="post-metadata">

**Author:** ![pschutze](https://allpix-squared-forum.web.cern.ch/letter_avatar_proxy/v4/letter/p/45deac/32.png) [@pschutze](https://allpix-squared-forum.web.cern.ch/u/pschutze)\
**Post date:** [September 10, 2024, 7:03am UTC](https://allpix-squared-forum.web.cern.ch/t/compile-after-adding-a-new-sensor-material/634/3 "2024-09-10T07:03:29Z")

</div>

See this [discussion](https://allpix-squared-forum.web.cern.ch/t/adding-additional-active-sensor/627).
