Solved a problem. I think the problem is related to some if_else conditions associated with some settings for other environments such as POSIX, FreeBSD. I am not an expert, therefore, having hit and trial, I commented on some lines in the file LSDynaFamily.cxx.
Line Number 44:
//return stat64(fname,&s);
Part of line number 227 was changed as follows:
Part of line number 240:
#if defined (WIN32) && VTK_SIZEOF_ID_TYPE==8
struct __stat64 st;
#else
struct stat st;
#endif
while ( tryAdapt >= 0 )
{
tmpFile = vtkLSGetFamilyFileName( this->DatabaseDirectory.c_str(),
this->DatabaseBaseName,
adaptLevel,
filenum );
--tryAdapt;
++adaptLevel;
filenum = 0;
adapted = true;
}
return this->Files.size() == 0;
}
source
share