Giter VIP home page Giter VIP logo

onvif-1's Introduction

源码目录:client_src
生成库目录(CentOS7):libonvif

#生成静态库:
g++ -DWITH_DOM -DWITH_OPENSSL -lssl -lcrypto -c dom.cpp duration.c mecevp.c mecevp.h smdevp.c soapAccessRulesBindingProxy.cpp soapActionEngineBindingProxy.cpp soapAdvancedSecurityServiceBindingProxy.cpp soapAuthenticationBehaviorBindingProxy.cpp soapC.cpp soapCredentialBindingProxy.cpp soapDeviceBindingProxy.cpp soapDeviceIOBindingProxy.cpp soapDisplayBindingProxy.cpp soapDoorControlBindingProxy.cpp soapImagingBindingProxy.cpp soapMedia2BindingProxy.cpp soapMediaBindingProxy.cpp soapPACSBindingProxy.cpp soapProvisioningBindingProxy.cpp soapPTZBindingProxy.cpp soapPullPointSubscriptionBindingProxy.cpp soapReceiverBindingProxy.cpp soapRecordingBindingProxy.cpp soapRemoteDiscoveryBindingProxy.cpp soapReplayBindingProxy.cpp soapRuleEngineBindingProxy.cpp soapScheduleBindingProxy.cpp soapSearchBindingProxy.cpp soapThermalBindingProxy.cpp soapUplinkBindingProxy.cpp soapwsddProxy.cpp stdsoap2.cpp threads.c wsaapi.c wsseapi.cpp
ar -crv libonvif.a dom.o duration.o mecevp.o smdevp.o soapAccessRulesBindingProxy.o soapActionEngineBindingProxy.o soapAdvancedSecurityServiceBindingProxy.o soapAuthenticationBehaviorBindingProxy.o soapC.o soapCredentialBindingProxy.o soapDeviceBindingProxy.o soapDeviceIOBindingProxy.o soapDisplayBindingProxy.o soapDoorControlBindingProxy.o soapImagingBindingProxy.o soapMedia2BindingProxy.o soapMediaBindingProxy.o soapPACSBindingProxy.o soapProvisioningBindingProxy.o soapPTZBindingProxy.o soapPullPointSubscriptionBindingProxy.o soapReceiverBindingProxy.o soapRecordingBindingProxy.o soapRemoteDiscoveryBindingProxy.o soapReplayBindingProxy.o soapRuleEngineBindingProxy.o soapScheduleBindingProxy.o soapSearchBindingProxy.o soapThermalBindingProxy.o soapUplinkBindingProxy.o soapwsddProxy.o stdsoap2.o threads.o wsaapi.o wsseapi.o

#生成动态库:
g++ -DWITH_DOM -DWITH_OPENSSL -lssl -lcrypto -fPIC -shared -o libonvif.so dom.cpp duration.c mecevp.c mecevp.h smdevp.c soapAccessRulesBindingProxy.cpp soapActionEngineBindingProxy.cpp soapAdvancedSecurityServiceBindingProxy.cpp soapAuthenticationBehaviorBindingProxy.cpp soapC.cpp soapCredentialBindingProxy.cpp soapDeviceBindingProxy.cpp soapDeviceIOBindingProxy.cpp soapDisplayBindingProxy.cpp soapDoorControlBindingProxy.cpp soapImagingBindingProxy.cpp soapMedia2BindingProxy.cpp soapMediaBindingProxy.cpp soapPACSBindingProxy.cpp soapProvisioningBindingProxy.cpp soapPTZBindingProxy.cpp soapPullPointSubscriptionBindingProxy.cpp soapReceiverBindingProxy.cpp soapRecordingBindingProxy.cpp soapRemoteDiscoveryBindingProxy.cpp soapReplayBindingProxy.cpp soapRuleEngineBindingProxy.cpp soapScheduleBindingProxy.cpp soapSearchBindingProxy.cpp soapThermalBindingProxy.cpp soapUplinkBindingProxy.cpp soapwsddProxy.cpp stdsoap2.cpp threads.c wsaapi.c wsseapi.cpp

#静态库例子代码main.cpp:
1、编译:g++ -o test main.cpp -L./lib -lonvif -lssl -lcrypto -I./include
2、执行:./test http://49.125.201.96/onvif/device_service test test12345

#动态库代码例子main.cpp:
1、库目录/home/cc/libonvif/lib
2、配置环境变量: echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/cc/libonvif/lib' >> ~/.bash_profile
3、编译:g++ -o test main.cpp -L./lib -lonvif -lssl -lcrypto -I./include
4、执行:./test http://49.125.201.96/onvif/device_service test test12345
  

onvif-1's People

Contributors

cc20110101 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.