diff --git a/Utils/FileConverter/ConvertGliToVtk.cpp b/Utils/FileConverter/ConvertGliToVtk.cpp index a4b6ae60eebc459d1dc0e5803c401780825f1aa2..2bc32a4fce60e24c36f8f68d462a997f6d2d5810 100644 --- a/Utils/FileConverter/ConvertGliToVtk.cpp +++ b/Utils/FileConverter/ConvertGliToVtk.cpp @@ -13,11 +13,11 @@ */ // for backward compatibility, see http://www.boost.org/doc/libs/1_48_0/libs/filesystem/v2/doc/index.htm -#define BOOST_FILESYSTEM_VERSION 2 +#define BOOST_FILESYSTEM_VERSION 3 // ** INCLUDES ** #include "GEOObjects.h" -#include "OGSIOVer4.h" +#include "Legacy/OGSIOVer4.h" #include "Point.h" #include "VtkPointsSource.h" @@ -56,7 +56,7 @@ int main (int argc, char const* argv[]) directory_iterator end; for (directory_iterator it("./"); it != end; ++it) { - string curFile = it->path().filename(); // .string(); + string curFile = it->path().filename().string(); if (regex_match(curFile, e)) filenames.push_back(curFile);