Comments (3)
@strelokndv Thanks for posting this issue, you can refer to this : android/ndk#1945 (comment)
from vcpkg.
Sorry, I don't have clang's compiler environment. I use gcc not clang.
I tried it locally but didn't reproduce this issue:
Test@docker:~/Frank/vcpkg$ ./vcpkg install libsodium:arm64-android
Computing installation plan...
The following packages will be built and installed:
libsodium:[email protected]#1
Detecting compiler hash for triplet arm64-android...
Restored 0 package(s) from /home/Test/.cache/vcpkg/archives in 10.6 us. Use --debug to see more details.
Installing 1/1 libsodium:[email protected]#1...
Building libsodium:[email protected]#1...
-- Using cached jedisct1-libsodium-1.0.19.tar.gz.
-- Extracting source /home/Test/Frank/vcpkg/downloads/jedisct1-libsodium-1.0.19.tar.gz
-- Using source at /home/Test/Frank/vcpkg/buildtrees/libsodium/src/1.0.19-fdaa0be457.clean
-- Getting CMake variables for arm64-android-dbg
-- Getting CMake variables for arm64-android-rel
-- Generating configure for arm64-android
-- Finished generating configure for arm64-android
-- Configuring arm64-android-dbg
-- Configuring arm64-android-rel
-- Building arm64-android-dbg
-- Installing arm64-android-dbg
-- Building arm64-android-rel
-- Installing arm64-android-rel
-- Fixing pkgconfig file: /home/Test/Frank/vcpkg/packages/libsodium_arm64-android/lib/pkgconfig/libsodium.pc
-- Fixing pkgconfig file: /home/Test/Frank/vcpkg/packages/libsodium_arm64-android/debug/lib/pkgconfig/libsodium.pc
-- Installing: /home/Test/Frank/vcpkg/packages/libsodium_arm64-android/share/libsodium/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 197 ms.
Elapsed time to handle libsodium:arm64-android: 32 s
libsodium:arm64-android package ABI: 89987dbbecb4494a99b3fe235b8fec88c01a5ca1eff1fe3d2cbc209c89536aff
Total install time: 32 s
libsodium provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(unofficial-sodium CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial-sodium::sodium)
libsodium provides pkg-config modules:
# A modern and easy-to-use crypto library
libsodium
Test@docker:~/Frank/vcpkg$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
from vcpkg.
Sorry, I don't have clang's compiler environment. I use gcc not clang.
If you have a suitable NDK, you have clang.
gcc in NDK has been deprecated a while ago. It is not the default with NDK r25 which is used in VCPKG CI.
$ gcc --version gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
This is the not compiler used when building for android. See config or install log.
FTR the error is reproducible with NDK r26.
from vcpkg.
Related Issues (20)
- error: building gmp:x64-windows failed with: BUILD_FAILED HOT 1
- Compatibility is incorrectly reported on vcpkg.io
- [raylib] Build error on x64-windows HOT 1
- [New Port Request] <GPAC> HOT 2
- [sdl2] build failure HOT 4
- [qt5-base] Build error on x64-mingw-dynamic
- [simdjson] update to 3.8.0
- [cairomm] update to 1.18.0
- Some libraries will fail to build if using CMake project in Visual Studio HOT 3
- [apr-util] Build error on arm64-osx HOT 16
- IXWebSocket update to 11.4.5
- [New Port Request] CopperSpice HOT 4
- failed to compress folder HOT 3
- [gmp] Build failure on arm64-osx HOT 1
- [colmap] colmap[cuda,tests]:x64-windows build error HOT 1
- [New Environment variable] add an Environment variable like VCPKG_DISABLE to disable vcpkg integration once but not global HOT 3
- Rename scripts/cmake/vcpkg_find_acquire_program(DARK).cmake to scripts/cmake/vcpkg_find_acquire_program(WiX).cmake HOT 2
- [boost-integer] Build failure
- [bzip2] Build error on x64-linux HOT 1
- [sail] fix layout in vcpkg include tree HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.