Search the Community
Showing results for tags 'folder'.
-
No "lib" sub-folder in the SDK folders, as indicated in the linux setup part of the doc
laurent.ongaro posted a topic in Documentation
I've noticed the following point in the linux documentation https://developer.unigine.com/en/docs/2.10/code/environment/linux?rlang=cpp but there is not "lib" sub-folder in the SDK folders -
Hello, I'm trying via filesystem api to list all folder inside a folder ( non recursively ). The code belove work when you list folder from a normal directory but, doesn't work on folder who are compressed. std::vector<std::string> NQ::get_folder_list(const std::string& inDir) { std::vector<std::string> dirs; auto dir = Unigine::Dir::create(); if (dir->open(inDir.c_str())) { int dirCount = dir->getNumDirs(); for (int i = 0; i < dirCount; i++) { auto dirName = std::string(dir->getDirName(i)); dirName.pop_back(); // remove last slash dirs.push_back(dirName); } } } Any clue ? Thanks.