<< 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
Last revision Both sides next revision
wiki:v2:building_the_libpixyusb_example_on_linux [2018/07/12 00:47]
jfrench updated command
wiki:v2:building_the_libpixyusb_example_on_linux [2019/06/12 16:08]
jfrench added virtual machine warning
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 of any kind 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 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.txt ยท Last modified: 2019/06/12 16:09 by jfrench