simbit18 commented on PR #18828:
URL: https://github.com/apache/nuttx/pull/18828#issuecomment-4358446975
A quick test I ran
```
Nuttx repository: arjav1528/nuttx
Nuttx branch: dev-issue-15839
Apps repository: apache/nuttx-apps
Apps branch: master
Config: esp32-devkitc:nsh
Build system: all
```
```
Nuttx repository: arjav1528/nuttx
Nuttx branch: dev-issue-15839
Apps repository: apache/nuttx-apps
Apps branch: master
Config: esp32s2-kaluga-1:nsh
Build system: all
```
Same issue
<details>
<summary>Configuring incomplete, errors occurred!</summary>
```
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration
'/github/workspace/sources/nuttx/build/.config.compressed'
Minimal configuration saved to
'/github/workspace/sources/nuttx/build/defconfig.tmp'
Select HOST_LINUX=y
-- CMake: 3.26.0
-- Ninja: 1.10.1
-- Board: esp32-devkitc
-- Config: nsh
-- Appdir: /github/workspace/sources/apps
-- The C compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /tools/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Linux
-- CMake host system processor: x86_64
TOOLS_DIR path is "/github/workspace/sources/nuttx"
HOST = Linux
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to:
/github/workspace/sources/nuttx/build/bin_host
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: xtensa-esp32-elf--gcc
CMake Error at CMakeLists.txt:475 (project):
The CMAKE_C_COMPILER:
xtensa-esp32-elf--gcc
is not a full path and was not found in the PATH.
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:475 (project):
The CMAKE_CXX_COMPILER:
xtensa-esp32-elf--g++
is not a full path and was not found in the PATH.
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.
CMake Error at CMakeLists.txt:475 (project):
The CMAKE_ASM_COMPILER:
xtensa-esp32-elf--gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
```
</details>
Hi @arjav1528 , as you’re using macOS, I’d recommend you run some tests with
this #18568 tool before adding a new PR.
Workflow -> Manually Compiling with Make or Cmake for test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]