Open aon3ko opened 4 years ago
i have the same question my system: ubuntu 18.04 openwrt sdk 19.07.2
I have same issue. debian buster, openwrt sdk 19.07.2
Will check the issue in several days
@wongsyrone ping
I cannot reproduce this issue using OpenWrt trunk and packages feed master branch.
Maybe CMake cause this problem.
same problem, openwrt-19.07.4 and CMake version 3.15. But openwrt-master is ok and CMake version is 3.18
Under openwrt-19.07 one needs to explicitly enable the required boost libraries. In make menuconfig
, enable Libraries
-> boost
, and enable program_options
and system
under "Select boost libraries".
EDIT: The boost libraries should be automatically selected according to the dependencies of the package, and on another try, this is indeed the case. I have no idea why it needs manual intervention the first time, though.
Same here. openwrt-sdk-21.02.0 cmake: 3.19.1
What I did:
./scripts/feeds update -a
make menuconfig
# no Libraries -> boost found
make make package/openwrt-trojan/trojan/compile V=s
error log:
CMake Error at /home/neo/openwrt-sdk-21.02.0-apm821xx-sata_gcc-8.4.0_musl.Linux-x86_64/staging_dir/host/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR system program_options)
(Required is at least version "1.66.0")
Call Stack (most recent call first):
/home/neo/openwrt-sdk-21.02.0-apm821xx-sata_gcc-8.4.0_musl.Linux-x86_64/staging_dir/host/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
/home/neo/openwrt-sdk-21.02.0-apm821xx-sata_gcc-8.4.0_musl.Linux-x86_64/staging_dir/host/share/cmake-3.19/Modules/FindBoost.cmake:2193 (find_package_handle_standard_args)
CMakeLists.txt:39 (find_package)
Build against OpenWrt master r13124-3f660249e6 Build command: