Are you sure? As I have already tried providing a different path in the following line of code in GenerateOfflineMap.cpp of the example:
GenerateOfflineMapJob* generateJob = m_offlineMapTask->generateOfflineMap(params, "/home/mypath/" + "/offlinemap");
It generated the files at the specified path but there was no .mmpk file in this.
There was mobile_map.mmap file in this but this does not work with the OpenMobileMapPackage example.