Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6757799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:41:57+00:00 2026-05-26T13:41:57+00:00

this is yet another OpenCV installation question, however I wasn’t able to find an

  • 0

this is yet another OpenCV installation question, however I wasn’t able to find an answer by reading answers to existing ones. I’m trying to set up OpenCV 2.3.1 directories in VS 2010 and migrate several of my projects to this new version from OpenCV 2.2. I followed this Setup OpenCV-2.3 for Visual Studio 2010 post, which is for 2.3 (2.3 and 2.3.1 apparently have the same folder structure), but it doesn’t seem accurate.

First of all, if I download and extract OpenCV-2.3.0-win-superpack.exe (version from 2011-07-04 on sourceforge), there aren’t build and opencv directories. Also, there aren’t any precompiled libraries, I have to use CMake, create VS2010 solution and compile it from scratch.

Second, the three include directories

C:\OpenCV2.3\build\include\opencv
C:\OpenCV2.3\build\include\opencv2
C:\OpenCV2.3\include

do not contain all the necessary module headers. If I include

#include <opencv/cv.h>

or

#include <opencv2/opencv.hpp>

and try to build the project, I get C1083 for every module (core, imgproc, …), as opencv.hpp has these lines

#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
#include "opencv2/flann/miniflann.hpp"
#include "opencv2/imgproc/imgproc_c.h"
...

Indeed, the headers of each module are not in any of the three include directories above, they are in modules folder, deeply nested in complicated directory structure as modules\{module}\include\opencv2\{module}\{module}.hpp, so I have to add every include directory manually. This seems to work, but it is very time consuming especially when changing something and it gets very complicated when compiling Matlab MEX programs, because in Matlab there’s no such thing as property sheets or simple management of include directories. I don’t understand why it gets with each new version more and more difficult to properly configure OpenCV…

So, my question is: am I doing something wrong? Perhaps CMake configuration (I used all the defaults, compiler VS10 x64)? The documentation for newer versions of OpenCV is missing and the posts such as Setup OpenCV-2.3 for Visual Studio 2010 describe much simpler procedure and directory structure…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:41:57+00:00Added an answer on May 26, 2026 at 1:41 pm

    It sounds like you didn’t build the INSTALL target in Visual Studio. Did you only build ALL_BUILD?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I guess this question will sound familiar, but I am yet another programmer baffled
This is yet another MySQL literature question. I asked for some MySQL / DBA
Yet another Scrabble project question... This is a simple one. It seems I am
this is yet another .htaccess question. And I already did my literature review. Would
Yes, this is probably yet another greatest-n-per-group question... But I've tried at least a
Yet another IE is doing something different from other browsers question but this is
This is yet another Unit Testing question. I'm trying to draw knowledge from a
EDIT: Problem solved. This was (yet another) situation where the problem wasn't really where
Yes, I know, yet another question about mutable objects. See this for general background
First of all, I apologize for yet another interface question. I thought that this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.