TensorRT samples problems

Hi,

I’m trying to execute sampleMNIST and I get this errors:

sampleMNIST.cpp:117:2: error: ‘uint8_t’ was not declared in this scope
uint8_t fileData[INPUT_H*INPUT_W];
^
sampleMNIST.cpp:119:25: error: ‘to_string’ is not a member of ‘std’
readPGMFile(locateFile(std::to_string(num) + “.pgm”, directories), fileData);
^
sampleMNIST.cpp:119:69: error: ‘fileData’ was not declared in this scope
readPGMFile(locateFile(std::to_string(num) + “.pgm”, directories), fileData)

error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
::new(static_cast<void*>(__p)) _T1(__value);

Thanks.