auth's Introduction
1. 生成so库libtocken.so (1)生成鉴权码不含CIMI arm-hisiv500-linux-g++ tocken.cpp md5.cpp get_imei.cpp -fPIC -shared -o libtocken.so (或者arm-hisiv500-linux-g++ -shared -o libtocken.so -fPIC *.cpp) (2)生成鉴权码包含CIMI arm-hisiv500-linux-g++ tocken.cpp md5.cpp get_imei.cpp -D=CIMI -fPIC -shared -o libtocken.so (或者arm-hisiv500-linux-g++ -shared -o libtocken.so -D=CIMI -fPIC *.cpp) arm-hisiv500-linux-strip libtocken.so arm-hisiv500-linux-g++ test.cpp -o test -L./ -ltocken -lpthread export LD_LIBRARY_PATH=/home/blacksky/src/token:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. 2. 生成jni库libdsai-md5.so g++ -I/home/blacksky/src/token/jdk1.7.0_80/include -I/home/blacksky/src/token/jdk1.7.0_80/include/linux -fPIC -shared -o libdsai-md5.so javaMd5.cpp md5.cpp g++ -I/home/blacksky/src/lib/jdk1.7.0_80/include -I/home/blacksky/src/lib/jdk1.7.0_80/include/linux -I/home/blacksky/src/lib/include -fPIC -shared -o libdsai-sha512.so javaSHA512.cpp -L/home/blacksky/src/lib/lib -lssl -lcrypto ./config no-asm --prefix=/home/liguangyang/dengwenjun/lib -fPIC ./config -t arm-hisiv500-linux-g++ test.cpp -I ./include -L/home/liguangyang/dengwenjun/lib/lib -lssl -lcrypto -o test /home/liguangyang/dengwenjun/lib/lib /home/liguangyang/dengwenjun/lib/include/ -fPIC -shared -I ./include -L/home/blacksky/src/lib/lib/ -lcrypto -lssl arm-hisiv500-linux-g++ -shared -o libtocken.so -fPIC *.cpp -I/home/liguangyang/dengwenjun/lib/include/ -L/home/liguangyang/dengwenjun/lib/lib -lcrypto -lssl arm-hisiv500-linux-strip libtocken.so
auth's People
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.