To successfully compile ndnSIM, it is necessary to use a custom branch of NS-3.
This branch can be cloned from https://github.com/cawka/ns-3-dev-ndnSIM
mkdir ndnSIM
cd ndnSIM
git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
git clone git://github.com/cawka/pybindgen.git pybindgen
git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM
For more information, including downloading and compilation instruction, please refer to documentation in doc/ or on http://ndnsim.net