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!