Thinger client on OpenWRT

When I run cmake …/ every things look smooth:

– The C compiler identification is GNU 7.3.0
– The CXX compiler identification is GNU 7.3.0
– Check for working C compiler: /home/user/crosscompile/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-musl-gcc
– Check for working C compiler: /home/user/crosscompile/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-musl-gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Check for working CXX compiler: /home/user/crosscompile/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-musl-g++
– Check for working CXX compiler: /home/user/crosscompile/openwrt/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin/mips-openwrt-linux-musl-g++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Performing Test COMPILER_SUPPORTS_CXX11
– Performing Test COMPILER_SUPPORTS_CXX11 - Success
– Performing Test COMPILER_SUPPORTS_CXX0X
– Performing Test COMPILER_SUPPORTS_CXX0X - Success
– Configuring done
– Generating done
– Build files have been written to: /home/user/crosscompile/openwrt/Linux-Client/build

Try with “sudo”?

1 Like

Found the problem!
I copied the CMakeLists.txt from you as is. Some how the double quotes " are becoming something else ” somewhere in the copy/paste process.

Corrected the post, used preformatted text instead of block quote, that way it works!

Thank you for the efforts in making this cross-compilation possible.

I think I hit a deadly end.
My openWRT device is running barrier_breaker 14.07-rc3 which doesn’t seem to have a “libstdcpp” package. Upgrading is not a good idea due to limit of onboard memory.

Filesystem Size Used Available Use% Mounted on
rootfs 1.0M 364.0K 660.0K 36% /
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 14.2M 56.0K 14.1M 0% /tmp
/dev/mtdblock3 1.0M 364.0K 660.0K 36% /overlay
overlayfs:/overlay 1.0M 364.0K 660.0K 36% /
tmpfs 512.0K 0 512.0K 0% /dev