# Error SSE3 with paraview-superbuild and ospray

**URL:** https://discourse.paraview.org/t/error-sse3-with-paraview-superbuild-and-ospray/7357
**Category:** ParaView Support
**Created:** [June 4, 2021, 6:33pm UTC](https://discourse.paraview.org/t/error-sse3-with-paraview-superbuild-and-ospray/7357 "2021-06-04T18:33:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jleparoux](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jleparoux/32/7843_2.png) [@jleparoux](https://discourse.paraview.org/u/jleparoux)
#### Post date: [June 4, 2021, 6:33pm UTC](https://discourse.paraview.org/t/error-sse3-with-paraview-superbuild-and-ospray/7357/1 "2021-06-04T18:33:22Z")

</div>

Hi all,  
I am trying to build Paraview 5.9.1 on linux system with superbuild and with some advanced options activated, among others : ospray and mpi.

Everything was ok until ospray part which required to install “openimagedenoise”. This module encountered an error about SSE3 and I didn’t find any solutions to solve enable it.

Anyone else to help me ?

Below the complete error :  
[…]  
[60%] Built target ospraymaterials  
[60%] Performing build step for ‘openimagedenoise’  
[1%] Building CXX object common/CMakeFiles/common.dir/platform.cpp.o  
In file included from /my\_path/PARAVIEW/5.9.1/superbuild\_591/superbuild/openimagedenoise/src/common/platform.h:19:0,  
from /my\_path/PARAVIEW/5.9.1/superbuild\_591/superbuild/openimagedenoise/src/common/platform.cpp:4:  
/usr/lib/gcc/x86\_64-redhat-linux/4.8.5/include/pmmintrin.h:31:3: error: #error “SSE3 instruction set not enabled”  
'# error “SSE3 instruction set not enabled”  
^  
gmake[5]: \*\*\* [common/CMakeFiles/common.dir/platform.cpp.o] Error 1  
gmake[4]: \*\*\* [common/CMakeFiles/common.dir/all] Error 2  
gmake[3]: \*\*\* [all] Error 2  
CMake Error at /my\_path/PARAVIEW/5.9.1/superbuild\_591/superbuild/sb-openimagedenoise-build.cmake:47 (message):  
Failed with exit code 2

make[2]: \*\*\* [superbuild/openimagedenoise/stamp/openimagedenoise-build] Error 1  
make[1]: \*\*\* [superbuild/CMakeFiles/openimagedenoise.dir/all] Error 2  
make: \*\*\* [all] Error 2

Many thanks for your support,  
Julien

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave_demarle/32/27_2.png) [@Dave\_DeMarle](https://discourse.paraview.org/u/Dave_DeMarle)
#### Post date: [June 4, 2021, 9:03pm UTC](https://discourse.paraview.org/t/error-sse3-with-paraview-superbuild-and-ospray/7357/2 "2021-06-04T21:03:56Z")

</div>

openimagedenoise is recommended but not actually a requirement for ospray. It is a bug that paraview’s superbuild thinks it is.

My recommendation is for you to edit lines 14 and 24 of this file in your superbuild source to remove the dependency.  
[projects/ospray.cmake · master · ParaView / ParaView-Superbuild · GitLab (kitware.com)](https://gitlab.kitware.com/paraview/paraview-superbuild/-/blob/master/projects/ospray.cmake)

---

<div class="post-metadata">

### Author: ![jleparoux](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jleparoux/32/7843_2.png) [@jleparoux](https://discourse.paraview.org/u/jleparoux)
#### Post date: [June 4, 2021, 9:31pm UTC](https://discourse.paraview.org/t/error-sse3-with-paraview-superbuild-and-ospray/7357/3 "2021-06-04T21:31:20Z")

</div>

> [@Dave\_DeMarle](#):
>
> mmendation is for you to edit lines 14 and 24 of this file in your supe

Hi Dave,  
Thanks for your answer. Good news, I will try it !

For others, if OpenImageNoise is required, I found a solution by adding the flag “-msse3” to the c++ compiler in the cmake file (CMakeCache.txt) of the module.

See the file below:  
/my\_path/PARAVIEW/5.9.1/superbuild\_591/superbuild/openimagedenoise/build/CMakeCache.txt

add -msse3, line 41 of this file: “CMAKE\_CXX\_FLAGS:STRING=-fPIC -std=c++11 -msse3”

Many thanks and have a good weekend !
