Ticket #771 (closed Defect: fixed)

Opened 1 year ago

Last modified 3 months ago

In file included from uc2_graphics.cpp:39: ../../api/txf_util.h:35: error: ‘GLfloat’ has not been declared

Reported by: teleyinex Assigned to: davea
Priority: Major Milestone: Undetermined
Component: Server - Other Version: 6.3.22
Keywords: server compilation Cc:

Description

When you try to build the stable boinc server or the SVN HEAD one, you get this error:

In file included from uc2_graphics.cpp:39: ../../api/txf_util.h:35: error: ‘GLfloat’ has not been declared

The server is compiled and works perfectly well, but you get this error, and the compilation ends.

Attachments

config.log (207.1 kB) - added by teleyinex on 11/10/08 14:12:32.
config log

Change History

11/10/08 14:12:32 changed by teleyinex

  • attachment config.log added.

config log

(in reply to: ↑ description ) 11/10/08 14:36:07 changed by teleyinex

If you install the following libraries:

libssl-dev libglut3-dev glutg3-dev libglui-dev libglitz-glx1-dev libsdl1.2-dev libcurl3-dev freeglut3 freeglut3-dev libsm-dev libice-dev libxmu-dev libxi-dev libx11-dev libjpeg62-dev libgtk2.0-0 libgtk2.0-0-dev

The problem is fixed, but I understand that when you run the ./configure --disable-client, those libraries are not needed. The wiki page should be updated informing about this prerequisite.

The bug can be closed.

Replying to teleyinex:

When you try to build the stable boinc server or the SVN HEAD one, you get this error: In file included from uc2_graphics.cpp:39: ../../api/txf_util.h:35: error: ‘GLfloat’ has not been declared The server is compiled and works perfectly well, but you get this error, and the compilation ends.

(follow-up: ↓ 3 ) 11/10/08 15:34:07 changed by davea

  • status changed from new to closed.
  • resolution set to worksforme.

(in reply to: ↑ 2 ) 11/10/08 15:38:01 changed by Nicolas

  • status changed from closed to reopened.
  • resolution deleted.

If OpenGL isn't found, it shouldn't try to compile uppercase graphics. Simple.

I've told at least three people to manually edit the makefile to remove uppercase completely, because they had this problem.

11/10/08 15:38:27 changed by Nicolas

There is no reason to require OpenGL to install the server.

11/10/08 15:53:09 changed by Nicolas

See Installation problem on the BOINC forum, and a post by Chris Sutton on boinc_projects, thread automated DB updates.

11/11/08 09:34:26 changed by maclach

Installed all the libraries as indicated by teleyinex above. This does _not_ correct the problem.

11/11/08 16:11:42 changed by davea

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [16482]) - example_app: don't build the graphics app by default.

Fixes #771


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.