• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
building x11 app with opengl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building x11 app with opengl


  • Subject: building x11 app with opengl
  • From: "Wesley Smith" <email@hidden>
  • Date: Sat, 25 Mar 2006 11:46:58 -0800

Hi,
I'm trying to build the demo apps for Open Dynamics Engine using X11
and the opengl libs on osx 10.4.5. Here's the compile command

g++  -g   -o dstest -L/usr/X11R6/lib -L../../drawstuff/src
dstest-dstest.o -ldrawstuff -lstdc++ -lm -lpthread -lGLU -lGL
/usr/bin/ld: Undefined symbols:
_glBegin
_glBindTexture
_glBlendFunc
_glCallList
_glClear
_glClearColor
_glColor3f
_glCullFace


The list of undefined symbols goes on quite a ways.  In any case, I'm
explicity added the path to the libraries with -L/usr/X11R6/lib, but
the compiler still doesn't manage to find it.  Has anyone else
experience trouble with X and Opengl on osx?  How do I get the
compiler to find the libraries properly?  This is how they're called
in the code:

#include <GL/gl.h>

thanks,
wes
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Prev by Date: Re: Will the X11 bug reappear if I uninstall/reinstall X11?
  • Next by Date: how to run x11 apps on remote unix server
  • Previous by thread: Will the X11 bug reappear if I uninstall/reinstall X11?
  • Next by thread: how to run x11 apps on remote unix server
  • Index(es):
    • Date
    • Thread