make
sudo make install
There were 2 errors in the first command saying "permission denied". I ignored it because I didn't know how to fix it!
Then I executed the second command. It seemed to start OK,and so I have to wait for 4+ hours!
.END
Raspberry Pi + OpenCV POSTED BY MICHAEL ON JUN 14, 2012 IN RASPBERRY PI, TUTORIALS |
http://mitchtech.net/raspberry-pi-opencv/
Now we are ready to start the build! To compile, run make, then install with make install:
make
sudo make install
As you can see from the image, this will take a LONG time ... over four and a half hours to compile!
pi@raspberrypi ~/fongvision/OpenCV-2.3.1/build $ make
Scanning dependencies of target libtiff
CMake Error: Cannot open file for write: /home/pi/fongvision/OpenCV-2.3.1/build/3rdparty/libtiff/CMakeFiles/libtiff.dir/depend.make.tmp
CMake Error: : System Error: Permission denied
make[2]: *** [3rdparty/libtiff/CMakeFiles/libtiff.dir/depend] Error 2
make[1]: *** [3rdparty/libtiff/CMakeFiles/libtiff.dir/all] Error 2
make: *** [all] Error 2
pi@raspberrypi ~/fongvision/OpenCV-2.3.1/build $ sudo make install
Scanning dependencies of target libtiff
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_aux.o
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_close.o
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_codec.o
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_color.o
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_compress.o
[ 1%] Building C object 3rdparty/libtiff/CMakeFiles/libtiff.dir/tif_dir.o
...
.END
No comments:
Post a Comment