Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#771 closed Defect (fixed)

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

Reported by: teleyinex Owned by: 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 (1)

config.log (207.1 KB) - added by teleyinex 15 years ago.
config log

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by teleyinex

Attachment: config.log added

config log

comment:1 in reply to:  description Changed 15 years ago 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.

comment:2 Changed 15 years ago by davea

Resolution: worksforme
Status: newclosed

comment:3 in reply to:  2 Changed 15 years ago by Nicolas

Resolution: worksforme
Status: closedreopened

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.

comment:4 Changed 15 years ago by Nicolas

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

comment:5 Changed 15 years ago by Nicolas

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

comment:6 Changed 15 years ago by maclach

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

comment:7 Changed 15 years ago by davea

Resolution: fixed
Status: reopenedclosed

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

Fixes #771

Note: See TracTickets for help on using tickets.