1>display.cpp:(.text+0x53c): undefined reference to `glColor3d'
1>display.cpp:(.text+0x570): undefined reference to `glColor3d'
1>display.cpp:(.text+0x5a4): undefined reference to `glColor3d'
1>display.cpp:(.text+0x5d8): undefined reference to `glColor3d'
1>display.cpp:(.text+0x610): undefined reference to `glColor3d'
1>display.o:display.cpp:(.text+0x648): more undefined references to `glColor3d' follow
1>display.o: In function `draw()':
1>display.cpp:(.text+0x990): undefined reference to `glTranslated'
1>display.cpp:(.text+0x9c8): undefined reference to `glRotated'
1>display.cpp:(.text+0xa00): undefined reference to `glRotated'
1>display.cpp:(.text+0xa38): undefined reference to `glRotated'
1>display.cpp:(.text+0xa48): undefined reference to `glColorMaterial'
1>display.cpp:(.text+0xa7c): undefined reference to `glTranslated'
1>display.cpp:(.text+0xac0): undefined reference to `glTranslated'
1>display.cpp:(.text+0xb04): undefined reference to `glTranslated'
1>display.cpp:(.text+0xb48): undefined reference to `glTranslated'
1>display.cpp:(.text+0xb8c): undefined reference to `glTranslated'
It seems i did mis a GL lib but i include this in my makefile:
Code: Select all
TARGET = rubik
OBJS = _cube.o algorithmes.o cube.o display.o interpretor.o main.o tests.o
INCDIR =
CFLAGS = -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS = -LC:/pspsdk/psp/lib
LIBS= -lgl -lglu -lglut -lglu -lgl -lg -lglut -lpspgu -lpspgum -lpthread-psp -lpspvfpu -lpsprtc -lpspvram -lgl -lglu -lglut -lglu -lgl -lg
USE_USER_LIBS=1
CC = psp-g++
CXX = psp-g++
AS = psp-g++
LD = psp-g++
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Morph Sample
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak