Getting error during build

Hi,
Iam new to Operwrt, i tried to pull Openwrt from git hub and tried compiling for Qualcomm 40xx controller, during the process i get error. I followed below steps

  1. git clone https://git.openwrt.org/openwrt/openwrt.git
  2. cd openwrt
  3. ./scripts/feeds update -a
  4. ./scripts/feeds install -a
  5. make menuconfig ( Selected Qualcom 40xx )
  6. make
    I get below error
-- Ccache version: 4.7.4
-- Ccache dev mode: OFF
CMake Error at cmake/StdFilesystem.cmake:22 (message):
  Toolchain doesn't support std::filesystem with nor without -lstdc++fs
Call Stack (most recent call first):
  cmake/StandardSettings.cmake:57 (include)
  CMakeLists.txt:70 (include)

And stops, tried to search menuconfig to disable stdc++fs , but no success.
Anyone could you please let me know how to go ahead. Thanks

First start again with make -j1 V=sc

It seems other toolchains have similar problems with ccache 4.7.x. So as a short time "fix", well bypass the problem, Unselect "use CCACHE" or try and downgrade ccache.

2 Likes

Will try this

Thank you all for suggestions. Issue resolved.
I had enabled Build OpenWrt SDK option under make menuconfig.
After disabling the above option now its compiling.
Thanks for your time
Manju

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.