ONVIF device server - How to compile
Make sure you also check ONVIF device server's companion project: Onvif Device Reference Design |
ONVIF device server |
---|
Introduction |
User Guide |
Getting Started |
Examples |
Evaluating |
Contact Us |
After installing the GSoap dependency and the GStreamer Daemon dependency the compilation shouldn't be a problem.
1. Clone the RidgeRun provided repository:
git clone <repository clone url>
2. Go to the downloaded project:
cd <repository name>
3. Generate the files using the Autotools scripts
./autogen.sh
4. Compile and install
make -jN sudo make install -jN
5. The library should be installed, to link it in the projects you can use the generated file libonvifdevice.pc to link it to your project.
FAQ
- Question: Autogen fails with GSoap error
- Answer: Follow the GSoap dependency wiki
- Question: Autogen fails with gstd/libgstc.h not found error
- Answer: There are two options:
- Option1: Install GStd as indicated in the instructions GStreamer Daemon
- Option2: run the configure script and avoid building the examples: ./configure --disable-test and continue with step #4 (compile and install)