You probably need to remove the exlusion of mingw32 on line 39 of
D:\Projects\C++\Libraries\OpenScenegraph\OpenSceneGraph-OpenSceneGraph-3.6.3\src\osgDB\FileUtils.cpp
to get stat64 defined as _stati64 on windows.
Try to remove the #if and the #endif line (38 & 40) and see if that
compiles.
Laurens.

#if !defined(__MINGW32__)
    #define stat64 _stati64
#endif

On Wed, May 22, 2019 at 12:36 PM Stefan Waldegger <stefan.waldeg...@yahoo.de>
wrote:

> Hi Alberto,
>
> Thank you for your reply, I tried it to get the latest verion from github,
> OpenSceneGraph-master it is called when I download it.
>
> But sadly, there is the same error, in the same file.
>
> osgDB::makeDirectory(const string&)::stat64. Can it be that the MinGW in
> Windows is outdated and doesnt know some conversions like this?
>
> MinGW I downloaded this installer from gitbhub and this took a while but
> installed the MinGW in C:\MinGW
>
> ...
>
>
> Thank you!
>
> Cheers,
> Stefan
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=76132#76132
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to