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 6970911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:46:13+00:00 2026-05-27T16:46:13+00:00

I have been trying to run the FAST algorithm (now part of OpenCV libraries)

  • 0

I have been trying to run the FAST algorithm (now part of OpenCV libraries) but I get an error related to the linker. I used similar code to one I found here:

https://code.ros.org/trac/opencv/browser/trunk/opencv/tests/cv/src/fast.cpp?rev=2300

And here is my code:

//Proyecto de pruebas como toma de contacto de nuevo con OpenCV

#include "cv.h"
#include "highgui.h"
#include "cvaux.h" 
#include <stdio.h>

using namespace cv;
using namespace std;
char imageName[]="C:/Users/jbarbadillo/Desktop/2.JPG";

int main(int argc, char** argv){

    // Ptr<T> is safe ref-conting pointer class
    Ptr<IplImage> imagen1=cvLoadImage(imageName,1);
    Mat img(imagen1);

    if( !img.data ) // check if the image has been loaded properly
        return -1;  

    namedWindow("test",1);
    imshow("test",img); 


    int threshold = 30; 
    bool nonmaxSupression = true;
    vector<KeyPoint> keypoints1;

    FAST(img, keypoints1, threshold);

    waitKey();    
} 

I think that the problem is related to keypoints, but I don’t understand exactly how it works. If anybody knows why am I getting the error would be nice. Thanks.

  • 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-27T16:46:14+00:00Added an answer on May 27, 2026 at 4:46 pm

    Well, tha problem was that I hadn’t “cvaux.lib” in project properties/linker/input. I had the other important libraries but not this one, which is related to cvfast, because in the toturial I followed the didn’t put the library. Now it works fine, be careful with libraries and includes!

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

Sidebar

Related Questions

I have been trying to get around this error for a day now and
I have been trying to get a simple spider to run with scrapy, but
I have been trying to get a project of mine to run but I
I have been trying to run rake but it seems that ever since I
I have been trying to run the project given in this MSDN Magazine but
I have been trying to get a simple networking test program to run with
I have been trying to run the rake db:migrate command but it ain't working.
I've been trying to optimize a numeric program of mine, and have run into
I have been trying to find a really fast way to parse yyyy-mm-dd [hh:mm:ss]
I have been trying to run configure to prepare the make file for GTK

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.