You are building from the ports tree right? Did you check to make sure you
have The include path and library path for OpenGL libraries in the QT
Makefile?

On Tue, 21 Aug 2001, Salvo Bartolotta wrote:

> Dear FreeBSD'ers,
> 
> I am running -CURRENT as of August 18, 2001 -- yet another entry in the 
> -current userbase, BTW.
> 
> I am using XFree4 and my /etc/make.conf contains the required XFree86 version 
> string.
> 
> Qt23 will NOT build. It dies here:
> 
> 
> gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools'
> gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/tools'
> 
> The Qt library is now built in ./lib
> The Qt examples are built in the directories in ./examples
> The Qt tutorials are built in the directories in ./tutorial
> 
> Note: be sure to set $QTDIR to point to here or to wherever
>       you move these directories.
> 
> Enjoy!   - the Trolltech team
> 
> (cd /usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src && /usr/bin/env 
> QTDIR=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1 
> LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/lib 
> PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 
> MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe 
> -march=pentiumpro" CXXFLAGS=" -O -pipe -march=pentiumpro" 
> BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"  
> BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"  
> BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"  
> BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" gmake -f Makefile  
> opengl/qgl.o opengl/qgl_x11.o opengl/moc_qgl.o)
> c++  -c -I/usr/X11R6/include 
> -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/include -pthread -D_THREAD_SAFE 
> -I/usr/X11R6/include -DQT_PREFIX=\"/usr/X11R6\" -pipe -O -fno-exceptions  -O 
> -pipe -march=pentiumpro -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ 
> -frerun-cse-after-loop -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT 
> -fno-exceptions  -I/usr/local/include  -o opengl/qgl.o opengl/qgl.cpp
> In file included from opengl/qgl.cpp:38:
> opengl/qgl.h:63: GL/gl.h: No such file or directory
> opengl/qgl.h:64: GL/glu.h: No such file or directory
> opengl/qgl.cpp: In method `void QGLWidget::glDraw()':
> opengl/qgl.cpp:1604: `GL_FRONT_LEFT' undeclared (first use this function)
> opengl/qgl.cpp:1604: (Each undeclared identifier is reported only once
> opengl/qgl.cpp:1604: for each function it appears in.)
> opengl/qgl.cpp:1604: implicit declaration of function `int glDrawBuffer(...)'
> opengl/qgl.cpp:1616: implicit declaration of function `int glFlush(...)'
> opengl/qgl.cpp: In method `void QGLWidget::qglColor(const QColor &) const':
> opengl/qgl.cpp:1634: implicit declaration of function `int glColor3ub(...)'
> opengl/qgl.cpp:1636: implicit declaration of function `int glIndexi(...)'
> opengl/qgl.cpp: In method `void QGLWidget::qglClearColor(const QColor &) 
> const':
> opengl/qgl.cpp:1654: `GLfloat' undeclared (first use this function)
> opengl/qgl.cpp:1654: syntax error before `.'
> opengl/qgl.cpp:1659: confused by earlier errors, bailing out
> gmake: *** [opengl/qgl.o] Error 1
> *** Error code 2
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> 
> 
> 
> The archives (-questions, -current, -ports) seem to contain other complaints. 
> 
> Is qt supposed to build with XFree86-4 under -CURRENT? What am I missing ?
> 
> -- Salvo (If I've missed something rivial, many apologies for the noise)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to