# VeloView Build Problem

**URL:** https://discourse.paraview.org/t/veloview-build-problem/10136
**Category:** LidarView, Lidar, and SLAM
**Created:** [August 11, 2022, 5:43pm UTC](https://discourse.paraview.org/t/veloview-build-problem/10136 "2022-08-11T17:43:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![VIKTORKURYSH](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/7993a0/32.png) [@VIKTORKURYSH](https://discourse.paraview.org/u/VIKTORKURYSH)
#### Post date: [August 11, 2022, 5:43pm UTC](https://discourse.paraview.org/t/veloview-build-problem/10136/1 "2022-08-11T17:43:53Z")

</div>

I follow [LidarView\_Developer\_Guide](https://gitlab.kitware.com/LidarView/lidarview-core/-/blob/master/Documentation/LidarView_Developer_Guide.md) to build Veloview.  
on Windows 11. I have installed QT ver 5.12.9  
Run commands from “Visual Studio 2019 Developer Command Prompt”  
Current branch is master.  
Got error on buildyng Python QT.  
copying setuptools\command\launcher manifest.xml → build\lib\setuptools\command

```auto
[98/154] Performing build step for 'pythonqt'
FAILED: lidarview-superbuild/common-superbuild/pythonqt/stamp/pythonqt-build 
cmd.exe /C "cd /D D:\gitrep\VeloView\bld\lidarview-superbuild\common-superbuild\pythonqt\build && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P D:/gitrep/VeloView/bld/lidarview-superbuild/common-superbuild/sb-pythonqt-build.cmake && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/gitrep/VeloView/bld/lidarview-superbuild/common-superbuild/pythonqt/stamp/pythonqt-build"
[1/96] Generating src/gui/moc_PythonQtScriptingConsole.cpp

'D:\gitrep\VeloView\bld\lidarview-superbuild\common-superbuild\pythonqt\build\Qt5UiTools.pdb'; linking object as if no debug info
   Creating library PythonQt.lib and object PythonQt.exp

com_trolltech_qt_core0.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public:__cdecl QBasicMutex::QBasicMutex(void)" (__imp_??0QBasicMutex@@QEAA@XZ) referenced in function "public:__cdecl PythonQtShell_QBasicMutex::PythonQtShell_QBasicMutex(void)" (??0PythonQtShell_QBasicMutex@@QEAA@XZ)

PythonQt.dll : fatal error LNK1120: 1 unresolved externals

ninja: build stopped: subcommand failed.
CMake Error at D:/gitrep/VeloView/bld/lidarview-superbuild/common-superbuild/sb-pythonqt-build.cmake:47 (message):
  Failed with exit code 1

Commands run 
cd d:\gitrep\VeloView
git clone https://gitlab.kitware.com/LidarView/VeloView-Velodyne.git --recurse-submodules src
mkdir bld
cd bld
cmake ..\src\Superbuild -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SYSTEM_qt5=True -DQt5_DIR=“c:/Qt/Qt5.12.9/5.12.9/msvc2015_64/lib/cmake/Qt5”
cmake --build . -j

d:\gitrep\VeloView\bld>cmake ..\src\Superbuild -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SYSTEM_qt5=True -DQt5_DIR="c:/Qt/Qt5.12.9/5.12.9/msvc2015_64/lib/cmake/Qt5"
-- The C compiler identification is MSVC 19.29.30146.0
-- The CXX compiler identification is MSVC 19.29.30146.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/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: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check size of void*
-- Check size of void* - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.36.0.windows.1")
-- Determined source version for paraview: 5.9.0
-- Enabling cxx11 as requested.
-- Enabling boost for: liblas, lidarview
-- Enabling python3 for: lidarview, numpy, pythonbeniget, pythoncython, pythongast, pythonply, pythonpythran, pythonqt, pythonsetuptools, pywin32
-- Enabling pywin32 for: pythonsetuptools
-- Enabling pythonsetuptools for: pythonbeniget, pythoncython, pythongast, pythonply, pythonpythran
-- Enabling pythongast for: pythonpythran
-- Enabling pythonbeniget for: pythonpythran
-- Enabling pythonply for: pythonpythran
-- Enabling pythonpythran for: pythoncython
-- Enabling pythoncython for: numpy
-- Enabling numpy for: lidarview
-- 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, python3, pywin32, pythonsetuptools, pythongast, pythonbeniget, pythonply, pythonpythran, pythoncython, numpy, qt5, liblas, paraview, pcap, eigen, yaml, pythonqt, lidarview
CMake Warning (dev) at lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:213 (message):
  Optional dependencies for paraview not found: adios2, cuda, gdal, hdf5,
  matplotlib, mpi, protobuf, visitbridge, silo, lookingglass, fides, xdmf3,
  vrpn, vtkm, netcdf, openpmd, nlohmannjson, paraviewgettingstartedguide,
  paraviewtutorialdata, paraviewweb, openvr
Call Stack (most recent call first):
  lidarview-superbuild/Projects/paraview.cmake:134 (superbuild_add_project)
  lidarview-superbuild/common-superbuild/cmake/SuperbuildMacros.cmake:1061 (include)
  lidarview-superbuild/common-superbuild/CMakeLists.txt:170 (superbuild_process_dependencies)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: D:/gitrep/VeloView/bld

```

Could you help me pointing what was wrong?  
Topic states [Build VeloView Problem](https://discourse.paraview.org/t/build-veloview-problem/8189) Ineed to switch to development branch in order to use paraview: 5.9.1  
Which branch to use?
