# Build VeloView Problem

**URL:** https://discourse.paraview.org/t/build-veloview-problem/8189
**Category:** LidarView, Lidar, and SLAM
**Created:** [October 14, 2021, 12:38pm UTC](https://discourse.paraview.org/t/build-veloview-problem/8189 "2021-10-14T12:38:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![PK.ZHAO](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/f17d59/32.png) [@PK.ZHAO](https://discourse.paraview.org/u/PK.ZHAO)
#### Post date: [October 14, 2021, 12:38pm UTC](https://discourse.paraview.org/t/build-veloview-problem/8189/1 "2021-10-14T12:38:48Z")

</div>

Recently, I follow [LidarView\_Developer\_Guide](https://gitlab.kitware.com/LidarView/lidarview-core/-/blob/master/Documentation/LidarView_Developer_Guide.md) to build VeloView  
It occurred some errors:

/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/  
D:\buildVeloView\>cmake D:\Middleware\VeloView\SourceCode\VeloView-Velodyne-master\Superbuild -GNinja -DCMAKE\_BUILD\_TYPE=Release -DUSE\_SYSTEM\_qt5=True -DQt5\_DIR=“D:/Qt5.12.9/5.12.9/msvc2015\_64/lib/cmake/Qt5”  
– The C compiler identification is MSVC 19.0.24215.1  
– The CXX compiler identification is MSVC 19.0.24215.1  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Check for working C compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe - skipped  
– Detecting C compile features  
– Detecting C compile features - done  
– Detecting CXX compiler ABI info  
– Detecting CXX compiler ABI info - done  
– Check for working CXX compiler: D:/VisualStudio2015/VC/bin/amd64/cl.exe - skipped  
– Detecting CXX compile features  
– Detecting CXX compile features - done  
– Check size of void\*  
– Check size of void\* - done  
– Found Git: D:/Git2.33.1/cmd/git.exe (found version “2.33.1.windows.1”)  
– Determined source version for paraview: 5.9.0  
CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:847 (include):  
include could not find requested file:

```
pythonpythran

```

Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:167 (\_superbuild\_discover\_projects)

CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:847 (include):  
include could not find requested file:

```
pythongast

```

Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:167 (\_superbuild\_discover\_projects)

CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:847 (include):  
include could not find requested file:

```
pythonbeniget

```

Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:167 (\_superbuild\_discover\_projects)

CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:847 (include):  
include could not find requested file:

```
pythonply

```

Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:167 (\_superbuild\_discover\_projects)

– Enabling cxx11 as requested.  
– Enabling boost for: liblas, lidarview  
– Enabling python for: numpy  
CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:942 (set\_property):  
set\_property could not find CACHE variable ENABLE\_python. Perhaps it has  
not yet been created.  
Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:169 (superbuild\_process\_dependencies)

– Enabling python2 for: numpy  
CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:942 (set\_property):  
set\_property could not find CACHE variable ENABLE\_python2. Perhaps it has  
not yet been created.  
Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/CMakeLists.txt:169 (superbuild\_process\_dependencies)

– Enabling numpy for: lidarview  
– Enabling python3 for: lidarview, pythonqt  
– Enabling qt5 for: lidarview, pythonqt  
– Enabling liblas for: lidarview  
– Enabling paraview as requested.  
– Enabling pcap for: lidarview  
– Enabling eigen for: lidarview  
– Enabling yaml for: lidarview  
– Enabling pythonqt for: lidarview  
– Enabling lidarview as requested.  
– Building projects: cxx11, boost, python, python2, numpy, python3, qt5, liblas, paraview, pcap, eigen, yaml, pythonqt, lidarview  
CMake Warning (dev) at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:213 (message):  
Optional dependencies for python not found: python2  
Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:305 (superbuild\_add\_project)  
lidarview-superbuild/common-superbuild/projects/python.cmake:6 (superbuild\_add\_dummy\_project)  
lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:1080 (include)  
lidarview-superbuild/common-superbuild/CMakeLists.txt:169 (superbuild\_process\_dependencies)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:1240 (message):  
Missing revision information for python.  
Call Stack (most recent call first):  
lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:1081 (\_superbuild\_add\_project\_internal)  
lidarview-superbuild/common-superbuild/CMakeLists.txt:169 (superbuild\_process\_dependencies)

– Configuring incomplete, errors occurred!  
See also “D:/buildVeloView/CMakeFiles/CMakeOutput.log”.  
/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/

Can anyone help me? Thanks.

---

<div class="post-metadata">

### Author: ![Arnaud\_Billon](https://discourse.paraview.org/user_avatar/discourse.paraview.org/arnaud_billon/32/5989_2.png) [@Arnaud\_Billon](https://discourse.paraview.org/u/Arnaud_Billon)
#### Post date: [October 15, 2021, 8:36am UTC](https://discourse.paraview.org/t/build-veloview-problem/8189/2 "2021-10-15T08:36:19Z")

</div>

Based on the log you provided, your revision of master is based on ParaView 5.9.0, however LidarView has undergone a large software upgrade recently and I strongly recommend doind a clean build with either the latest master based on Paraview 5.9.1, or an older tag with associated Developper guide.

I can also see you are using MSVC19, but use a Qt5 designed for ‘msvc2015\_64’, did you select the right toolset prior to configuration or is this a mistake ?

---

<div class="post-metadata">

### Author: ![PK.ZHAO](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/f17d59/32.png) [@PK.ZHAO](https://discourse.paraview.org/u/PK.ZHAO)
#### Post date: [October 18, 2021, 6:20am UTC](https://discourse.paraview.org/t/build-veloview-problem/8189/3 "2021-10-18T06:20:12Z")

</div>

Hi Arnaud,

First of all, thanks for your reply.  
I did these with “VS2015 x64 Native Tools Command Prompt” (so I don’t know why it shows the C compiler identification is MSVC 19.0.24215.1):

1. cd D:
2. git clone [https://gitlab.kitware.com/LidarView/VeloView-Velodyne.git](https://gitlab.kitware.com/LidarView/VeloView-Velodyne.git) --recurse-submodules src
3. mkdir D:\build
4. cd D:\build
5. cmake D:\src\Superbuild -GNinja -DCMAKE\_BUILD\_TYPE=Release -DUSE\_SYSTEM\_qt5=True -DQt5\_DIR=“D:/Qt5.12.9/5.12.9/msvc2015\_64/lib/cmake/Qt5”

it shows:  
– Configuring done  
– Generating done  
– Build files have been written to: D:/build  
then I did next step and some other errors occurred.

1. cmake --build . -j

Partial log display:

[72/156] Performing download step (git clone) for ‘pcap’  
Cloning into ‘src’…  
fatal: unable to access ‘[GitHub - patmarion/winpcap: Contains precompiled winpcap libraries for Windows x86 and x64](http://github.com/patmarion/winpcap.git/)’: Failed to connect to [github.com](http://github.com) port 443 after 21026 ms: Timed out  
Cloning into ‘src’…  
fatal: unable to access ‘[GitHub - patmarion/winpcap: Contains precompiled winpcap libraries for Windows x86 and x64](http://github.com/patmarion/winpcap.git/)’: Failed to connect to [github.com](http://github.com) port 443 after 21009 ms: Timed out  
Cloning into ‘src’…  
fatal: unable to access ‘[GitHub - patmarion/winpcap: Contains precompiled winpcap libraries for Windows x86 and x64](http://github.com/patmarion/winpcap.git/)’: OpenSSL SSL\_read: Connection was reset, errno 10054  
– Had to git clone more than once: 3 times.  
[73/156] Performing update step (git update) for ‘pcap’  
FAILED: lidarview-superbuild/common-superbuild/pcap/stamp/pcap-update  
cmd.exe /C “cd /D D:\build\lidarview-superbuild\common-superbuild && D:\CMake3.20.3\bin\cmake.exe -P D:/build/lidarview-superbuild/common-superbuild/pcap/tmp/pcap-update.cmake”  
CMake Error at pcap/tmp/pcap-update.cmake:29 (message):  
Failed to get the hash for HEAD:

[80/156] Performing download step (download, verify and extract) for ‘boost’  
– Downloading…  
dst=‘D:/build/downloads/boost\_1\_76\_0.tar.bz2’  
timeout=‘none’  
inactivity timeout=‘none’  
– Using src=‘[https://www.paraview.org/files/dependencies/boost\_1\_76\_0.tar.bz2](https://www.paraview.org/files/dependencies/boost_1_76_0.tar.bz2)’  
– Downloading… done  
– extracting…  
src=‘D:/build/downloads/boost\_1\_76\_0.tar.bz2’  
dst=‘D:/build/lidarview-superbuild/common-superbuild/boost/src’  
– extracting… [tar xfz]  
– extracting… [analysis]  
– extracting… [rename]  
– extracting… [clean up]  
– extracting… done  
ninja: build stopped: subcommand failed.

Do you know why?
