Difference between revisions of "PvAPI"

From AIRWiki
Jump to: navigation, search
(Compile SampleViewer)
Line 23: Line 23:
 
WX_FLAGS = `wx-config --version=$(WX_VER) --cxxflags`  
 
WX_FLAGS = `wx-config --version=$(WX_VER) --cxxflags`  
 
WX_LIBS  = `wx-config --version=$(WX_VER) --libs`
 
WX_LIBS  = `wx-config --version=$(WX_VER) --libs`
 +
</pre>
 +
* run
 +
<pre>
 +
make sample
 
</pre>
 
</pre>
  
 
== Resoureces ==
 
== Resoureces ==
 
[http://www.alliedvisiontec.com/emea/products/software/linux/gige-linux-sdk.html| GigE Linux Sdk web page]
 
[http://www.alliedvisiontec.com/emea/products/software/linux/gige-linux-sdk.html| GigE Linux Sdk web page]

Revision as of 15:36, 22 September 2010

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)

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