This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to open sample project

I am trying to open HTTPS client project from \v1.2.0\nrf\samples\nrf9160\https_client i am facing below error.

I tried opening different project still i am getting same error as below.

  • More detailed logs

    Loading solution serial_lte_modem.emProject
    Executing load commands
    D:/Katari/v1.2.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=D:/Katari/v1.2.0/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=D:/Katari/v1.2.0/toolchain/opt -BD:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns -HD:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem -DPYTHON_EXECUTABLE=D:/Katari/v1.2.0/toolchain/opt/bin/python.exe -DCMAKE_MAKE_PROGRAM=D:/Katari/v1.2.0/toolchain/opt/bin/ninja.exe -DDTC=D:/Katari/v1.2.0/toolchain/opt/bin/dtc.exe -DDTC_OVERLAY_FILE=D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/nrf9160_pca10090ns.overlay -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=D:/Katari/v1.2.0/toolchain/segger_embedded_studio/html/configure_nordic_project_menuconfig.py
    -- Zephyr version: 2.1.99
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: D:/Katari/v1.2.0/toolchain/opt/bin/Scripts/west.exe (found suitable version "0.6.3", minimum required is "0.6.0")
    -- Loading D:/Katari/v1.2.0/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    -- Overlaying D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/nrf9160_pca10090ns.overlay
    Devicetree configuration written to D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns/zephyr/include/generated/devicetree.conf
    Parsing D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/Kconfig
    D:/Katari/v1.2.0/nrf\lib\fprotect/Kconfig:20: WARNING: dt_int_val is deprecated.
    D:/Katari/v1.2.0/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration 'D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns/zephyr/.config'
    No change to 'D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns/zephyr/.config'
    -- Cache files will be written to: D:/Katari/v1.2.0/zephyr/.cache
    CMake Error at D:/Katari/v1.2.0/zephyr/cmake/extensions.cmake:1457 (message):
    Assertion failed: The toolchain is unable to build a dummy C file. See
    CMakeError.log.
    Call Stack (most recent call first):
    D:/Katari/v1.2.0/zephyr/CMakeLists.txt:42 (assert)


    -- Configuring incomplete, errors occurred!
    See also "D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns/CMakeFiles/CMakeOutput.log".
    See also "D:/Katari/v1.2.0/nrf/samples/nrf9160/serial_lte_modem/build_nrf9160_pca10090ns/CMakeFiles/CMakeError.log".
    Project load failed
    Reported error: solution load command failed (1)

  • Hello,

    what release of SES are you running? You should always run the latest SES version when working with NCS.

  • What options are you using when importing the project? Can you send a screenshot?

Related