Now, the problem is that during compilation, one of the source file is including some header file from the boost library.
The chain of including goes on and reaches the memory.hpp file which is present in /usr/include/boost/config/no_tr1/ directory.
This memory.hpp is in turn including the memory header file from the standard C++ library, but it can't find that memory header file.
And this is strange because I personally went and checked that the memory header is there in the standard location, as you can see below :
The error message shown during the compilation is :
[ 51%] Building C object src/Burluap/CMakeFiles/burluap.dir/apply.c.o
In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:23:0,
/usr/include/boost/config/no_tr1/memory.hpp:21:12: fatal error: memory: No such file or directory
# include <memory>
src/Burluap/CMakeFiles/burluap.dir/build.make:62: recipe for target 'src/Burluap/CMakeFiles/burluap.dir/apply.c.o' failed
make: *** [src/Burluap/CMakeFiles/burluap.dir/apply.c.o] Error 1
CMakeFiles/Makefile2:504: recipe for target 'src/Burluap/CMakeFiles/burluap.dir/all' failed
make: *** [src/Burluap/CMakeFiles/burluap.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
So can I get some help as to what should I do to make the memory.hpp find the memory header file?