Hi Serge,

I've been doing testing the compile context support using osgviewer on
paged database I have and it all works without error so far.  I'm
using Kubuntu 7.10 and 7800GT.  I enable compile contexts via:

  export OSG_COMPILE_CONTEXTS=ON
  osgviewer pagedmodel.ive --SingleThreaded

I tried the whole range of threading models without incident.

So this problem looks to be a Windows issue.  My guess is that the
error report of about a problem with make current is what is the early
warning of something not working quite right.  I'm afraid I can't do
much to investigate this myself though as I have no Windows box to
test against.

Robert.


On Thu, Jul 31, 2008 at 9:44 AM, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am currently trying to use CompileContexts on my application, but just
> doing this :
>
> osgViewer::Viewer    viewer;
>
> viewer.setThreadingModel(osgViewer::ViewerBase::SingleThreaded);
> osg::DisplaySettings::instance()->setCompileContextsHint(true);
> return (viewer.run());
>
> The application crash into glExtensions.cpp line 46 (trying to get the GL
> version with glGetString( GL_VERSION )).
> Before the crash I have this error message :
>
> PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: La
> ressource demandé est en cours d'utilisation.
> or in english something like that :
> PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: the
> wanted resource is already being used.
>
> Any idea on what's happening ?
> My system : WinXP with SVN head, VS 8 Express, NVIDIA 8600GTS
>
> Thanks in advance !
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to