Installation of OpenCV in Ubuntu 12.10?

view story

http://askubuntu.com – After writing sudo apt-get install g++, it's showing error and how to resolve this error ? Reading package lists... Done Building dependency tree Reading state information... Done g++ is already the newest version. The following package was automatically installed and is no longer required: libopenjpeg2 Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up linux-image-extra-3.5.0-22-generic (3.5.0 (HowTos)