Results 1 to 5 of 5

Thread: Code Warrior and Win ME (Oh please, shoot me!)

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    san bernardino, ca usa
    Posts
    14

    Code Warrior and Win ME (Oh please, shoot me!)

    Hey, i'll probably get flamed and accused of being blonde, but i'm desperate.

    Okay, I have set OpenGL up in codewarrior 5 on a Win95 machine and a Win98 machine w/out any real problem. I try all the same tricks and kicks on a winME and it doesn't work.

    It Compiles! It Links! I get the magical little DOS window and no little openGL window. (the program and project work dandy on my 98 machine). I have links to all the DLLs, libs and headers and the compiler doesn't fuss and I am in HighColor mode. Where have I gone wrong? Please feel free to flame me, as long as you help me!

    Tearfully,
    Kelly

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Code Warrior and Win ME (Oh please, shoot me!)

    Hi !

    I have no idea, the best would be if you could peek at the error codes and see if wglCreateContext or something else in the beginning returns an error code.

    Mikael

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    san bernardino, ca usa
    Posts
    14

    Re: Code Warrior and Win ME (Oh please, shoot me!)

    the thing is there really isn't an error. I get an executable.. It's just useless. The program works fine on my win95 machine.

    thanks
    kellody

  4. #4
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: Code Warrior and Win ME (Oh please, shoot me!)

    Hi !

    You said that it compiles and links fine, then you have the source code, just add some code to check for errors or use a debugger.

    Look at wglCreateContext() and see what it returns. If it is null, then you can get the error code with errcode = GetLastError()

    Mikael

  5. #5
    Junior Member Newbie
    Join Date
    Aug 2001
    Location
    san bernardino, ca usa
    Posts
    14

    Re: Code Warrior and Win ME (Oh please, shoot me!)

    Solved the problem. Pretty comical actually. Evidently Win ME (or perhaps it was just my wacky machine) hated Nat Robbins precompiled distribution of Glut. It did however like
    http://opengl.gamedev.net/downloads.asp

    the pre-compiled version found here. Darn I spent way too much precious time of my existence on this one. Thanks for all the help.

    Feeling Blonde,
    Kelly

Similar Threads

  1. GLUT with Code Warrior for windows please help
    By Pancho in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-06-2003, 10:49 AM
  2. I can shoot only one bullet not 2 !
    By Leyder Dylan in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-20-2003, 03:40 PM
  3. Complete newcomer to GLUT - nothing works with Code Warrior
    By MikeRich in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 02-14-2001, 11:56 PM
  4. Code Warrior
    By Wraith7 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-22-2000, 06:44 AM
  5. help making project with Code Warrior Pro
    By Eric J in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-13-2000, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean