# Problem with mesa super build of ParaView 5.6.0-RC3

**URL:** https://discourse.paraview.org/t/problem-with-mesa-super-build-of-paraview-5-6-0-rc3/866
**Category:** Development
**Created:** [November 7, 2018, 9:26pm UTC](https://discourse.paraview.org/t/problem-with-mesa-super-build-of-paraview-5-6-0-rc3/866 "2018-11-07T21:26:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [November 7, 2018, 9:26pm UTC](https://discourse.paraview.org/t/problem-with-mesa-super-build-of-paraview-5-6-0-rc3/866/1 "2018-11-07T21:26:11Z")

</div>

Hello,

I ran into an issue with the Mesa build of ParaView 5.6.0-RC3  
I could not get LLVM to build. The superbuild failed here

[74%] Linking CXX shared library …/libLLVMWindowsManifest.so  
/usr/bin/ld: cannot find -lxml2  
collect2: error: ld returned 1 exit status  
gmake[5]: \*\*\* [lib/libLLVMWindowsManifest.so.7] Error 1  
gmake[4]: \*\*\* [lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/all] Error 2  
gmake[3]: \*\*\* [all] Error 2  
CMake Error at /home/joeh/PV/Build\_5.6.0-RC3\_mesa/superbuild/sb-llvm-build.cmake:47 (message):  
Failed with exit code 2

and I had to modify the file Build\_5.6.0-RC3\_mesa/superbuild/llvm/build/lib/WindowsManifest/CMakeFiles/LLVMWindowsManifest.dir/link.txt

/usr/bin/g++ -fPIC -fPIC -std=c++11 -fPIC -fvisibility-inlines-hidden -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/joeh/PV/Build\_5.6.0-RC3\_mesa/superbuild/llvm/build/./lib -Wl,-O3 -Wl,–gc-sections -Wl,-z,defs -Wl,-z,nodelete -shared -Wl,-soname,libLLVMWindowsManifest.so.7 -o …/libLLVMWindowsManifest.so.7 CMakeFiles/LLVMWindowsManifest.dir/WindowsManifestMerger.cpp.o -Wl,-rpath,"$ORIGIN/…/lib" -lxml2 …/libLLVMSupport.so.7

adding

-L/home/joeh/PV/Build\_5.6.0-RC3\_mesa/install/lib

to the end of the file in order to continue compilation.

I was using these flags on a RHEL 7.6 workstation with the superbuild source installed in

/home/joeh/PV/Source\_5.6.0

and the downloaded tar balls all in

/home/joeh/PV/Downloads

####################################

paraview\_version=5.6.0-RC3  
cmake\_version=3.11.4  
build\_extension=\_mesa

cmake   
-DCMAKE\_INSTALL\_PREFIX:PATH=`pwd`/…/…/pv-test/${paraview\_version}${build\_extension}   
-DCMAKE\_BUILD\_TYPE=Release   
-DParaView\_FROM\_GIT=OFF   
-Dsuperbuild\_download\_location=`pwd`/…/Downloads   
-DParaView\_URL=`pwd`/…/Downloads/ParaView-v${paraview\_version}-source.tar.gz   
-DENABLE\_boost=ON   
-DBoost\_NO\_BOOST\_CMAKE:BOOL=ON   
-DENABLE\_visitbridge:BOOL=ON   
-DENABLE\_ffmpeg=ON   
-DENABLE\_hdf5=ON   
-DENABLE\_fontconfig=ON   
-DENABLE\_freetype=ON   
-DENABLE\_libxml2=ON   
-DENABLE\_matplotlib=OFF   
-DENABLE\_osmesa=OFF   
-DENABLE\_mesa=ON   
-DENABLE\_mpi=ON   
-DENABLE\_numpy=ON   
-DENABLE\_ospray=ON   
-DENABLE\_cxx11=ON   
-DENABLE\_paraview=ON   
-DENABLE\_paraviewweb=ON   
-DENABLE\_python=ON   
-DENABLE\_qt5=ON   
-DENABLE\_png=ON   
-DENABLE\_qhull=ON   
-DENABLE\_szip=ON   
-DPARAVIEW\_USE\_VISITBRIDGE=ON   
-DENABLE\_cgns=OFF   
-DENABLE\_silo=ON   
-DUSE\_SYSTEM\_mpi=OFF   
-DUSE\_SYSTEM\_python=OFF   
-DUSE\_SYSTEM\_zlib=OFF   
-DSUPERBUILD\_PROJECT\_PARALLELISM=1   
-Dparaview\_SOURCE\_SELECTION=“5.6.0-RC3”   
-Dvtkm\_SOURCE\_SELECTION=“stable”   
-DPARAVIEW\_RENDERING\_BACKEND:STRING=“OpenGL2”   
-DVTK\_RENDERING\_BACKEND:STRING=“OpenGL2”   
…/Source\_5.6.0

make install

####################################

any ideas?

Thanks,

Joe

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [November 7, 2018, 9:28pm UTC](https://discourse.paraview.org/t/problem-with-mesa-super-build-of-paraview-5-6-0-rc3/866/2 "2018-11-07T21:28:43Z")

</div>

Joe,

I fixed this today and it will be available in the v5.6.0 tag of ParaView superbuild.

Cory

---

<div class="post-metadata">

### Author: ![joeh](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@joeh](https://discourse.paraview.org/u/joeh)
#### Post date: [November 8, 2018, 5:56am UTC](https://discourse.paraview.org/t/problem-with-mesa-super-build-of-paraview-5-6-0-rc3/866/3 "2018-11-08T05:56:13Z")

</div>

Cory,

Thanks, for the quick response, I am glad the fix will be in the v5.6.0 tag of the ParaView superbuild.

Joe
