# SlicerMarkupsToModel does not build : since Slicer commit 997de030a6

**URL:** <https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402>\
**Category:** Support\
**Created:** [February 23, 2020, 10:12am UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402 "2020-02-23T10:12:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [February 23, 2020, 10:12am UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/1 "2020-02-23T10:12:00Z")

</div>

Since Slicer commit 997de030a6cd340b9f389c5bf54e8cacb55ddced, SlicerMarkupsToModel fails to build on Linux with missing curveGenerator-\>SetInputPoints and curveGenerator-\>GetOutputPoints. These are indeed discarded in this commit.

FYI.

Hopefully, SlicerMarkupsToModel update may follow.

Regards.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 23, 2020, 3:15pm UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/2 "2020-02-23T15:15:28Z")

</div>

Thanks for reporting this. We have made the curve generator a real VTK filter and it seems that we were not careful enough to keep the API fully backward compatible. We’ll fix this soon. @Sunderlandkyl can you have a look?

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [February 23, 2020, 3:31pm UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/3 "2020-02-23T15:31:20Z")

</div>

Sure. Is the fix to make the input port optional and re-add the old methods, or just update MarkupsToModel?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 23, 2020, 4:59pm UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/4 "2020-02-23T16:59:14Z")

</div>

Adding back the methods (that call SetInputData and GetOutput internally, maybe also Update) should work.

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [February 25, 2020, 5:38pm UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/5 "2020-02-25T17:38:25Z")

</div>

MarkupsToModel is now building again in the latest nightly preview.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [February 25, 2020, 7:25pm UTC](https://discourse.slicer.org/t/slicermarkupstomodel-does-not-build-since-slicer-commit-997de030a6/10402/6 "2020-02-25T19:25:07Z")

</div>

Yes, it builds and works. Thanks.
