Ask Your Question
0

Do I need to use cmake to configure VS c++

asked 2014-02-26 20:56:23 -0500

solarblast gravatar image

I'm using pre-built.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-02-27 03:47:53 -0500

wl2776 gravatar image

No.

Cmake is to generate build system and compile OpenCV from sources

edit flag offensive delete link more
0

answered 2014-02-27 05:59:02 -0500

glopes gravatar image

If you're having trouble configuring OpenCV on VS, you might want to try the available NuGet package: http://www.nuget.org/packages/opencv/

Just right-click on your project node, select "Manage NuGet packages...", search for opencv, install the package, and start coding. That's it :)

edit flag offensive delete link more

Comments

Oh, yes, I'm having lots of trouble figuring out how to configure 2.4.6!!! NuGet looks promising. I've made one change, an environmental variable, so I wonder if I need to return to its original value, or will Nuget figure it out? It is in the path variable. A system variable. path = .....%OPENCV_BUILD%\x64\VC10\bin. I think I added \x64\VC10\bin. I suspect opencv put in %OPENCV_BUILD%.

solarblast gravatar imagesolarblast ( 2014-02-27 16:50:21 -0500 )edit

I decided to take a look at NuGet. I betan as instructed with the Package Mgr Console. Apparently, I need to fire up VS C++ 2013 to reach it. followed the instructions down to The two drop-down lists set default values that let you omit parameters from the commands you enter in the window:

In the Package source list, select the default source (NuGet package feed) that you want your commands to use. Typically you will leave this as its default value of NuGet official package source. For more information about alternative feeds, see Hosting Your Own NuGet Feeds.
In the Default project list, select the default project that you want your commands to work with. .. I entered PM: Get-Package -ListAvailable and got a huge list. I'm stuck.
solarblast gravatar imagesolarblast ( 2014-02-27 18:39:55 -0500 )edit

You can use the Package Manager Console, but actually the easiest way is just to use the dialog. You can find it by right-clicking on the project and selecting "Manage NuGet packages...". It is a nice intuitive GUI where you can just search for the OpenCV package and install it.

glopes gravatar imageglopes ( 2014-03-01 09:39:51 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-02-26 20:56:23 -0500

Seen: 201 times

Last updated: Feb 27 '14