Closed sirius112358 closed 2 years ago
Hi! To get the Python API, you need to compile the Python Binding. For this you need to install pybind (see README). Did you install pybind? Note also that you should notinclude DCOMPILE_PYTHON3_BINDINGS=OFF during the "cmake .." otherwise the Python binding are not built.
Hi! Thanks for your reply. I think I have installed pybind. Here is the result when I run the command in cmd
and this is the installed file of vcpkg
Then I tried to compile openEB using CMake. The command is _cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=D:\Prophesee\openeb-2.3.0\cmake\toolchains\vcpkg.cmake -DVCPKGDIRECTORY=D:\vcpkg-master ..
and here is what I got
D:\Prophesee\openeb-2.3.0\build>cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=D:\Prophesee\openeb-2.3.0\cmake\toolchains\vcpkg.cmake -DVCPKG_DIRECTORY=D:\vcpkg-master .. -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. -- The C compiler identification is MSVC 19.30.30528.0 -- The CXX compiler identification is MSVC 19.30.30528.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.30.30528/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: D:/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.30.30528/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building METAVISION_SDK_MODULES_OPEN modules : base;core;driver;ui -- Building METAVISION_SDK_MODULES_PROFESSIONAL modules : analytics;calibration;cv;ml;3dview;cv3d -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found LibUSB: D:/vcpkg-master/installed/x64-windows/include/libusb-1.0 CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:207 (find_package)
-- Found Boost: D:/vcpkg-master/installed/x64-windows/include (found version "1.78.0") found components: program_options filesystem timer chrono thread atomic -- Found Python3: D:/anaconda/python.exe (found version "3.9.7") found components: Interpreter Development Development.Module Development.Embed -- Performing Test HAS_MSVC_GL_LTCG -- Performing Test HAS_MSVC_GL_LTCG - Success -- Found pybind11: D:/vcpkg-master/installed/x64-windows/include (found version "2.9.0") -- Found OpenCV: D:/vcpkg-master/installed/x64-windows (found version "4.5.4") found components: core highgui imgproc videoio imgcodecs calib3d objdetect -- Found GTest: D:/vcpkg-master/installed/x64-windows/share/GTest/GTestConfig.cmake (found version "1.11.0")
| Test data was not found. To run the tests, please download the test data adapted to your project: | | - OpenEB: https://dataset.prophesee.ai/index.php/s/VfhepWI4MPVWh9o (500 Mb archive) | | - Metavision Professional: https://dataset.prophesee.ai/index.php/s/JJ5xStgd8GSUWFz (3 Gb archive) |
Git LFS is not available, skipping download of datasets/openeb/gen31_timer.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt2_hand.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt3_hand.raw Git LFS is not available, skipping download of datasets/openeb/blinking_leds.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt2_hand_cd.dat Git LFS is not available, skipping download of datasets/openeb/core CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) utils/cpp/profiling/lib/CMakeLists.txt:11 (find_package)
CMake Warning at D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1492 (_Boost_COMPONENT_DEPENDENCIES) D:/CMake/share/cmake-3.22/Modules/FindBoost.cmake:2102 (_Boost_MISSING_DEPENDENCIES) utils/cpp/profiling/lib/CMakeLists.txt:11 (find_package)
-- Found Boost: D:/vcpkg-master/installed/x64-windows/include (found version "1.78.0") found components: filesystem system -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success Git LFS is not available, skipping download of datasets/openeb/sample_plugin_recording.raw Git LFS is not available, skipping download of datasets/metavision_core/csv_zip_eth -- Found OpenGL: opengl32 -- Found GLEW: D:/vcpkg-master/installed/x64-windows/share/glew/glew-config.cmake -- Configuring done -- Generating done -- Build files have been written to: D:/Prophesee/openeb-2.3.0/build
I would appreciate it if you can help me to find where is the problem.
Hi, In your logs i can see that you are using the version 2.9 of Pybind whereas we need the version 2.6. The problem probably comes from the fact that you are not using the proper version of vcpkg. The one we require is this one: https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11-1.zip Could you make sure you are using this one?
well, my mistake. In fact with the last version of OpenEB, the vcpkg version to use is this one: https://github.com/microsoft/vcpkg/releases/tag/2021.05.12 Can you try it? (doc update in progress)
Thanks for you reply. I tried to use the vcpkg veresion 2021.05.12 to re-install the third-party libraries. Then I build and compile the openeb code with CMake and the new vcpkg, but still it didn't work. The logs are as follows. It seems there are problems durint compiling, but I don't know what it means.
By the way, can I find the C++ version of the Blinking Lights detector? Actually what I want to is using this algorithm to detect some blinking targets from SilkEvCam camera stream. The camera works well in C++, so if I can find the C++ code that's also OK.
D:\Prophesee\openeb\build>cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=D:\Prophesee\openeb\cmake\toolchains\vcpkg.cmake -DVCPKG_DIRECTORY=D:\vcpkg .. -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. -- The C compiler identification is MSVC 19.30.30528.0 -- The CXX compiler identification is MSVC 19.30.30528.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.30.30528/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: D:/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.30.30528/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building METAVISION_SDK_MODULES_OPEN modules : base;core;driver;ui -- Building METAVISION_SDK_MODULES_PROFESSIONAL modules : analytics;calibration;cv;ml;3dview;cv3d -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found LibUSB: D:/vcpkg/installed/x64-windows/include/libusb-1.0 -- Found Boost: D:/vcpkg/installed/x64-windows/include (found version "1.75.0") found components: program_options filesystem timer chrono thread date_time atomic -- Found Python3: D:/anaconda/python.exe (found version "3.9.7") found components: Interpreter Development Development.Module Development.Embed -- Performing Test HAS_MSVC_GL_LTCG -- Performing Test HAS_MSVC_GL_LTCG - Success -- Found pybind11: D:/vcpkg/installed/x64-windows/include (found version "2.6.0" ) -- Found OpenCV: D:/vcpkg/installed/x64-windows (found version "4.5.1") found components: core highgui imgproc videoio imgcodecs calib3d objdetect -- Found GTest: D:/vcpkg/installed/x64-windows/share/GTest/GTestConfig.cmake (found version "1.10.0")
| Test data was not found. To run the tests, please download the test data adapted to your project: | | - OpenEB: https://dataset.prophesee.ai/index.php/s/VfhepWI4MPVWh9o (500 Mb archive) | | - Metavision Professional: https://dataset.prophesee.ai/index.php/s/JJ5xStgd8GSUWFz (3 Gb archive) |
Git LFS is not available, skipping download of datasets/openeb/gen31_timer.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt2_hand.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt3_hand.raw Git LFS is not available, skipping download of datasets/openeb/blinking_leds.raw Git LFS is not available, skipping download of datasets/openeb/gen4_evt2_hand_cd.dat Git LFS is not available, skipping download of datasets/openeb/core -- Found Boost: D:/vcpkg/installed/x64-windows/include (found version "1.75.0") found components: filesystem system -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success Git LFS is not available, skipping download of datasets/openeb/sample_plugin_recording.raw Git LFS is not available, skipping download of datasets/metavision_core/csv_zip_eth -- Found OpenGL: opengl32 -- Found GLEW: D:/vcpkg/installed/x64-windows/share/glew/glew-config.cmake -- Configuring done -- Generating done -- Build files have been written to: D:/Prophesee/openeb/build
D:\Prophesee\openeb\build>cmake --build . --config Release --parallel 4 Microsoft (R) Build Engine version 17.0.0-preview-21453-03+74e9935a4 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule D:/Prophesee/openeb/utils/cpp/pybind/lib/CMakeLists.txt
Generating version file for library metavision_hal
Generating version file for library metavision_sdk
Building Custom Rule D:/Prophesee/openeb/hal/cpp/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/utils/cpp/gtest/lib/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/base/python/bindings/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/base/cpp/lib/CMakeLists.txt
generic_header.cpp
metavision_sdk_base_paths_bindings.cpp
log.cpp
software_info.cpp
Generating Code...
Auto build dll exports
Creating library D:/Prophesee/openeb/build/lib/Release/metavision_sdk_base.lib and object D:/Prophesee/openeb/buil
d/lib/Release/metavision_sdk_base.exp
Creating library D:/Prophesee/openeb/build/py3/Release/metavision_sdk_base_paths_internal_python3_3.9.lib and obje
ct D:/Prophesee/openeb/build/py3/Release/metavision_sdk_base_paths_internal_python3_3.9.exp
Generating code
metavision_sdk_base.vcxproj -> D:\Prophesee\openeb\build\bin\Release\metavision_sdk_base.dll
Finished generating code
metavision_sdk_base_paths_internal_python3_3.9.vcxproj -> D:\Prophesee\openeb\build\py3\Release\metavision_sdk_base_p
aths_internal.cp39-win_amd64.pyd
Building Custom Rule D:/Prophesee/openeb/hal/cpp/lib/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/base/python/bindings/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/base/python/bindings/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/core/cpp/lib/CMakeLists.txt
metavision_sdk_base_dummy_bindings.cpp
adaptive_rate_events_splitter_algorithm.cpp
debug_buffer_info_python.cpp
base_frame_generation_algorithm.cpp
D:\Prophesee\openeb\sdk\modules\base\python\bindings\debug_buffer_info_python.cpp(24,41): warning C4311: 'type cast': p
ointer truncation from 'void const ' to 'unsigned long' [D:\Prophesee\openeb\build\sdk\modules\base\python\bindings\me
tavision_sdk_base_internal_python3_3.9.vcxproj]
D:\Prophesee\openeb\sdk\modules\base\python\bindings\debug_buffer_info_python.cpp(24,41): warning C4302: 'type cast': t
runcation from 'void const ' to 'unsigned long' [D:\Prophesee\openeb\build\sdk\modules\base\python\bindings\metavision
_sdk_base_internal_python3_3.9.vcxproj]
cd_frame_generator.cpp
event_cd_python.cpp
cv_video_recorder.cpp
periodic_frame_generation_algorithm.cpp
event_ext_trigger_python.cpp
on_demand_frame_generation_algorithm.cpp
rate_estimator.cpp
simple_displayer.cpp
generic_header_python.cpp
D:\Prophesee\openeb\sdk\modules\base\python\bindings\generic_header_python.cpp(39,53): warning C4101: 'e': unreferenced
local variable [D:\Prophesee\openeb\build\sdk\modules\base\python\bindings\metavision_sdk_base_internal_python3_3.9.vc
xproj]
threaded_process.cpp
video_writer.cpp
metavision_sdk_base_bindings.cpp
D:\Prophesee\openeb\sdk\modules\core\cpp\src\3rdparty/cap_mjpeg_encoder.cpp(1198,135): warning C4390: ';': empty contro
lled statement found; is this the intent? [D:\Prophesee\openeb\build\sdk\modules\core\cpp\lib\metavision_sdk_core.vcxpr
oj]
Generating Code...
D:\Prophesee\openeb\sdk\modules\base\python\bindings\metavision_sdk_base_bindings.cpp(46,5): warning C4996: 'PyEval_Ini
tThreads': deprecated in 3.9 [D:\Prophesee\openeb\build\sdk\modules\base\python\bindings\metavision_sdk_base_internal_p
ython3_3.9.vcxproj]
software_info_python.cpp
D:\Prophesee\openeb\sdk\modules\base\python\bindings\software_info_python.cpp(43,33): warning C4996: 'Metavision::Softw
areInfo::get_version_dev': SoftwareInfo::get_version_dev() is deprecated since version 2.3.0 and will be removed in lat
er releases. [D:\Prophesee\openeb\build\sdk\modules\base\python\bindings\metavision_sdk_base_internal_python3_3.9.vcxpr
oj]
Auto build dll exports
Creating library D:/Prophesee/openeb/build/py3/Release/metavision_sdk_base_dummy_internal_python3_3.9.lib and obje
ct D:/Prophesee/openeb/build/py3/Release/metavision_sdk_base_dummy_internal_python3_3.9.exp
Generating code
Creating library D:/Prophesee/openeb/build/lib/Release/metavision_sdk_core.lib and object D:/Prophesee/openeb/buil
d/lib/Release/metavision_sdk_core.exp
metavision_sdk_core.vcxproj -> D:\Prophesee\openeb\build\bin\Release\metavision_sdk_core.dll
Finished generating code
metavision_sdk_base_dummy_internal_python3_3.9.vcxproj -> D:\Prophesee\openeb\build\py3\Release\metavision_sdk_base_d
ummy_internal.cp39-win_amd64.pyd
Creating library D:/Prophesee/openeb/build/py3/Release/metavision_sdk_base_internal_python3_3.9.lib and object D:/
Prophesee/openeb/build/py3/Release/metavision_sdk_base_internal_python3_3.9.exp
Generating code
Finished generating code
metavision_sdk_base_internal_python3_3.9.vcxproj -> D:\Prophesee\openeb\build\py3\Release\metavision_sdk_base_interna
l.cp39-win_amd64.pyd
hal_software_info.cpp
metavision_hal_info_obj.vcxproj -> D:\Prophesee\openeb\build\hal\cpp\lib\metavision_hal_info_obj.dir\Release\metavisi
on_hal_info_obj.lib
Building Custom Rule D:/Prophesee/openeb/sdk/modules/core/python/bindings/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/sdk/modules/ui/cpp/lib/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/hal/cpp/lib/CMakeLists.txt
device.cpp
adaptive_rate_events_splitter_algorithm_python.cpp
base_window.cpp
facility_wrapper.cpp
i_erc.cpp
event_loop.cpp
i_hal_software_info.cpp
mt_window.cpp
i_hw_identification.cpp
base_frame_generation_algorithm_python.cpp
i_plugin_software_info.cpp
texture_utils.cpp
i_roi.cpp
i_trigger_out.cpp
plugin.cpp
window.cpp
plugin_loader.cpp
Generating Code...
camera_discovery.cpp
colors_python.cpp
demangle.cpp
device_builder.cpp
file_discovery.cpp
raw_file_header.cpp
resources_folder.cpp
flip_x_algorithm_python.cpp
D:\Prophesee\openeb\hal\cpp\src\utils\resources_folder.cpp(29,11): warning C4101: 'dwDisposition': unreferenced local v
ariable [D:\Prophesee\openeb\build\hal\cpp\lib\metavision_hal.vcxproj]
Generating Code...
flip_y_algorithm_python.cpp
on_demand_frame_generation_algorithm_python.cpp
mostrecent_timestamp_buffer_python.cpp
periodic_frame_generation_algorithm_python.cpp
polarity_filter_algorithm_python.cpp
polarity_inverter_algorithm_python.cpp
roi_filter_algorithm_python.cpp
shared_cd_events_buffer_producer_wrapper_python.cpp
timesurface_producer_algorithm_python.cpp
metavision_sdk_core_bindings.cpp
D:\Prophesee\openeb\sdk\modules\core\python\bindings\metavision_sdk_core_bindings.cpp(56,5): warning C4996: 'PyEval_Ini
tThreads': deprecated in 3.9 [D:\Prophesee\openeb\build\sdk\modules\core\python\bindings\metavision_sdk_core_internal_p
ython3_3.9.vcxproj]
Auto build dll exports
i_decoder.cpp
Creating library D:/Prophesee/openeb/build/lib/Release/metavision_sdk_ui.lib and object D:/Prophesee/openeb/build/
lib/Release/metavision_sdk_ui.exp
metavision_sdk_ui.vcxproj -> D:\Prophesee\openeb\build\bin\Release\metavision_sdk_ui.dll
D:\Prophesee\openeb\hal\cpp\src\facilities\i_decoder.cpp(43,38): warning C4018: '>': signed/unsigned mismatch [D:\Proph
esee\openeb\build\hal\cpp\lib\metavision_hal.vcxproj]
Creating library D:/Prophesee/openeb/build/py3/Release/metavision_sdk_core_internal_python3_3.9.lib and object D:/
Prophesee/openeb/build/py3/Release/metavision_sdk_core_internal_python3_3.9.exp
Generating code
Finished generating code
Building Custom Rule D:/Prophesee/openeb/sdk/modules/ui/python/bindings/CMakeLists.txt
metavision_sdk_core_internal_python3_3.9.vcxproj -> D:\Prophesee\openeb\build\py3\Release\metavision_sdk_core_interna
l.cp39-win_amd64.pyd
i_decoder.cpp
base_window_python.cpp
D:\Prophesee\openeb\hal\cpp\src\facilities\future\i_decoder.cpp(44,38): warning C4018: '>': signed/unsigned mismatch [D
:\Prophesee\openeb\build\hal\cpp\lib\metavision_hal.vcxproj]
event_loop_python.cpp
metavision_sdk_ui_bindings.cpp
mt_window_python.cpp
ui_event_python.cpp
window_python.cpp
window_wrapper.cpp
i_events_stream.cpp
Creating library D:/Prophesee/openeb/build/py3/Release/metavision_sdk_ui_internal_python3_3.9.lib and object D:/Pr
ophesee/openeb/build/py3/Release/metavision_sdk_ui_internal_python3_3.9.exp
Generating code
Finished generating code
metavision_sdk_ui_internal_python3_3.9.vcxproj -> D:\Prophesee\openeb\build\py3\Release\metavision_sdk_ui_internal.cp
39-win_amd64.pyd
i_events_stream.cpp
data_transfer.cpp
data_transfer.cpp
file_data_transfer.cpp
file_data_transfer.cpp
Auto build dll exports
Creating library D:/Prophesee/openeb/build/lib/Release/metavision_hal.lib and object D:/Prophesee/openeb/build/lib
/Release/metavision_hal.exp
metavision_hal.vcxproj -> D:\Prophesee\openeb\build\bin\Release\metavision_hal.dll
Building Custom Rule D:/Prophesee/openeb/hal/cpp/lib/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/hal_openeb_plugins/lib/CMakeLists.txt
Building Custom Rule D:/Prophesee/openeb/hal/cpp/samples/metavision_hal_sample_plugin/CMakeLists.txt
raw_geometry.cpp
sample_decoder.cpp
device_discovery.cpp
raw_file_discovery.cpp
D:\Prophesee\openeb\hal_openeb_plugins\src\common\raw_file_discovery.cpp(86,36): warning C4101: 'e': unreferenced local
variable [D:\Prophesee\openeb\build\hal_openeb_plugins\lib\hal_raw_common.vcxproj]
sample_decoder.cpp
raw_hw_identification.cpp
sample_device_control.cpp
Generating Code...
sample_camera_discovery.cpp
Auto build dll exports
Creating library D:/Prophesee/openeb/build/lib/Release/metavision_hal_discovery.lib and object D:/Prophesee/openeb
/build/lib/Release/metavision_hal_discovery.exp
metavision_hal_discovery.vcxproj -> D:\Prophesee\openeb\build\bin\Release\metavision_hal_discovery.dll
sample_data_transfer.cpp
Building Custom Rule D:/Prophesee/openeb/hal/python/bindings/CMakeLists.txt
device_config_python.cpp
sample_geometry.cpp
sample_file_discovery.cpp
sample_hw_identification.cpp
sample_plugin.cpp
Generating Code...
device_discovery_python.cpp
device_roi_python.cpp
i_antiflicker_module_python.cpp
i_decoder_python.cpp
i_device_control_python.cpp
i_erc_python.cpp
i_event_cd_decoder_python.cpp
i_event_ext_trigger_decoder_python.cpp
i_event_rate_noise_filter_module_python.cpp
i_events_stream_python.cpp
i_geometry_python.cpp
i_hal_software_info_python.cpp
i_hw_identification_python.cpp
i_hw_register_python.cpp
i_ll_biases_python.cpp
i_monitoring_python.cpp
i_noise_filter_module_python.cpp
i_plugin_software_info_python.cpp
i_roi_python.cpp
Compiling...
i_trigger_in_python.cpp
i_trigger_out_python.cpp
hal_software_info_python.cpp
metavision_hal_bindings.cpp
D:\Prophesee\openeb\hal\python\bindings\metavision_hal_bindings.cpp(37,5): warning C4996: 'PyEval_InitThreads': depreca
ted in 3.9 [D:\Prophesee\openeb\build\hal\python\bindings\metavision_hal_internal_python3_3.9.vcxproj]
raw_file_config_python.cpp
raw_file_header_python.cpp
D:\Prophesee\openeb\hal\python\bindings\raw_file_header_python.cpp(29,56): warning C4101: 'e': unreferenced local varia
ble [D:\Prophesee\openeb\build\hal\python\bindings\metavision_hal_internal_python3_3.9.vcxproj]
D:\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30528\include\type_traits(1386): message : see reference to
function template instantiation 'auto Metavision::
D:\Prophesee\openeb\build>
Then I build and compile the openeb code with CMake and the new vcpkg, but still it didn't work. The logs are as follows. It seems there are problems durint compiling, but I don't know what it means.
there are some warnings indeed (that I don't reproduce) during the first phase (creation of the makefiles with "cmake ..") but then the compilation looks OK. After this compilation, do you confirm that your build/py3 folder is still empty?
By the way, can I find the C++ version of the Blinking Lights detector?
sorry but we only provide this tutorial in Python.
I want to run Blinking Lights detector samples in local PyCharm IDE. The OpenEB library has been installed and compiled. However, I can not find BaseFrameGenerationAlgorithm in the metavision_sdk_core module.
Could you help me to solve this problem?