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

  • Home
  • SEARCH
  • 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 7976421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:54:17+00:00 2026-06-04T08:54:17+00:00

I am using OpenCV 2.4 with NetBeans 7.0.1 on Ubuntu 11.10. When I try

  • 0

I am using OpenCV 2.4 with NetBeans 7.0.1 on Ubuntu 11.10.

When I try to compile code that contains the following

CvSubdiv2DPoint* pt = cvSubdiv2DEdgeOrg( t );

I get the following compilation error

error: there are no arguments to ‘cvSubdiv2DEdgeOrg’ that depend on a template parameter, so a declaration of ‘cvSubdiv2DEdgeOrg’ must be available [-fpermissive]
note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)

When I right click on CvSubdiv2DPoint and choose Navigate:Got to Declaration/Definition, it is defined in types_c.h. I do not understand how I get get to the definition if it is allegedly “undeclared”. Also, if I include

#include "types_c.h"

and make sure that types_c.h is in the include path, I still get the error message above.

Any assistance in resolving this problem would be greatly appreciated,
Peter.

  • 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-06-04T08:54:18+00:00Added an answer on June 4, 2026 at 8:54 am

    It was moved to legacy. You need to include its header:

    #include "opencv2/legacy/legacy.hpp"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using OpenCV 2.3.1 with C++ on NetBeans 7.1 on Ubuntu 11.04 (Gnome).
I am using NetBeans 7.0.1 to develop C++ applications using OpenCV 2.4.0 on Ubuntu
I am using OpenCV 2.3.1 to develop Delaunay triangulation code on NetBeans 6.9 on
I'm using OpenCV 2.3.1 (c++ api) and when I try to get the pixel
I'm using OpenCV fitLine() function. Sometimes following exception are thrown: ..\opencv\modules\core\src\matrix.cpp:1219: error: (-215) dims
I am currently using OpenCV to try and open an AVI file that was
I'm using OpenCV v2.4.1 And this is the code I'm using #include opencv2/opencv.hpp #include
I am using OpenCV library. It doesn't have a modulo operator that can be
I am using NetBeans 7.1 on Ubuntu 11.04 and would like to obtain triangles
I am developing a C++ application using NetBeans 6.9 on Ubuntu 11.04. I am

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.