When I test it there are some undefined reference to cvCreateMemStorage' or another function but I include the opencv .h and cvblobslib .h files, and the libraries that I have compiled before. That's no sense for me. In fact, when I use the IDE I can jump to the header where the function is defined. I appreciate some help. Thanks.