Skip to content
Advertisement

Tag: include-path

Why are files not found from parallel folders CMake

To have my .cpp and .h files a little bit sorted up pending on their responsibilitie I decided to put them into seperate folders I used the following structure: root | -CMakeLists.txt [rootCmakeList] src | -main.cpp …….| ……. math …….| …….-CMakeLists.txt[mathCmakeList] …….-Algebra.h …….-Algebra.cpp …….XML[xmlCmakeList] …….| …….-CMakeLists.txt …….-AwesomeXML.h …….-AwesomeXML.cpp The [rootCmakeList] looks: The [mathCmakeList] looks: The [xmlCmakeList] looks: So far so

How to specify the include and lib path of pgm library when making PCA-SIFT code

I am trying to make the PCA-SIFT code (pcasift-0.91nd.tar.gz) in this webpage: http://www.cs.cmu.edu/~yke/pcasift/. After running ./configure which is OK, the make command report that the C compiler can not find header pgm.h: image.cc:18:22: fatal error: pgm.h: No such file or directory #include ^ compilation terminated. There is a webpage in internet which discussed this issue: http://ubuntuforums.org/showthread.php?t=1918422. A solution was stated

What are the GCC default include directories?

When I compile a very simple source file with gcc I don’t have to specify the path to standard include files such as stdio or stdlib. How does GCC know how to find these files? Does it have the /usr/include path hardwired inside, or it will get the paths from other OS components? Answer In order to figure out the

Advertisement