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

NRF9160 Serial LTE Modem does not compile

I'm trying to compile the serial LTE modem to trial the functionality.

The version as set by the import examples program in SES does not compile:

The error: mkdir(modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/..__bootloader__mcuboot__boot__bootutil__zephyr.dir/C_/Users/gstouthu/ncs/v1.5.0-rc1/bootloader/mcuboot/boot/bootutil): No such file or directory

I tried 1.5.0 & 1.5.0-RC1

I checked other examples, they compile.

Parents
  • Hello, 

    I assume you are using the Toolchain Manager. Can you please tell me how you are opening the project? Have you tried building the project from command line? This can be done by opening either Bash or Command prompt from the dropdown menu in Toolchain Manager. 

    Kind regards,
    Øyvind

  • I tried the command "west build", which resulted in a claim that the west version was too old (0.8.0)

    west update resulted in this error:

    Traceback (most recent call last):
    File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
    File "c:\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
    File "C:\Python39\Scripts\west.exe\__main__.py", line 7, in <module>
    File "c:\python39\lib\site-packages\west\app\main.py", line 780, in main
    app.run(argv or sys.argv[1:])
    File "c:\python39\lib\site-packages\west\app\main.py", line 106, in run
    self.run_command(argv)
    File "c:\python39\lib\site-packages\west\app\main.py", line 334, in run_command
    self.handle_builtin_manifest_load_err(args)
    File "c:\python39\lib\site-packages\west\app\main.py", line 171, in handle_builtin_manifest_load_err
    assert args.command not in no_manifest_ok
    AssertionError

    I had no errors when upgrading to 1.5.0 through the toolchain manager

Reply
  • I tried the command "west build", which resulted in a claim that the west version was too old (0.8.0)

    west update resulted in this error:

    Traceback (most recent call last):
    File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
    File "c:\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
    File "C:\Python39\Scripts\west.exe\__main__.py", line 7, in <module>
    File "c:\python39\lib\site-packages\west\app\main.py", line 780, in main
    app.run(argv or sys.argv[1:])
    File "c:\python39\lib\site-packages\west\app\main.py", line 106, in run
    self.run_command(argv)
    File "c:\python39\lib\site-packages\west\app\main.py", line 334, in run_command
    self.handle_builtin_manifest_load_err(args)
    File "c:\python39\lib\site-packages\west\app\main.py", line 171, in handle_builtin_manifest_load_err
    assert args.command not in no_manifest_ok
    AssertionError

    I had no errors when upgrading to 1.5.0 through the toolchain manager

Children
Related