# error building v5.1.1 for Mac Big Sur 11.2.3

**URL:** https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959
**Category:** Engineering
**Created:** [March 15, 2021, 8:57pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959 "2021-03-15T20:57:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Christian](https://discourse.itk.org/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://discourse.itk.org/u/Christian)
#### Post date: [March 15, 2021, 8:57pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/1 "2021-03-15T20:57:33Z")

</div>

Hi Guys,

I am getting this error when trying to build (I used the option Module\_ITKVtkGlue=ON) and make v5.1.1 for Mac Big Sur 11.2.3.

[40%] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloatingPointExceptions.cxx.o

In file included from  
ITK/Modules/Core/Common/src/itkFloatingPointExceptions.cxx:127:

**ITK/Modules/Core/Common/src/itkFloatingPointExceptions\_unix.cxx:140:3:**  **error:**  **use of undeclared identifier 'itk\_feenableexcept’**

itk\_feenableexcept(FE\_DIVBYZERO);

Any idea how to get around that?

Thanks

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [March 15, 2021, 8:59pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/2 "2021-03-15T20:59:33Z")

</div>

Use the latest pre-release ([5.2RC3](https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.2rc03)) or master, where that problem has been fixed.

---

<div class="post-metadata">

### Author: ![Christian](https://discourse.itk.org/letter_avatar_proxy/v4/letter/c/b2d939/32.png) [@Christian](https://discourse.itk.org/u/Christian)
#### Post date: [March 16, 2021, 3:58am UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/3 "2021-03-16T03:58:10Z")

</div>

Thanks! yes the master did build without issue.

---

<div class="post-metadata">

### Author: ![imikejackson](https://discourse.itk.org/user_avatar/discourse.itk.org/imikejackson/32/35_2.png) [@imikejackson](https://discourse.itk.org/u/imikejackson)
#### Post date: [March 16, 2021, 1:37pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/4 "2021-03-16T13:37:42Z")

</div>

There is also an Apple Silicon nightly build on [open.cdash.org](http://open.cdash.org). Just look for “[silicon.bluequartz.net](https://open.cdash.org/viewSite.php?siteid=70611&project=2&currenttime=1615856400)”. Currently there are 4 failing tests.

---

<div class="post-metadata">

### Author: ![AshishUthama](https://discourse.itk.org/user_avatar/discourse.itk.org/ashishuthama/32/2084_2.png) [@AshishUthama](https://discourse.itk.org/u/AshishUthama)
#### Post date: [May 18, 2021, 1:55pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/5 "2021-05-18T13:55:15Z")

</div>

@dzenanz , @imikejackson - any chance you know which commit fixed this particular issue? I am hoping to see if I can patch it myself to 5.1.2.

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [May 18, 2021, 2:36pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/6 "2021-05-18T14:36:05Z")

</div>

I don’t remember any more, going through the PRs is the way to find it, I think. Maybe @seanm contributed the fix?

---

<div class="post-metadata">

### Author: ![imikejackson](https://discourse.itk.org/user_avatar/discourse.itk.org/imikejackson/32/35_2.png) [@imikejackson](https://discourse.itk.org/u/imikejackson)
#### Post date: [May 19, 2021, 1:23pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/7 "2021-05-19T13:23:45Z")

</div>

I don’t remember either. I also probably didn’t compile the VtkGlue module (unless it was a default). There were some other issues that came up with BigSur on Silicon during compilation and I would just move up to ITK 5.2 if you at all can.

My guess is that **itk\_feenableexcept** is only getting defined with the CPU type is x86. You would have to trace back through the #defines to figure out when that happens and why it is failing, then look over the MRs for ITK.

---

<div class="post-metadata">

### Author: ![AshishUthama](https://discourse.itk.org/user_avatar/discourse.itk.org/ashishuthama/32/2084_2.png) [@AshishUthama](https://discourse.itk.org/u/AshishUthama)
#### Post date: [May 19, 2021, 2:56pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959/8 "2021-05-19T14:56:30Z")

</div>

Thanks for the replies!  
(Will attempt 5.2)
