You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run 'build in OpenWRT SDK, using command: make package/example/themis/{clean,prepare,compile} V=s'
See the following error:
make[5]: Entering directory '/xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0'
[ 0%] Building C object CMakeFiles/soter.dir/src/soter/ed25519/fe_0.c.o
In file included from /xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0/src/soter/ed25519/fe_0.c:1:0:
/xxx/openwrt-sdk-21.02.3-realtek-rtd129x_gcc-7.5.0_musl.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/themis-1.0/src/soter/ed25519/fe.h:7:10: fatal error: soter/soter_api.h: No such file or directory
#include <soter/soter_api.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [CMakeFiles/soter.dir/build.make:82: CMakeFiles/soter.dir/src/soter/ed25519/fe_0.c.o] Error 1
Expected behavior
Should build OK using cmake
Environment (please complete the following information):
OS: [OS name and version, e.g. iOS 13]
Hardware: [32-bit/64-bit, or mobile device name and version]
The text was updated successfully, but these errors were encountered:
jannson
changed the title
Build failed using OpenWRT, have to change CMakefiles.txt
Cross compile failed using OpenWRT, have to change CMakefiles.txt
Jul 28, 2023
Actually, we test and document installation using make, not cmake. For now, we don't test builds by cmake. CMakeLists.txt was added for IDE support (eg CLion) that worked only with CMakeLists.txt as source of project files.
So, for now the main approach (officially suggested) is tobuild from sources using make instead of cmake according to the docs.
Feel free to create PR with changes in CMakeLists.txt & tests the verifies building with cmake.
Describe the bug
I can build package from source in OpenWRT SDK.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should build OK using cmake
Environment (please complete the following information):
Additional context
Add a new line after https://github.com/cossacklabs/themis/blob/master/CMakeLists.txt#L3, which is:
Then we can passthough.
The text was updated successfully, but these errors were encountered: