Hey, I have mentioned the problem on IRC must maybe it's better to report here. On Windows 64 bits, long is of size 32 bits long. Hence: strtok_r.cpp:68:29: error: cast from 'const unsigned char*' to 'long unsigned int' loses precision Using unsigned long long int is maybe better. Or using unsigned __int64. Vincent Torri