Re: [beagleboard] How to Compile OpenCV 'Hello World'

2016-07-14 Thread Ben Nguyen
Interestingly, when I omit the filename, g++ -O2 `pkg-config --cflags --libs opencv` I get warnings about lame! http://pastebin.com/dLWJaCed (ex. libmp3lame.so.0 needed by //usr/lib/arm-linux-gnueabihf/libavcodec.so not found ) Why would it be looking for lame/mp3 files to compile? lame

Re: [beagleboard] How to Compile OpenCV 'Hello World'

2016-07-12 Thread Wally Bkg
And if that doesn't work, make sure the development packages ( libxxx-dev) for the open CV libraries are also installed. Its one of my biggest frustrations with Debian/Ubuntu that installing the library doesn't generally install the header files for that library. On Monday, July 11, 2016 at

Re: [beagleboard] How to Compile OpenCV 'Hello World'

2016-07-11 Thread Jerry Davis
On Mon, Jul 11, 2016 at 8:32 PM, Ben Nguyen wrote: > 'pkg-config --cflags --libs opencv' try backticks instead of single-quotes like you have -- Extra Ham Operator: K7AZJ Registered Linux User: 275424 Raspberry Pi and Arduino developer *The most exciting phrase

[beagleboard] How to Compile OpenCV 'Hello World'

2016-07-11 Thread Ben Nguyen
I understand opencv is installed on the stock debian 8.4 distro included with the beaglebone black i.e. pkg-config --modversion opencv returns 2.4.9.1 However, when I try to compile a simple hello-world test file: g++ -O2 'pkg-config --cflags --libs opencv' test.cpp -o test I get an error