Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

compile error

Featured Replies

I get this when trying to compile 'make'Making all in testsmake[1]: Entering directory `/usr/local/source/FlightGear-0.9.8/tests'if gcc -DHAVE_CONFIG_H -I. -I. -I../src/Include -I/usr/X11R6/include -I/usr/local//include -g -O2 -D_REENTRANT -MT est-epsilon.o -MD -MP -MF ".deps/est-epsilon.Tpo" -c -o est-epsilon.o est-epsilon.c; then mv -f ".deps/est-epsilon.Tpo" ".deps/est-epsilon.Po"; else rm -f ".deps/est-epsilon.Tpo"; exit 1; fiest-epsilon.c:13:19: GL/glut.h: No such file or directoryest-epsilon.c: In function `main':est-epsilon.c:17: error: `GLfloat' undeclared (first use in this function)est-epsilon.c:17: error: (Each undeclared identifier is reported only onceest-epsilon.c:17: error: for each function it appears in.)est-epsilon.c:17: error: syntax error before "a"est-epsilon.c:19: error: `a' undeclared (first use in this function)est-epsilon.c:24: error: `t' undeclared (first use in this function)make[1]: *** [est-epsilon.o] Error 1make[1]: Leaving directory `/usr/local/source/FlightGear-0.9.8/tests'make: *** [all-recursive] Error 1Yes it dosent work, and when I try to 'make' it under the src folder I get this:Making all in Includemake[1]: Entering directory `/usr/local/source/FlightGear-0.9.8/src/Include'make all-ammake[2]: Entering directory `/usr/local/source/FlightGear-0.9.8/src/Include'make[2]: Leaving directory `/usr/local/source/FlightGear-0.9.8/src/Include'make[1]: Leaving directory `/usr/local/source/FlightGear-0.9.8/src/Include'Making all in Aircraftmake[1]: Entering directory `/usr/local/source/FlightGear-0.9.8/src/Aircraft'if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X 11R6/include -I/usr/local//include -g -O2 -D_REENTRANT -MT aircraft.o -MD -MP - MF ".deps/aircraft.Tpo" -c -o aircraft.o aircraft.cxx; then mv -f ".deps/aircraft.Tpo" ".deps/aircraft.Po"; else rm -f ".deps/aircraft. Tpo"; exit 1; fiIn file included from /usr/include/plib/pu.h:2142, from ../../src/GUI/gui.h:36, from ../../src/Cockpit/hud.hxx:59, from aircraft.cxx:39:/usr/include/plib/puGLUT.h:36:22: GL/glut.h: No such file or directoryIn file included from /usr/include/plib/pu.h:2142, from ../../src/GUI/gui.h:36, from ../../src/Cockpit/hud.hxx:59, from aircraft.cxx:39:/usr/include/plib/puGLUT.h: In function `int puGetWindowGLUT()':/usr/include/plib/puGLUT.h:42: error: `glutGetWindow' undeclared (first use this function)/usr/include/plib/puGLUT.h:42: error: (Each undeclared identifier is reported on ly once for each function it appears in.)/usr/include/plib/puGLUT.h: In function `void puSetWindowGLUT(int)':/usr/include/plib/puGLUT.h:47: error: `glutSetWindow' undeclared (first use this function)/usr/include/plib/puGLUT.h: In function `void puGetWindowSizeGLUT(int*, int*)':/usr/include/plib/puGLUT.h:52: error: `GLUT_WINDOW_WIDTH' undeclared (first use this function)/usr/include/plib/puGLUT.h:52: error: `glutGet' undeclared (first use this funct ion)/usr/include/plib/puGLUT.h:53: error: `GLUT_WINDOW_HEIGHT' undeclared (first use this function)/usr/include/plib/puGLUT.h: In function `void puSetWindowSizeGLUT(int, int)':/usr/include/plib/puGLUT.h:58: error: `glutReshapeWindow' undeclared (first use this function)make[1]: *** [aircraft.o] Error 1make[1]: Leaving directory `/usr/local/source/FlightGear-0.9.8/src/Aircraft'make: *** [all-recursive] Error 1So what can I try now?

>est-epsilon.c:13:19: GL/glut.h: No such file or directory>/usr/include/plib/puGLUT.h:36:22: GL/glut.h: No such file or directory>So what can I try now?You can try to look at the error messages. Hint: installing glut may be helpful. Either your distributor's glut-devel package, or all of glut from here: http://freeglut.sf.net/.m.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.