I am using PCL library and internally it needs boost libraries.
Unfortunately I am getting an error like this. Explicitly I dont refer to any of the boost library but PCL library does.
/usr/include/boost/graph/graph_concepts.hpp: In destructor ‘boost::concepts::AdjacencyMatrix<G>::~AdjacencyMatrix()’:
/usr/include/boost/graph/graph_concepts.hpp:368:17: error: missing template arguments before ‘(’ token
/usr/include/boost/graph/graph_concepts.hpp: In member function ‘void boost::concepts::AdjacencyMatrix<G>::const_constraints(const G&)’:
/usr/include/boost/graph/graph_concepts.hpp:372:17: error: missing template arguments before ‘(’ token
This is very strange.
The problem is solved when I moved the header file
#include<pcl/registration/icp.h>
to the beginning of all the header files. No error any more and the program executed giving the expected results!