Ask Your Question
0

OpenCV 2.4.6 lib path?

asked 2014-02-16 23:23:59 -0600

solarblast gravatar image

updated 2014-02-16 23:26:48 -0600

In OpenCV 2.4.6, how do I find the path where the library is?

How about the DLL path for the Linker?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-17 01:02:46 -0600

updated 2014-02-17 01:07:37 -0600

In ubuntu systems tpye the following in the terminal:

1) pkg-config --libs opencv

2)pkg-config --cflags opencv

The results of each of them will be the path.

For Windows the dll will be in build\bin\<build mode=""> folder where <build mode=""> can be Debug or Release.

edit flag offensive delete link more

Comments

I'm using Windows 7. I thought I was looking for the path environmental variable, as in path = C:\Windows\system32;......;%OPENCV_BUILD%\x64\VC10\bin. or OPENCV_BUILD = C:\Robert\opencv\246\build. I got this notion from the "... Build Application ..." doc. Quoting the doc, "If you use the lib system you must set the path where the library files are and specify in which one of them to look." In the paragraph below this statement, I see "If you use the DLL system you must again specify all this, however now for a different reason" Presumably one needs a path to the DLLs. Apparently, I need something for debug or release--whatever that is!.

solarblast gravatar imagesolarblast ( 2014-02-17 12:27:07 -0600 )edit

Question Tools

Stats

Asked: 2014-02-16 23:23:59 -0600

Seen: 1,405 times

Last updated: Feb 17 '14