OpenGl error

Error with glutInit()

Page 1 of 1

4 Replies - 2001 Views - Last Post: 21 May 2009 - 12:54 AM Rate Topic: -----

#1 sjf123abc   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 36
  • Joined: 23-July 08

OpenGl error

Posted 06 August 2008 - 09:10 PM

Im following a OpenGl guide on the internet and I am having some errors

invalid file or disk full: cannot seek to 0x3beaa2a7

#include <iostream>
#include <windows.h>
#include <GL/gl.h>
#include <Gl/glu.h>
#include <GL/glut.h>

using namespace std;

int main(int argc, char** argv)
{

glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGBA);
glutInitWindowSize(600,100);

return 0;
}

Is This A Good Question/Topic? 0
  • +

Replies To: OpenGl error

#2 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,326
  • Joined: 14-February 08

Re: OpenGl error

Posted 07 August 2008 - 04:46 AM

This is an actual microsoft recognised problem with some of there visual studio packages

these ones:

Microsoft Visual C++ .NET 2003 Standard Edition
Microsoft Visual Studio .NET 2003 Enterprise Architect
Microsoft Visual Studio .NET 2003 Enterprise Developer
Microsoft Visual Studio .NET 2003 Academic Edition

you can get in touch with microsoft to get a fix for this problem or just work around it by:

1. Open the Property Pages dialog box for the project.
2. Expand the Linker folder.
3. Click Embedded IDL to view the Embedded IDL property page.
4. Set the Ignore Embedded IDL property to Yes.

:^:

This post has been edited by stayscrisp: 07 August 2008 - 04:50 AM

Was This Post Helpful? 0
  • +
  • -

#3 sjf123abc   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 36
  • Joined: 23-July 08

Re: OpenGl error

Posted 07 August 2008 - 12:02 PM

I cant find what you are talking about

I have Visual C++ 5.0

This post has been edited by sjf123abc: 07 August 2008 - 12:46 PM

Was This Post Helpful? 0
  • +
  • -

#4 stayscrisp   User is offline

  • フカユ
  • member icon

Reputation: 1040
  • View blog
  • Posts: 4,326
  • Joined: 14-February 08

Re: OpenGl error

Posted 07 August 2008 - 03:20 PM

Just put your error into google i'm sure you'll get something useful
Was This Post Helpful? 0
  • +
  • -

#5 antler   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 29
  • Joined: 21-May 09

Re: OpenGl error

Posted 21 May 2009 - 12:54 AM

View Postsjf123abc, on 6 Aug, 2008 - 08:10 PM, said:

Im following a OpenGl guide on the internet and I am having some errors

invalid file or disk full: cannot seek to 0x3beaa2a7

#include <iostream>
#include <windows.h>
#include <GL/gl.h>
#include <Gl/glu.h>
#include <GL/glut.h>

using namespace std;

int main(int argc, char** argv)
{

glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGBA);
glutInitWindowSize(600,100);

return 0;
}



erm for i think la
u try remove the using namespace std;
i think that is not needed in opengl
and
for the last part try the display mode put in either u wan a single glut o double glut ^ ^
if got wrong pls try repair me >.<
thx
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1