how do I install opencv4.0 on 18.10?Linker cannot find libcvOpenCV install problems on Studio 12.04 - broken...

Why is the "ls" command showing permissions of files in a FAT32 partition?

Limits and Infinite Integration by Parts

Open a doc from terminal, but not by its name

Why is so much work done on numerical verification of the Riemann Hypothesis?

PTIJ: Haman's bad computer

Keeping a ball lost forever

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

Is there a RAID 0 Equivalent for RAM?

What should you do if you miss a job interview (deliberately)?

What happens if you are holding an Iron Flask with a demon inside and walk into an Antimagic Field?

Why "had" in "[something] we would have made had we used [something]"?

Calculate sum of polynomial roots

Redundant comparison & "if" before assignment

How could a planet have erratic days?

Pre-mixing cryogenic fuels and using only one fuel tank

Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?

putting logo on same line but after title, latex

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

Store Credit Card Information in Password Manager?

What exact color does ozone gas have?

Multiplicative persistence

Using substitution ciphers to generate new alphabets in a novel

Is there a way to get `mathscr' with lower case letters in pdfLaTeX?

Mimic lecturing on blackboard, facing audience



how do I install opencv4.0 on 18.10?


Linker cannot find libcvOpenCV install problems on Studio 12.04 - broken dependenciesfailure linking 32bit app using libexpat on Ubuntu 14.04 64bitHow can I fix library conflicts during compilation stemmed from manually installed packages from source code?Opencv commands are needed to be called as root using 'sudo', otherwise shows errorHow to install termiteIs libffi.pc broken on Ubuntu?'make' error - glib.h no such file or directory on Raspberry PiUbuntu 16.10 GTK 3.0 Include Path for HeadersInstall opencv4 in ubuntu 16













0















I have been trying to install opencv4.0.1 on ubuntu for a few weeks now. I have followed the opencv installation instructions
and I am able to make and compile the library, yet after installation, pkgconfig still cant find the library, and when I try to build programs, I get things like missing library errors.



$ pkg-config --cflags opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found









share|improve this question























  • Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

    – steeldriver
    3 mins ago
















0















I have been trying to install opencv4.0.1 on ubuntu for a few weeks now. I have followed the opencv installation instructions
and I am able to make and compile the library, yet after installation, pkgconfig still cant find the library, and when I try to build programs, I get things like missing library errors.



$ pkg-config --cflags opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found









share|improve this question























  • Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

    – steeldriver
    3 mins ago














0












0








0








I have been trying to install opencv4.0.1 on ubuntu for a few weeks now. I have followed the opencv installation instructions
and I am able to make and compile the library, yet after installation, pkgconfig still cant find the library, and when I try to build programs, I get things like missing library errors.



$ pkg-config --cflags opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found









share|improve this question














I have been trying to install opencv4.0.1 on ubuntu for a few weeks now. I have followed the opencv installation instructions
and I am able to make and compile the library, yet after installation, pkgconfig still cant find the library, and when I try to build programs, I get things like missing library errors.



$ pkg-config --cflags opencv
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found






software-installation compiling opencv






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 10 mins ago









j0hj0h

6,4531657119




6,4531657119













  • Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

    – steeldriver
    3 mins ago



















  • Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

    – steeldriver
    3 mins ago

















Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

– steeldriver
3 mins ago





Did you set PREFIX=/usr/local - or somewhere else (perhaps somewhere in your home directory)?

– steeldriver
3 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127973%2fhow-do-i-install-opencv4-0-on-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127973%2fhow-do-i-install-opencv4-0-on-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...