Re: errors on new build
JVZ <[email protected]> Sat, 21 Dec 2024 14:02:45 -0600
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | FOX-Toolkit |
| Message-ID | <20241221140245.517ceaba@yellowstone> |
On Sat, 21 Dec 2024 14:05:27 -0500 [email protected] wrote: >I'm installing fox on a new computer (Ubuntu 24.04.1 LTS) and get the >following errors: > > > >> ./configure --with-x --with-xft --with-opengl --disable-shared >> --enable-threadsafe >> make > > > > >libtool: compile: g++ -DPACKAGE_NAME=\"fox\" -DPACKAGE_TARNAME=\"fox\" >-DPACKAGE_VERSION=\"1.7.50\" "-DPACKAGE_STRING=\"fox 1.7.50\"" >-DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" >-DPACKAGE=\"fox\" -DVERSION=\"1.7.50\" -DSTDC_HEADERS=1 >-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 >-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 >-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 >-D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 >-D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 >-DLT_OBJDIR=\".libs/\" -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 >-DHAVE_DIRENT_H=1 -DHAVE_LIBRT=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 >-DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READDIR_R=1 >-DHAVE_GETPWUID_R=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETPWNAM_R=1 >-DHAVE_PTHREAD_SETAFFINITY_NP=1 -DHAVE_SCHED_GETCPU=1 -DHAVE_PIPE2=1 >-DHAVE_STATVFS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_IPC_H=1 >-DHAVE_SYS_SHM_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_MOUNT_H=1 >-DHAVE_SEMAPHORE_H=1 -DHAVE_DLFCN_H=1 -DHAVE_SYS_STATVFS_H=1 >-DHAVE_IMMINTRIN_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 >-DHAVE_BZLIB_H=1 -DHAVE_X11_EXTENSIONS_XSHM_H=1 >-DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DHAVE_X11_XCURSOR_XCURSOR_H=1 >-DHAVE_X11_EXTENSIONS_XRENDER_H=1 -DHAVE_X11_EXTENSIONS_XRANDR_H=1 >-DHAVE_X11_EXTENSIONS_XFIXES_H=1 -DHAVE_X11_EXTENSIONS_XINPUT2_H=1 -I. >-I../include -I../include -Wall -Wformat -Woverloaded-virtual -Wshadow >-DHAVE_JPEG_H=1 -DHAVE_PNG_H=1 -DHAVE_TIFF_H=1 -DHAVE_ZLIB_H=1 >-DHAVE_BZ2LIB_H=1 -DHAVE_XFT_H=1 -I/usr/include/freetype2 >-DHAVE_XSHM_H=1 -DHAVE_XSHAPE_H=1 -DHAVE_XCURSOR_H=1 -DHAVE_XRENDER_H=1 >-DHAVE_XRANDR_H=1 -DHAVE_XFIXES_H=1 -DHAVE_XINPUT2_H=1 -DNO_XIM >-DHAVE_GL_H=1 -DHAVE_GLX_H=1 -MT FXGLCone.lo -MD -MP -MF >.deps/FXGLCone.Tpo -c FXGLCone.cpp -o FXGLCone.o >FXGLCone.cpp: In member function 'virtual void >FX::FXGLCone::drawshape(FX::FXGLViewer*)': >FXGLCone.cpp:51:23: error: 'GLUquadric' was not declared in this scope; >did you mean 'GLUquadricObj'? > 51 | #define GLUquadricObj GLUquadric > | ^~~~~~~~~~ >FXGLCone.cpp:121:3: note: in expansion of macro 'GLUquadricObj' > 121 | GLUquadricObj* quad=gluNewQuadric(); > | ^~~~~~~~~~~~~ >FXGLCone.cpp:121:18: error: 'quad' was not declared in this scope > 121 | GLUquadricObj* quad=gluNewQuadric(); > | ^~~~ >FXGLCone.cpp:121:23: error: 'gluNewQuadric' was not declared in this >scope > 121 | GLUquadricObj* quad=gluNewQuadric(); > | ^~~~~~~~~~~~~ >FXGLCone.cpp:122:36: error: 'GLU_FILL' was not declared in this scope; >did you mean 'GL_FILL'? > 122 | gluQuadricDrawStyle(quad,(GLenum)GLU_FILL); > | ^~~~~~~~ > | GL_FILL >FXGLCone.cpp:122:3: error: 'gluQuadricDrawStyle' was not declared in >this scope > 122 | gluQuadricDrawStyle(quad,(GLenum)GLU_FILL); > | ^~~~~~~~~~~~~~~~~~~ >FXGLCone.cpp:129:3: error: 'gluCylinder' was not declared in this scope > 129 | >gluCylinder(quad,radius,0,height,FXGLCONE_SLICES_NUMBER,FXGLCONE_STACKS_NUMBER); > | ^~~~~~~~~~~ >FXGLCone.cpp:130:38: error: 'GLU_INSIDE' was not declared in this scope; >did you mean 'GL_INDEX'? > 130 | gluQuadricOrientation(quad,(GLenum)GLU_INSIDE); > | ^~~~~~~~~~ > | GL_INDEX >FXGLCone.cpp:130:3: error: 'gluQuadricOrientation' was not declared in >this scope; did you mean 'XNQueryOrientation'? > 130 | gluQuadricOrientation(quad,(GLenum)GLU_INSIDE); > | ^~~~~~~~~~~~~~~~~~~~~ > | XNQueryOrientation >FXGLCone.cpp:131:3: error: 'gluDisk' was not declared in this scope > 131 | gluDisk(quad,0,radius,FXGLCONE_SLICES_NUMBER,FXGLCONE_LOOPS); > | ^~~~~~~ >FXGLCone.cpp:132:3: error: 'gluDeleteQuadric' was not declared in this >scope > 132 | gluDeleteQuadric(quad); > | ^~~~~~~~~~~~~~~~ For this its necessary to install glut. -- JVZ -- +----------------------------------------------------------------------------+ | Copyright (C) 12:00 03/31/2018 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+