Public bug reported:

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

** Affects: simavr (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2082024

Title:
  make Error in Examples - Wrong GL Library

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simavr/+bug/2082024/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to