Hi,
I start discussion on discord but i don't like discord for that sort a problem
My configuration is windows 10 and MSVC 2017. Iuse git bash
my bash log is

$ git clone https://github.com/luxonis/depthai-python.git --branch gen2_develop
Cloning into 'depthai-python'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 4155 (delta 4), reused 3 (delta 0), pack-reused 4144
Receiving objects: 100% (4155/4155), 20.49 MiB | 5.34 MiB/s, done.
Resolving deltas: 100% (2620/2620), done.

Laurent@PC-Laurent-Vision MINGW64 /f/lib
$ cd depthai-python

Laurent@PC-Laurent-Vision MINGW64 /f/lib/depthai-python (gen2_develop)
$ mkdir -p build && cd build

Laurent@PC-Laurent-Vision MINGW64 /f/lib/depthai-python/build (gen2_develop)
$ cmake .. -DDEPTHAI_PYTHON_TEST_EXAMPLES=ON
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19041.
-- The C compiler identification is MSVC 19.16.27041.0
-- The CXX compiler identification is MSVC 19.16.27041.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x86/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/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:33 (add_subdirectory):
  The source directory

    F:/lib/depthai-python/depthai-core

  does not contain a CMakeLists.txt file.



[hunter ** FATAL ERROR **] Config not found: F:/lib/depthai-python/depthai-core/cmake/Hunter/config.cmake
[hunter ** FATAL ERROR **] [Directory:F:/lib/depthai-python]

------------------------------ ERROR -----------------------------
    https://hunter.readthedocs.io/en/latest/reference/errors/error.incorrect.input.data.html
------------------------------------------------------------------

CMake Error at C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_user_error.cmake:7 (hunter_fatal_error)
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_set_config_location.cmake:50 (hunter_user_error)
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_apply_gate_settings.cmake:85 (hunter_set_config_location)
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_finalize.cmake:73 (hunter_apply_gate_settings)
  C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_add_package.cmake:23 (hunter_finalize)
  CMakeLists.txt:37 (hunter_add_package)


-- Configuring incomplete, errors occurred!
See also "F:/lib/depthai-python/build/CMakeFiles/CMakeOutput.log".

What's wrong?
Do I need this to run first example?
in cmd window now I can ru demo

F:\lib\depthai-python>G:\Lib\depthai\depthai_demo.py

I see image and I press q but after

F:\lib\depthai-python>examples\01_rgb_preview.py
Traceback (most recent call last):
  File "F:\lib\depthai-python\examples\01_rgb_preview.py", line 8, in <module>
    pipeline = dai.Pipeline()
TypeError: depthai.Pipeline: No constructor defined!

    @GergelySzabolcs thanks first error is gone now. I certainly missed aline in doc. ( F:/lib/depthai-python/depthai-core does not contain a CMakeLists.txt file.)

    Now a new one

     CMake Error at tools/FindPythonLibsNew.cmake:127 (message):
        Python config failure: Python is 64-bit, chosen compiler is 32-bit
      Call Stack (most recent call first):
        tools/pybind11Tools.cmake:16 (find_package)
        CMakeLists.txt:33 (include)
    
    
      -- Configuring incomplete, errors occurred!
      See also "C:/Users/Laurent/.hunter/_bin/i5Xkd/pybind11/pybind11-Release-prefix/src/pybind11-Release-build/CMakeFiles/CMakeOutput.log".
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: ArrĂȘt de "cmd.exe" avec le code 1. [C:\Users\Laurent\.hunter\_bin\i5Xkd\pybind11\pybind11-Release.vcxproj]
    
    [hunter ** FATAL ERROR **] Build step failed (dir: C:/Users/Laurent/.hunter/_Base/062a19a/5dc7e66/ed4733e/Build/pybind11
    [hunter ** FATAL ERROR **] [Directory:C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/projects/pybind11]
    
    ------------------------------ ERROR -----------------------------
        https://hunter.readthedocs.io/en/latest/reference/errors/error.external.build.failed.html
    ------------------------------------------------------------------
    
    CMake Error at C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
    Call Stack (most recent call first):
      C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
      C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_download.cmake:623 (hunter_fatal_error)
      C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/projects/pybind11/hunter.cmake:61 (hunter_download)
      C:/Users/Laurent/.hunter/_Base/Download/Hunter/0.23.258/062a19a/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
      CMakeLists.txt:37 (hunter_add_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "F:/lib/depthai-python/build/CMakeFiles/CMakeOutput.log".
    See also "F:/lib/depthai-python/build/CMakeFiles/CMakeError.log".

    I started with -G"Visual Studio 15 2017 Win64" in cmake command line

    Now it seems OK

    loading initial cache file C:/Users/Laurent/.hunter/_Base/062a19a/98a35a0/ed4733e/Build/pybind11/args.cmake
      Completed 'pybind11-Release'
      Building Custom Rule C:/Users/Laurent/.hunter/_Base/062a19a/98a35a0/ed4733e/Build/pybind11/CMakeLists.txt
    -- [hunter] Build step successful (dir: C:/Users/Laurent/.hunter/_Base/062a19a/98a35a0/ed4733e/Build/pybind11)
    -- [hunter] Cache saved: C:/Users/Laurent/.hunter/_Base/Cache/raw/c91c82ea8f0c8e7924a0aa88deea3f7f5ce37fa5.tar.bz2
    CMake Warning (dev) at CMakeLists.txt:43 (find_package):
      Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
      Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    
      Environment variable pybind11_ROOT is set to:
    
        C:/Users/Laurent/.hunter/_Base/062a19a/98a35a0/ed4733e/Install
    
      For compatibility, CMake is ignoring the variable.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Found PythonInterp: F:/Program Files/Python/python.exe (found version "3.8.5")
    -- Found PythonLibs: F:/Program Files/Python/libs/Python38.lib
    -- Performing Test HAS_MSVC_GL_LTCG
    -- Performing Test HAS_MSVC_GL_LTCG - Success
    -- LTO enabled
    -- Configuring done
    -- Generating done
    -- Build files have been written to: F:/lib/depthai-python/build

    Thanks for following up and the information on the fix. I'm glad you figured this out, as it was beyond my experience here.