This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

On setting up linux VS code showing error in running command " make gcc gcc-multilib g++-multilib libsdl2-dev"

when I am trying to setup linux with this link  https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/gs_installing.html#install-the-toolchain    

On typing this command in terminal  "make gcc gcc-multilib g++-multilib libsdl2-dev"   ,    I get an error of "make: *** No rule to make target 'gcc'. Stop."

                                                                     

Please suggest me the correct way to do 

Parents
  • Hi Sachin

    I believe your issue here is that the command you try to copy is a multi-line command, where you install these programs. "\" makes the command continue on the next line.

    Try to run the whole command as referenced in the documentation you link to in your post:

    sudo apt install --no-install-recommends git cmake ninja-build gperf \
      ccache dfu-util device-tree-compiler wget \
      python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
      make gcc gcc-multilib g++-multilib libsdl2-dev

    Does this fix your issue?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi Sachin

    I believe your issue here is that the command you try to copy is a multi-line command, where you install these programs. "\" makes the command continue on the next line.

    Try to run the whole command as referenced in the documentation you link to in your post:

    sudo apt install --no-install-recommends git cmake ninja-build gperf \
      ccache dfu-util device-tree-compiler wget \
      python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
      make gcc gcc-multilib g++-multilib libsdl2-dev

    Does this fix your issue?

    Regards,
    Sigurd Hellesvik

Children
No Data
Related