Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Type 2 and Type 3 errors

  1. #1

    Type 2 and Type 3 errors

    I've made the first two example programs in the redbook with codewarrior 5. Everything compiles fine, but when I try to run the program, I always either get a type 2 or type 3 error.

  2. #2
    Junior Member Newbie
    Join Date
    Aug 2000

    Re: Type 2 and Type 3 errors

    Most likely you have some memory error ... like a pointer gone astray.

    Have you used the debugger to step through your code and figure out which line it's crashing on?

  3. #3

    Re: Type 2 and Type 3 errors

    NO I have not. I'll try that and see if it works, but it seems odd that every example program would have a pointer error in it.

  4. #4
    Intern Contributor
    Join Date
    Jun 2000

    Re: Type 2 and Type 3 errors

    You may have figured this out already, but did you allocate enough memory for the application in the preferences for the project? That may be part of the problem.


  5. #5

    Re: Type 2 and Type 3 errors

    Thanks for the help. I used the debugger to trace the problem to a line of assembly in glutMainLoop(). So I reinstalled the openGL libraries and everything works.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts