I am trying to run the HelloWorld program from VLFeat in Eclipse CDT in Ubuntu. The code is
extern "C" {
#include <vl/generic.h>
}
int main (int argc, const char * argv[]) {
VL_PRINT ("Hello world!") ;
return 0;
}
This shows Unresolved Inclusion error for the line #include . I can see the generic.h file in "/home/username/vlfeat-0.9.19/vl" folder. However, eclipse is not able to include this.
I have the following options in my project properties which must be related to this.
Project >Properties >C/C++ Build > GCC Compiler > Includes > Include Paths(-l) & Include files (-include)
Project >Properties >C/C++ Build > GCC Linker > Libraries > Libraries (-l) & Library Search Paths (-L)
What does each of these options mean? What is the purpose of these? And how should I fix my present issue?
I can run a normal cpp hello world program successfully without adding anything in the include paths or directories.