[osg-users] compile error under windows for osgterrain example and OpenThreads::BlockCount

Robert Osfield robert.osfield at gmail.com
Sat Jul 21 12:25:40 PDT 2007


Hi Tony,

These changes are sensible, I'm just applied them myself and if they
work fine I'll submit them.

Cheers,
Robert.

On 7/21/07, Tony Horrobin <tony.horrobin at btopenworld.com> wrote:
> Hi Robert,
>
> I tried compiling under Windows XP, visual studio 2005 express edition
> from SVN this morning and got a couple of errors.
> The first relates to use of usleep() in osgterrain.cpp, which I changed
> to OpenThreads::Thread::microSleep()
>
> The second complains because the compiler-generated copy constructor for
> BlockCount tries to call the ones for Mutex and Condition, which are
> declared private.
>
> I declared a private copy constructor in BlockCount too. This caused a
> pretty big recompile and invalidated the wrappers, but seems to solve
> the problem.
>
> The second one affects other platforms too if I'm understanding it right.
>
> Hope this sounds sane - I can make a submission if that would help.
>
> Cheers,
>
> -Tony
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list