glut fatal error

  • Follow


when i run opengl program i get this messeges :

1. when runnung on visual studio .net
GLUT: Fatal Error in  $↑: failed to create OpenGL rendering context.

2. when running on visual studio 6
GLUT: Fatal Error in E:\solarSystem.exe: failed to create OpenGL rendering context.

opengl used to work on this computer and i didnt installed anything special.
i tried everything, eve tried to uninstall the display adapter drivers and reinstall
0
Reply junkqwe1 12/22/2003 8:47:09 PM

<junkqwe1@hotmail.com> wrote in message
news:b3048e31.0312221247.5f6e412e@posting.google.com...
> when i run opengl program i get this messeges :
>
> 1. when runnung on visual studio .net
> GLUT: Fatal Error in  $&#8593;: failed to create OpenGL rendering context.

(Looks like a cut-and-paste of HTML generated "&#8593".)

In VC .NET, a function whose name starts with $ is one that
is executed *before* 'main' is executed.  I suspect you have
a C++ object that is declared in a source file, its constructor
is being executed pre-main, and that object is attempting to
do something with OpenGL/GLUT before program execution
reaches the place where you create the rendering context.

--
Dave Eberly
eberly@magic-software.com
http://www.magic-software.com
http://www.wild-magic.com


0
Reply Dave 12/22/2003 9:14:28 PM


i have the sames error in vc .net and in vc6 on programs i wrote that
used to work till few weeks ago


"Dave Eberly" <eberly@magic-software.com> wrote in message news:<U8JFb.5233$IM3.1150@newsread3.news.atl.earthlink.net>...
> <junkqwe1@hotmail.com> wrote in message
> news:b3048e31.0312221247.5f6e412e@posting.google.com...
> > when i run opengl program i get this messeges :
> >
> > 1. when runnung on visual studio .net
> > GLUT: Fatal Error in  $&#8593;: failed to create OpenGL rendering context.
> 
> (Looks like a cut-and-paste of HTML generated "&#8593".)
> 
> In VC .NET, a function whose name starts with $ is one that
> is executed *before* 'main' is executed.  I suspect you have
> a C++ object that is declared in a source file, its constructor
> is being executed pre-main, and that object is attempting to
> do something with OpenGL/GLUT before program execution
> reaches the place where you create the rendering context.
0
Reply junkqwe1 12/24/2003 9:03:39 PM

<junkqwe1@hotmail.com> schrieb im Newsbeitrag
news:b3048e31.0312241303.c98e5a1@posting.google.com...
> i have the sames error in vc .net and in vc6 on programs i wrote
that
> used to work till few weeks ago

Maybe a typo added a $ to the beginning of any function? Search for
'$'...
HTH,
Gernot


0
Reply Gernot 12/29/2003 3:04:28 PM

3 Replies
396 Views

(page loaded in 6.13 seconds)

Similiar Articles:













7/24/2012 9:22:02 AM


Reply: