make Error in Examples - Wrong GL Library

Bug #2082024 reported by Georg Korger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simavr (Ubuntu)
New
Undecided
Unassigned

Bug Description

Trying to make the example "board_ledramp" i ran in the Error:
/usr/bin/ld: ledramp.o: undefined reference to symbol 'glColor3f'

Changing Line 25 of Makefile from:
ADD_LIBS = $(shell pkg-config --libs glu) -lglut

to:
ADD_LIBS = $(shell pkg-config --libs gl) -lglut

fixed that problem.

Same line is also in examples: board_hd44780, board_ssd1306, board_timer64led

I also changed the line:
CPPFLAGS = -pthread $(shell pkg-config --cflags gl)

but no difference, because there are no cflags for gl and glu

Greetings from Austria
George

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.