0

How can I install OpenCV 3.2.0 with Python 2.7 in Ubuntu 17.04? Is there any proper shell script for it?

I have tried this shell script. But I've got these errors. errors

opu 웃
  • 464
  • 1
  • 7
  • 22
  • Please copy terminal output instead of screenshotting it. It will help others with the same problem find this post – Igonato May 14 '17 at 11:16
  • Try running `apt-get install build-essential` it depends on that, it might install it – Sam May 14 '17 at 11:53
  • @Igonato, I am sorry. I actually closed the terminal after taking the screen shot. – opu 웃 May 14 '17 at 17:38
  • @Spammy23, I've tried your code. This message appeared, `build-essential is already the newest version (12.1ubuntu2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.` – opu 웃 May 14 '17 at 17:39

1 Answers1

1

This is due to the removal/relocation of stdlib.h in gcc-6. You can install gcc-5 and make it the default compiler (or config the CXX option in Cmake).

Community
  • 1
  • 1
Quang Hoang
  • 146,074
  • 10
  • 56
  • 74