Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-23 Thread Stefan Waldegger
Hi,

... 


Thank you!

Cheers,
Stefan

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76136#76136





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-22 Thread Voerman, L.
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 
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


Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-22 Thread Stefan Waldegger
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


Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-20 Thread Alberto Luaces
"Stefan Waldegger" writes:

> I did not work with OSG for a while, but today I decided to continue
> on my project and downloaded the lates OSG 3.6.3. The configuration of
> the make files worked very well, but then when I write mingw32-make
> following error occurs at 15%.

git's HEAD is working for me when cross-compiling with mingw (gcc 7.3.0)
Maybe it is worth a try to get OSG's latest version to check if that
problem has been solved since then; from a cursory look, it seems that
the file that you are having problems might be a little different now. 

-- 
Alberto

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org