Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cross compile toolchain installation instructions in README #6

Open
capsulecorplab opened this issue May 18, 2022 · 0 comments

Comments

@capsulecorplab
Copy link

capsulecorplab commented May 18, 2022

The cross compile toolchain for Teensyduino seems to be expecting arduino-1.8.13 to be installed in /opt as well as arm-none-eabi-gcc to be installed in /opt/arduino-1.8.13/hardware/tools/arm/bin/.

For example, I'm currently running into the following error, after installing arduino in the expected folder.

CMake Error at CMakeLists.txt:17 (project):
  The CMAKE_C_COMPILER:

    /opt/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-gcc

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:17 (project):
-- Configuring incomplete, errors occurred!
  The CMAKE_CXX_COMPILER:
See also "/home/kasm-user/fprime-arduino/build-fprime-automatic-Teensyduino/CMakeFiles/CMakeOutput.log".

See also "/home/kasm-user/fprime-arduino/build-fprime-automatic-Teensyduino/CMakeFiles/CMakeError.log".
    /opt/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-g++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


[ERROR] CMake erred with return code 1. Partial build cache remains. Run purge to clean-up.
LeStarch pushed a commit that referenced this issue Aug 12, 2023
* Add TCP Client driver

* TcpClient bug fixes

* Fix macro bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant