<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:building_the_libpixyusb_example_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:v2:building_the_libpixyusb_example_on_linux [2018/07/12 00:46]
jfrench corrected command
wiki:v2:building_the_libpixyusb_example_on_linux [2019/06/12 16:09] (current)
jfrench
Line 15: Line 15:
  
 Although this procedure uses Linux Mint-18, it //should// work with any Linux distribution that uses the Debian package manager (e.g. Ubuntu). Although this procedure uses Linux Mint-18, it //should// work with any Linux distribution that uses the Debian package manager (e.g. Ubuntu).
 +
 +**IMPORTANT:​** due to USB conflicts, attempting to use Pixy with a virtual machine is NOT recommended.
  
  
Line 27: Line 29:
 In the terminal window type: In the terminal window type:
  
-''​%%sudo apt-get install git libusb-1.0-0-dev g++%%''​+''​%%sudo apt-get install git libusb-1.0-0-dev g++ build-essential%%''​
  
 ===== 2.2. Build libpixyusb2 ===== ===== 2.2. Build libpixyusb2 =====
Line 64: Line 66:
 In the terminal window type: In the terminal window type:
  
-''​%%./​pixy2/​scripts/​build_get_blocks_cpp_demo.sh%%''​+''​%%./​build_get_blocks_cpp_demo.sh%%''​
  
 {{:​wiki:​v2:​build_get_blocks.png?​400|}} {{:​wiki:​v2:​build_get_blocks.png?​400|}}
Line 74: Line 76:
 In the terminal window type: In the terminal window type:
  
-''​%%cd ./pixy2/​build/​get_blocks_cpp_demo%%''​\\+''​%%cd ../​build/​get_blocks_cpp_demo/%%''​\\
 ''​%%sudo ./​get_blocks_cpp_demo%%''​ ''​%%sudo ./​get_blocks_cpp_demo%%''​
  
Line 96: Line 98:
 ==== Start the example ==== ==== Start the example ====
  
-To start the pan_tilt ​demo, run '​get\_lines\_cpp\_demo'​ as root.+To start the get_lines ​demo, run '​get\_lines\_cpp\_demo'​ as root.
  
 ''​%%cd ./​pixy2/​build/​get_lines_cpp_demo%%''​\\ ''​%%cd ./​pixy2/​build/​get_lines_cpp_demo%%''​\\
wiki/v2/building_the_libpixyusb_example_on_linux.1531356389.txt.gz ยท Last modified: 2018/07/12 00:46 by jfrench