- std::string dllLastName("bbcreaMaracasVisu");
- std::string currentpath = crea::System::GetDllAppPath(dllLastName);
+ std::string dllLastName;
+ std::string currentpath;
+ #ifdef WIN32
+ dllLastName = "bbcreaMaracasVisu";
+ currentpath = crea::System::GetDllAppPath(dllLastName);
+ #endif
+ #ifdef LINUX
+ currentpath = crea::System::GetExecutablePath();
+ currentpath.append("/data/");
+ #endif