PvAPI

From AIRWiki
Jump to: navigation, search

Introduction

PvAPI are libraries provided by prosilica to manage and use Prosilica GigE cameras

Installation tips

  • download linux sdk from here
  • copy and unpack it in a folder (example /opt)

Add shared library to your system

  • create a file .conf for ldconfig
sudo nano -w /etc/ld.so.conf.d/prosilicaLib.conf
  • add the path of .so libraries to this file and save. See this example:
/opt/prosilica/AVT GigE SDK/bin-pc/x86
  • run
sudo ldconfig

Compile SampleViewer

  • install these libraries
    • libwxbase2.8-dev
    • libwxgtk2.8-dev

or use this code:

sudo apt-get install  libwxbase2.8-dev libwxgtk2.8-dev
  • edit the file AVT GigE SDK/examples/SampleViewer/Makefile; substitute these lines
WX_FLAGS = `$(WX_DIR)/wx-config --version=$(WX_VER) --cxxflags` 
WX_LIBS  = `$(WX_DIR)/wx-config --version=$(WX_VER) --libs`

with

WX_FLAGS = `wx-config --version=$(WX_VER) --cxxflags` 
WX_LIBS  = `wx-config --version=$(WX_VER) --libs`
  • run
make sample

Resoureces

GigE Linux Sdk web page