Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
opencv compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Thu Aug 16, 2018 3:37 pm    Post subject: opencv compilation Reply with quote

When compiling opencv on gentoo on arm64 I get:

' fatal error: libpng/png.h: No such file or directory '

it seems I need to
Code:

cd /usr/include;ln -s libpng16 libpng


Am I missing something here?

My question is this the fault of gentoo for not symlinking that directory, or libpng for moving that directory to libpng16 or opencv for looking for it in the wrong place?

In addition the v4l libs seems to require:

Code:
cd /usr/include/linux;ln -s ../libv4l1-videodev.h ./videodev.h


which I adapted from https://www.raspberrypi.org/forums/viewtopic.php?p=560523

original SO question:
https://stackoverflow.com/questions/51878698/compile-opencv-fails-on-libpng-png-h-on-gentoo?noredirect=1#comment90711810_51878698
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum