I followed this and tried to resolve the error:
error: cast from ‘ns3::NaMPTSocket*’ to ‘uint32_t’ loses precision
But still I can't get it working. Any other way to solve this problem ?
I am on a 64 bit Ubuntu machine. The program (NS3) is being build using waf.