Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: OpenGL Compiler for MacOS X 10.3.2 PPC

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    OpenGL Compiler for MacOS X 10.3.2 PPC

    Hi :-)

    i am a newbie about opengl and macos x, i have set up an old but still working ibook PPC G3 and i' d like to install a Compiler for this os and the related sdk for opengl.. where to start ??

    Thanks in advance for the help

  2. #2
    Advanced Member Frequent Contributor scratt's Avatar
    Join Date
    May 2008
    Location
    Thailand
    Posts
    556

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    Hmm.. What OS Version are you on?

    Assuming you are on OS X: OpenGL is part of the OS, and consequently the libraries are included.

    XCode is free, and includes the full SDK for OS X. So in theory you should be able to get a copy of that from Apple, or somewhere on the web...
    First step is to make an ADC account with Apple, where you can download it. Some OS install discs include XCode anyway.. So that's worth checking also.

    And there are plenty of GLUT XCode "Hello World" projects out there.. which will give you a basic shell in OpenGL..

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    Thanks for the info :-)

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    Sorry for the late reply, i have just downloaded the xcode program from apple site, creating an account, but i discovered that it is only for intel processor and after loading the dmg file the installer wasn't able to load the .mpkg file.. is there any version for Mac PPC computer ? i have an ibook with G3 PPC and Mac OS X 10.4.11 (85165 ) kernel Darwin 8.11.0 .. Thanks for your help :-)

  5. #5
    Junior Member Regular Contributor
    Join Date
    Dec 2008
    Location
    USA
    Posts
    135

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    At least recently, the developer tools have come on the install discs that came with the computer, so you could look for those. Otherwise I would try google...

  6. #6
    Junior Member Regular Contributor
    Join Date
    Nov 2004
    Location
    San Diego, CA, USA
    Posts
    110

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    I'm pretty sure that the last version of Xcode that you can use on OS 10.4.x is Xcode 2.5. It is still available at connect.apple.com.

  7. #7
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    thanks for the info and that's what i discovered :

    Xcode 3.2.1 is an update release of the developer tools for Mac OS X. This release provides bug fixes in gdb, Interface Builder, Instruments, llvm-gcc and Clang optimizer, Shark, and Xcode and must be installed on Mac OS X 10.6 Snow Leopard and higher. Xcode defaults to upgrading an existing Xcode installation but may optionally be installed alongside existing Xcode installations. See accompanying release notes for detailed installation instructions, known issues, security advisories.
    so i am cut off as i do not have this version of mac os x ?? is there another way to compile open gl progam and use gcc ? maybe some not official ide or some ide developed by third party ?

  8. #8
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    ok, inserting the mac os x disc i discovered that xcode was included inside ! thanks for your time reading my posts ;-)

  9. #9
    Junior Member Newbie
    Join Date
    Jun 2008
    Location
    Italia, San remo, Imperia
    Posts
    16

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC


    i need your help one more time.. i have just copied this source file into my mac and tried to compile it with xcode.. unfortunatly i cannot compile it and i don't know why.. i tested this source file under Amiga OS 4.1 and GCC and under Windows XP and dev c++ without problems.. i think is a problem about open gl include that are missing, but i thought that they were installed inside x code.. is it right or not ? thanks for the patience and the infos :-)
    #include<stdio.h>
    #include<GL/glut.h>
    #include<GL/gl.h>
    void renderScene(void)
    {
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glBegin(GL_TRIANGLES);
    glVertex3f(-0.5,-0.5,0.0);
    glVertex3f(0.5,0.0,0.0);
    glVertex3f(0.0,0.5,0.0);
    glEnd();
    glFlush();
    }

    int main(int argc, char **argv)
    {
    glutInit(&amp;argc, argv);
    glutInitDisplayMode(GLUT_DEPTH | GLUT_SINGLE | GLUT_RGBA);
    glutInitWindowPosition(100,100);
    glutInitWindowSize(320,320);
    glutCreateWindow("Primo Triangolo Semplice");
    glutDisplayFunc(renderScene);
    glutMainLoop();
    }

  10. #10
    Junior Member Regular Contributor
    Join Date
    Nov 2004
    Location
    San Diego, CA, USA
    Posts
    110

    Re: OpenGL Compiler for MacOS X 10.3.2 PPC

    You need to use:

    Code :
    #include <GLUT/glut.h>
    #include <OpenGL/gl.h>

Posting Permissions

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