-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I followed the setup instructions and tried to build the hello_world example, but am getting multiple errors when reaching file yaml/CMakeFiles/yaml.dir/yaml-cpp/src/emitterutils.cpp.o:
maixcdk build
-- SDK_PATH:/home/foobar/git/sipeed/MaixCDK
-- Project ID: hello_world
-- Project path: /home/foobar/git/sipeed/MaixCDK/examples/hello_world
-- Platform: linux
-- Build path: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/build
-- CPU count: 22
-- Build type: Release (MinSizeRel)
-- Build generator: Unix Makefiles
-- MAIXCDK_EXTRA_COMPONENTS_PATH:
-- PY_PKG_COMPONENTS_PATH: /home/foobar/git/sipeed/MaixCDK/.venv/lib/python3.13/site-packages
-- PY_USR_PKG_COMPONENTS_PATH:
-- Toolchain for platform linux is ready
-- STAGING_DIR: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/build/staging_dir
-- Build now
-- Enabled components:
main, ntp_client, yaml, ini, basic
-------------------------------------------------------------------
-- All 0 files info need to be downloaded saved to
/home/foobar/git/sipeed/MaixCDK/dl/pkgs_info.json
-------------------------------------------------------------------
-- CMake CMD: cmake -G Unix Makefiles -DPROJECT_ID=hello_world -DSDK_PATH=/home/foobar/git/sipeed/MaixCDK -DPROJECT_PATH=/home/foobar/git/sipeed/MaixCDK/examples/hello_world -DMAIXCDK_EXTRA_COMPONENTS_PATH= -DPY_PKG_COMPONENTS_PATH=/home/foobar/git/sipeed/MaixCDK/.venv/lib/python3.13/site-packages -DPY_USR_PKG_COMPONENTS_PATH= -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_TYPE=Release -DPLATFORM=linux -DCMAKE_GENERATOR=Unix Makefiles -DTOOLCHAIN_ID= -DDEFAULT_CONFIG_FILE= -DPLATFORM_LINUX=1 -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DCMAKE_EXE_LINKER_FLAGS= -DCMAKE_C_LINK_FLAGS= -DCMAKE_CXX_LINK_FLAGS= ..
-- PLATFORM: linux
-- SDK_PATH: /home/foobar/git/sipeed/MaixCDK
-- PROJECT_PATH: /home/foobar/git/sipeed/MaixCDK/examples/hello_world
-- PROJECT_BINARY_DIR: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/build
-- PROJECT_DIST_DIR: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/dist
-- DL_PKGS_PATH: /home/foobar/git/sipeed/MaixCDK/dl/pkgs
-- DL_EXTRACTED_PATH: /home/foobar/git/sipeed/MaixCDK/dl/extracted
-- CMAKE_BUILD_TYPE: MinSizeRel (Release)
-- Component [basic] found: /home/foobar/git/sipeed/MaixCDK/components/basic
-- [basic] have Kconfig
-- Component [comm] found: /home/foobar/git/sipeed/MaixCDK/components/comm
-- [comm] have Kconfig
-- Component [llm] found: /home/foobar/git/sipeed/MaixCDK/components/llm
-- [llm] have Kconfig
-- Component [maixcam_lib] found: /home/foobar/git/sipeed/MaixCDK/components/maixcam_lib
-- [maixcam_lib] have Kconfig
-- Component [network] found: /home/foobar/git/sipeed/MaixCDK/components/network
-- [network] have Kconfig
-- Component [nn] found: /home/foobar/git/sipeed/MaixCDK/components/nn
-- [nn] have Kconfig
-- Component [peripheral] found: /home/foobar/git/sipeed/MaixCDK/components/peripheral
-- [peripheral] have Kconfig
-- Component [vision] found: /home/foobar/git/sipeed/MaixCDK/components/vision
-- [vision] have Kconfig
-- Component [vision_extra] found: /home/foobar/git/sipeed/MaixCDK/components/vision_extra
-- [vision_extra] have Kconfig
-- Component [voice] found: /home/foobar/git/sipeed/MaixCDK/components/voice
-- [voice] have Kconfig
-- Component [AudioFile] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/AudioFile
-- [AudioFile] have Kconfig
-- Component [FFmpeg] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/FFmpeg
-- [FFmpeg] have Kconfig
-- Component [OpenCC] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/OpenCC
-- Component [RtspServer] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/RtspServer
-- [RtspServer] have Kconfig
-- Component [WavFileReader] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/WavFileReader
-- [WavFileReader] have Kconfig
-- Component [alsa_lib] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/alsa_lib
-- Component [asio] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/asio
-- [asio] have Kconfig
-- Component [brotli] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/brotli
-- [brotli] have Kconfig
-- Component [clipper2] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/clipper2
-- Component [cpp-httplib] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/cpp-httplib
-- [cpp-httplib] have Kconfig
-- Component [cvi_tpu] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/cvi_tpu
-- [cvi_tpu] have Kconfig
-- Component [darts-clone] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/darts-clone
-- Component [eigen] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/eigen
-- [eigen] have Kconfig
-- Component [freetype] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/freetype
-- [freetype] have Kconfig
-- Component [harfbuzz] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/harfbuzz
-- [harfbuzz] have Kconfig
-- Component [http_request] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/http_request
-- [http_request] have Kconfig
-- Component [ini] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/ini
-- [ini] have Kconfig
-- Component [json] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/json
-- Component [kaldi-native-fbank] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/kaldi-native-fbank
-- [kaldi-native-fbank] have Kconfig
-- Component [libdatachannel] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/libdatachannel
-- [libdatachannel] have Kconfig
-- Component [libjuice] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/libjuice
-- [libjuice] have Kconfig
-- Component [libmodbus] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/libmodbus
-- [libmodbus] have Kconfig
-- Component [librosa_simple] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/librosa_simple
-- [librosa_simple] have Kconfig
-- Component [libsrtp] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/libsrtp
-- [libsrtp] have Kconfig
-- Component [lvgl] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/lvgl
-- [lvgl] have Kconfig
-- Component [maixcam2_msp] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/maixcam2_msp
-- [maixcam2_msp] have Kconfig
-- Component [marisa-trie] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/marisa-trie
-- [marisa-trie] have Kconfig
-- Component [media_server] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/media_server
-- [media_server] have Kconfig
-- Component [ntp_client] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/ntp_client
-- [ntp_client] have Kconfig
-- Component [omv] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/omv
-- [omv] have Kconfig
-- Component [onnxruntime] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/onnxruntime
-- [onnxruntime] have Kconfig
-- Component [opencv] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/opencv
-- [opencv] have Kconfig
-- Component [opencv_freetype] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/opencv_freetype
-- [opencv_freetype] have Kconfig
-- Component [openssl] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/openssl
-- [openssl] have Kconfig
-- Component [plog] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/plog
-- Component [pybind11] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/pybind11
-- [pybind11] have Kconfig
-- Component [python3] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/python3
-- [python3] have Kconfig
-- Component [qrcode] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/qrcode
-- [qrcode] have Kconfig
-- Component [quirc] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/quirc
-- [quirc] have Kconfig
-- Component [rapidjson] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/rapidjson
-- Component [rlottie] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/rlottie
-- [rlottie] have Kconfig
-- Component [sdl] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/sdl
-- [sdl] have Kconfig
-- Component [sophgo-middleware] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/sophgo-middleware
-- [sophgo-middleware] have Kconfig
-- Component [sunxi_mpp] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/sunxi_mpp
-- [sunxi_mpp] have Kconfig
-- Component [tinyalsa] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/tinyalsa
-- [tinyalsa] have Kconfig
-- Component [uchardet] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/uchardet
-- [uchardet] have Kconfig
-- Component [usrsctp] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/usrsctp
-- Component [websocket] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/websocket
-- [websocket] have Kconfig
-- Component [yaml] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml
-- [yaml] have Kconfig
-- Component [zbar] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/zbar
-- [zbar] have Kconfig
-- Component [zip] found: /home/foobar/git/sipeed/MaixCDK/components/3rd_party/zip
-- [zip] have Kconfig
-- Component [ext_dev] found: /home/foobar/git/sipeed/MaixCDK/components/ext_devs/ext_dev
-- Component [ext_dev_mlx90640] found: /home/foobar/git/sipeed/MaixCDK/components/ext_devs/ext_dev_mlx90640
-- Component [ext_dev_tof100] found: /home/foobar/git/sipeed/MaixCDK/components/ext_devs/ext_dev_tof100
-- Component [ahrs] found: /home/foobar/git/sipeed/MaixCDK/components/algo/ahrs
-- [ahrs] have Kconfig
-- Component [main] found: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/main
-- [main] have Kconfig
-- python command: python3, version: Python 3.13.7
-- use default toolchain: gcc
-- No components priority config file
-- Only call enabled components: main;yaml;ntp_client;ini;basic
-- [register component: basic ], path:/home/foobar/git/sipeed/MaixCDK/components/basic
-- component basic will compiled to static lib
-- Ignore component comm
-- Ignore component llm
-- Ignore component maixcam_lib
-- Ignore component network
-- Ignore component nn
-- Ignore component peripheral
-- Ignore component vision
-- Ignore component vision_extra
-- Ignore component voice
-- Ignore component AudioFile
-- Ignore component FFmpeg
-- Ignore component OpenCC
-- Ignore component RtspServer
-- Ignore component WavFileReader
-- Ignore component alsa_lib
-- Ignore component asio
-- Ignore component brotli
-- Ignore component clipper2
-- Ignore component cpp-httplib
-- Ignore component cvi_tpu
-- Ignore component darts-clone
-- Ignore component eigen
-- Ignore component freetype
-- Ignore component harfbuzz
-- Ignore component http_request
-- [register component: ini ], path:/home/foobar/git/sipeed/MaixCDK/components/3rd_party/ini
-- component ini will compiled to static lib
-- Ignore component json
-- Ignore component kaldi-native-fbank
-- Ignore component libdatachannel
-- Ignore component libjuice
-- Ignore component libmodbus
-- Ignore component librosa_simple
-- Ignore component libsrtp
-- Ignore component lvgl
-- Ignore component maixcam2_msp
-- Ignore component marisa-trie
-- Ignore component media_server
-- [register component: ntp_client ], path:/home/foobar/git/sipeed/MaixCDK/components/3rd_party/ntp_client
-- component ntp_client will compiled to static lib
-- Ignore component omv
-- Ignore component onnxruntime
-- Ignore component opencv
-- Ignore component opencv_freetype
-- Ignore component openssl
-- Ignore component plog
-- Ignore component pybind11
-- Ignore component python3
-- Ignore component qrcode
-- Ignore component quirc
-- Ignore component rapidjson
-- Ignore component rlottie
-- Ignore component sdl
-- Ignore component sophgo-middleware
-- Ignore component sunxi_mpp
-- Ignore component tinyalsa
-- Ignore component uchardet
-- Ignore component usrsctp
-- Ignore component websocket
-- [register component: yaml ], path:/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml
-- component yaml will compiled to static lib
-- Ignore component zbar
-- Ignore component zip
-- Ignore component ext_dev
-- Ignore component ext_dev_mlx90640
-- Ignore component ext_dev_tof100
-- Ignore component ahrs
-- [register component: main ], path:/home/foobar/git/sipeed/MaixCDK/examples/hello_world/main
-- component main will compiled to static lib
-- libs not include in dist dir:
-- Generate MaixPy C/C++ API
-- Auto add module maix.ahrs, < maix_ahrs_mahony.hpp >
-- Auto add module maix.ahrs, < maix_ahrs_type.hpp >
-- Auto add module maix.app, < maix_app.hpp >
-- API maix.comm.CommBase.write is overloaded
-- API maix.comm.CommBase.read is overloaded
-- Auto add module maix.comm, < maix_comm_base.hpp >
-- Auto add module maix.err, < maix_err.hpp >
-- API maix.fs.File.read is overloaded
-- API maix.fs.File.readline is overloaded
-- API maix.fs.File.write is overloaded
-- API maix.fs.File.write is overloaded
-- Auto add module maix.fs, < maix_fs.hpp >
-- API maix.i18n.load_trans_yaml is overloaded
-- Auto add module maix.i18n, < maix_i18n.hpp >
-- API maix.log.print is overloaded
-- Auto add module maix.log, < maix_log.hpp >
-- API maix.protocol.MSG.encode_resp_ok is overloaded
-- API maix.protocol.MSG.encode_resp_ok is overloaded
-- API maix.protocol.MSG.encode_report is overloaded
-- API maix.protocol.MSG.encode_report is overloaded
-- API maix.protocol.MSG.encode_resp_err is overloaded
-- API maix.protocol.MSG.set_body is overloaded
-- API maix.protocol.Protocol.push_data is overloaded
-- API maix.protocol.Protocol.decode is overloaded
-- API maix.protocol.Protocol.encode_resp_ok is overloaded
-- API maix.protocol.Protocol.encode_resp_ok is overloaded
-- API maix.protocol.Protocol.encode_report is overloaded
-- API maix.protocol.Protocol.encode_report is overloaded
-- API maix.protocol.Protocol.encode_resp_err is overloaded
-- API maix.protocol.crc16_IBM is overloaded
-- Auto add module maix.protocol, < maix_protocol.hpp >
-- Auto add module maix.sys, < maix_sys.hpp >
-- API maix.tensor.Tensors.operator[] is overloaded
-- Auto add module maix.tensor, < maix_tensor.hpp >
-- Auto add module maix.thread, < maix_thread.hpp >
-- Auto add module maix.time, < maix_time.hpp >
-- API maix.Bytes.Bytes is overloaded
-- API maix.tensor.Vector3f.Vector3f is overloaded
-- API maix.tensor.Vector3i32.Vector3i32 is overloaded
-- API maix.tensor.Vector3u32.Vector3u32 is overloaded
-- API maix.tensor.Vector3i16.Vector3i16 is overloaded
-- API maix.tensor.Vector3u16.Vector3u16 is overloaded
-- Auto add module maix.tensor, < maix_type_vector3.hpp >
-- API maix.util.str_split_view is overloaded
-- API maix.util.str_split is overloaded
-- API maix.util.str_splitn_view is overloaded
-- API maix.util.str_splitn is overloaded
-- Auto add module maix.util, < maix_util.hpp >
-- API maix.comm.CommProtocol.resp_ok is overloaded
-- API maix.comm.CommProtocol.resp_ok is overloaded
-- API maix.comm.CommProtocol.report is overloaded
-- API maix.comm.CommProtocol.report is overloaded
-- API maix.comm.CommProtocol.resp_err is overloaded
-- Auto add module maix.comm, < maix_comm.hpp >
-- API maix.comm.modbus.MasterRTU.read_coils is overloaded
-- API maix.comm.modbus.MasterRTU.write_coils is overloaded
-- API maix.comm.modbus.MasterRTU.read_discrete_input is overloaded
-- API maix.comm.modbus.MasterRTU.read_input_registers is overloaded
-- API maix.comm.modbus.MasterRTU.read_holding_registers is overloaded
-- API maix.comm.modbus.MasterRTU.write_holding_registers is overloaded
-- API maix.comm.modbus.MasterTCP.read_coils is overloaded
-- API maix.comm.modbus.MasterTCP.write_coils is overloaded
-- API maix.comm.modbus.MasterTCP.read_discrete_input is overloaded
-- API maix.comm.modbus.MasterTCP.read_input_registers is overloaded
-- API maix.comm.modbus.MasterTCP.read_holding_registers is overloaded
-- API maix.comm.modbus.MasterTCP.write_holding_registers is overloaded
-- Auto add module maix.comm, < maix_modbus.hpp >
-- Auto add module maix.comm.modbus, < maix_modbus.hpp >
-- Auto add module maix.modbus, < maix_modbus.hpp >
-- Auto add module maix.modbus.Slave, < maix_modbus.hpp >
-- Auto add module maix.ext_dev, < maix_axp2101.hpp >
-- Auto add module maix.ext_dev.axp2101, < maix_axp2101.hpp >
-- Auto add module maix.ext_dev, < maix_bm8563.hpp >
-- Auto add module maix.ext_dev.bm8563, < maix_bm8563.hpp >
-- Auto add module maix.ext_dev, < maix_cmap.hpp >
-- Auto add module maix.ext_dev.cmap, < maix_cmap.hpp >
-- Auto add module maix.ext_dev, < maix_fp5510.hpp >
-- Auto add module maix.ext_dev.fp5510, < maix_fp5510.hpp >
-- Auto add module maix.ext_dev, < maix_imu.hpp >
-- Auto add module maix.ext_dev.imu, < maix_imu.hpp >
-- Auto add module maix.ext_dev, < maix_lsm6dsowtr.hpp >
-- Auto add module maix.ext_dev.lsm6dsowtr, < maix_lsm6dsowtr.hpp >
-- Auto add module maix.ext_dev, < maix_pmu.hpp >
-- Auto add module maix.ext_dev.pmu, < maix_pmu.hpp >
-- Auto add module maix.ext_dev, < maix_qmi8658.hpp >
-- Auto add module maix.ext_dev.qmi8658, < maix_qmi8658.hpp >
-- Auto add module maix.ext_dev, < maix_tmc2209.hpp >
-- Auto add module maix.ext_dev.tmc2209, < maix_tmc2209.hpp >
-- Auto add module maix.ext_dev, < maix_mlx90640.hpp >
-- Auto add module maix.ext_dev.mlx90640, < maix_mlx90640.hpp >
-- Auto add module maix.ext_dev, < maix_tof100.hpp >
-- Auto add module maix.ext_dev.tof100, < maix_tof100.hpp >
-- Auto add module maix.nn, < maix_llm_qwen.hpp >
-- Auto add module maix.nn, < maix_vlm_internvl.hpp >
-- Auto add module maix.network, < maix_network.hpp >
-- Auto add module maix.network, < maix_wifi.hpp >
-- Auto add module maix.network.wifi, < maix_wifi.hpp >
-- API maix.nn.MUD.parse_labels is overloaded
-- API maix.nn.NN.extra_info_labels is overloaded
-- Auto add module maix.nn, < maix_nn.hpp >
-- Auto add module maix.nn, < maix_nn_F.hpp >
-- Auto add module maix.nn.F, < maix_nn_F.hpp >
-- Auto add module maix.nn, < maix_nn_classifier.hpp >
-- Auto add module maix.nn, < maix_nn_depth_anything.hpp >
-- Auto add module maix.nn, < maix_nn_face_detector.hpp >
-- Auto add module maix.nn, < maix_nn_face_landmarks.hpp >
-- Auto add module maix.nn, < maix_nn_face_recognizer.hpp >
-- Auto add module maix.nn, < maix_nn_hand_landmarks.hpp >
-- Auto add module maix.nn, < maix_nn_melotts.hpp >
-- Auto add module maix.nn, < maix_nn_mixformer_v2.hpp >
-- Auto add module maix.nn, < maix_nn_nanotrack.hpp >
-- API maix.nn.Objects.add is overloaded
-- Auto add module maix.nn, < maix_nn_object.hpp >
-- Auto add module maix.nn, < maix_nn_ocr_object.hpp >
-- Auto add module maix.nn, < maix_nn_pp_ocr.hpp >
-- Auto add module maix.nn, < maix_nn_retinaface.hpp >
-- Auto add module maix.nn, < maix_nn_self_learn_classifier.hpp >
-- API maix.nn.Speech.raw is overloaded
-- API maix.nn.Speech.digit is overloaded
-- API maix.nn.Speech.kws is overloaded
-- API maix.nn.Speech.lvcsr is overloaded
-- Auto add module maix.nn, < maix_nn_speech.hpp >
-- Auto add module maix.nn, < maix_nn_whisper.hpp >
-- Auto add module maix.nn, < maix_nn_yolo11.hpp >
-- Auto add module maix.nn, < maix_nn_yolo_world.hpp >
-- Auto add module maix.nn, < maix_nn_yolov5.hpp >
-- Auto add module maix.nn, < maix_nn_yolov8.hpp >
-- Auto add module maix.peripheral, < maix_adc.hpp >
-- Auto add module maix.peripheral.adc, < maix_adc.hpp >
-- Auto add module maix.peripheral, < maix_gpio.hpp >
-- Auto add module maix.peripheral.gpio, < maix_gpio.hpp >
-- Auto add module maix.peripheral, < maix_hid.hpp >
-- Auto add module maix.peripheral.hid, < maix_hid.hpp >
-- API maix.peripheral.i2c.I2C.writeto is overloaded
-- API maix.peripheral.i2c.I2C.writeto is overloaded
-- API maix.peripheral.i2c.I2C.writeto_mem is overloaded
-- API maix.peripheral.i2c.I2C.writeto_mem is overloaded
-- Auto add module maix.peripheral, < maix_i2c.hpp >
-- Auto add module maix.peripheral.i2c, < maix_i2c.hpp >
-- API maix.peripheral.key.Key.read is overloaded
-- Auto add module maix.peripheral, < maix_key.hpp >
-- Auto add module maix.peripheral.key, < maix_key.hpp >
-- Auto add module maix.peripheral, < maix_pinmap.hpp >
-- Auto add module maix.peripheral.pinmap, < maix_pinmap.hpp >
-- Auto add module maix.peripheral, < maix_pwm.hpp >
-- Auto add module maix.peripheral.pwm, < maix_pwm.hpp >
-- API maix.peripheral.spi.SPI.read is overloaded
-- API maix.peripheral.spi.SPI.write is overloaded
-- API maix.peripheral.spi.SPI.write_read is overloaded
-- Auto add module maix.peripheral, < maix_spi.hpp >
-- Auto add module maix.peripheral.spi, < maix_spi.hpp >
-- Auto add module maix.peripheral, < maix_timer.hpp >
-- Auto add module maix.peripheral.timer, < maix_timer.hpp >
-- API maix.peripheral.uart.UART.write is overloaded
-- API maix.peripheral.uart.UART.write is overloaded
-- API maix.peripheral.uart.UART.write is overloaded
-- API maix.peripheral.uart.UART.read is overloaded
-- Auto add module maix.peripheral, < maix_uart.hpp >
-- Auto add module maix.peripheral, < maix_wdt.hpp >
-- Auto add module maix.peripheral.wdt, < maix_wdt.hpp >
-- Auto add module maix.tracker, < maix_bytetrack.hpp >
-- API maix.camera.Camera.read is overloaded
-- API maix.display.Display.Display is overloaded
-- API maix.image.Image.Image is overloaded
-- API maix.image.Image.to_tensor_float32 is overloaded
-- API maix.image.Image.to_format is overloaded
-- Auto add module maix.image, < maix_image_cmap.hpp >
-- Auto add module maix.image, < maix_image_color.hpp >
-- Auto add module maix.image, < maix_image_cv.hpp >
-- Auto add module maix.image, < maix_image_def.hpp >
-- Auto add module maix.image, < maix_image_obj.hpp >
-- Auto add module maix.http, < maix_jpg_stream.hpp >
-- API maix.pipeline.Stream.Stream is overloaded
-- Auto add module maix.rtsp, < maix_rtsp.hpp >
-- API maix.touchscreen.TouchScreen.read is overloaded
-- API maix.touchscreen.TouchScreen.read0 is overloaded
-- Auto add module maix.touchscreen, < maix_touchscreen.hpp >
-- API maix.tracker.Track.Track is overloaded
-- Auto add module maix.tracker, < maix_tracker.hpp >
-- Auto add module maix.uvc, < maix_uvc_stream.hpp >
-- API maix.video.Context.Context is overloaded
-- API maix.video.Frame.Frame is overloaded
-- API maix.video.Packet.Packet is overloaded
-- Auto add module maix.image, < maix_image_extra.hpp >
-- Generating MaixCDK API documentation
-- Generate MaixCDK API doc complete (0.18s)
CMake Warning (dev) at /home/foobar/git/sipeed/MaixCDK/tools/cmake/gen_binary.cmake:30 (add_custom_command):
The following keywords are not supported when using
add_custom_command(TARGET): DEPENDS.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/home/foobar/git/sipeed/MaixCDK/tools/cmake/compile.cmake:708 (include)
CMakeLists.txt:9 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: /home/foobar/git/sipeed/MaixCDK/examples/hello_world/build
[ 1%] Built target gen_exe_src
-- Update build time and version info to header config at: ('/home/foobar/git/sipeed/MaixCDK/examples/hello_world/build/config/global_build_info_time.h', '/home/foobar/git/sipeed/MaixCDK/examples/hello_world/build/config/global_build_info_version.h')
[ 1%] Built target update_build_info
[ 7%] Built target ntp_client
[ 11%] Built target ini
[ 12%] Building CXX object yaml/CMakeFiles/yaml.dir/yaml-cpp/src/emitterutils.cpp.o
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:221:11: error: ‘uint16_t’ was not declared in this scope
221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
| ^~~~~~~~
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:13:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
12 | #include "yaml-cpp/null.h"
+++ |+#include <cstdint>
13 | #include "yaml-cpp/ostream_wrapper.h"
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:221:21: error: ‘uint16_t’ was not declared in this scope
221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
| ^~~~~~~~
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:221:21: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:221:29: error: template argument 1 is invalid
221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
| ^
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:221:29: error: template argument 2 is invalid
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp: In function ‘int YAML::Utils::{anonymous}::EncodeUTF16SurrogatePair(int)’:
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:222:9: error: ‘uint32_t’ does not name a type
222 | const uint32_t leadOffset = 0xD800 - (0x10000 >> 10);
| ^~~~~~~~
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:222:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:225:5: error: ‘leadOffset’ was not declared in this scope
225 | leadOffset | (codePoint >> 10),
| ^~~~~~~~~~
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:227:3: error: cannot convert ‘<brace-enclosed initializer list>’ to ‘int’ in return
227 | };
| ^
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp: In function ‘void YAML::Utils::{anonymous}::WriteDoubleQuoteEscapeSequence(YAML::ostream_wrapper&, int, YAML::StringEscaping::value)’:
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:246:55: error: request for member ‘first’ in ‘surrogatePair’, which is of non-class type ‘int’
246 | WriteDoubleQuoteEscapeSequence(out, surrogatePair.first, stringEscapingStyle);
| ^~~~~
/home/foobar/git/sipeed/MaixCDK/components/3rd_party/yaml/yaml-cpp/src/emitterutils.cpp:247:55: error: request for member ‘second’ in ‘surrogatePair’, which is of non-class type ‘int’
247 | WriteDoubleQuoteEscapeSequence(out, surrogatePair.second, stringEscapingStyle);
| ^~~~~~
make[2]: *** [yaml/CMakeFiles/yaml.dir/build.make:191: yaml/CMakeFiles/yaml.dir/yaml-cpp/src/emitterutils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:389: yaml/CMakeFiles/yaml.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
My cmake is 4.2.0.
Is this a problem introduced with a newer cmake version?
Metadata
Metadata
Assignees
Labels
No labels