При создании примитивов орет линковщик
Код:
Компилятор: Default compiler
Building Makefile: "Z:\Dev-Cpp\Makefile.win"
Выполнение make...
make.exe -f "Z:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"Z:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"Z:/Dev-Cpp/include/c++/3.4.2/backward" -I"Z:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"Z:/Dev-Cpp/include/c++/3.4.2" -I"Z:/Dev-Cpp/include"
g++.exe main.o -o "OpenGL.exe" -L"Z:/Dev-Cpp/lib" -mwindows -lglaux -lopengl32
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x40):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x4d):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x5d):d:\nt\private\wind: undefined reference to `gluSphere@20'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x40):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x4d):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x58):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x68):d:\nt\private\wind: undefined reference to `gluSphere@20'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x74):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x81):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x9d):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x78):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x85):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x90):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0xac):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x4c):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x59):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x73):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x4c):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x59):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x64):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x7e):d:\nt\private\wind: undefined reference to `gluCylinder@36'
collect2: ld returned 1 exit status
make.exe: *** [OpenGL.exe] Error 1
Выполнение завершено
Building Makefile: "Z:\Dev-Cpp\Makefile.win"
Выполнение make...
make.exe -f "Z:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"Z:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"Z:/Dev-Cpp/include/c++/3.4.2/backward" -I"Z:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"Z:/Dev-Cpp/include/c++/3.4.2" -I"Z:/Dev-Cpp/include"
g++.exe main.o -o "OpenGL.exe" -L"Z:/Dev-Cpp/lib" -mwindows -lglaux -lopengl32
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x40):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x4d):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireSphere@8]+0x5d):d:\nt\private\wind: undefined reference to `gluSphere@20'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x40):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x4d):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x58):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidSphere@8]+0x68):d:\nt\private\wind: undefined reference to `gluSphere@20'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x74):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x81):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCylinder@16]+0x9d):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x78):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x85):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0x90):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCylinder@16]+0xac):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x4c):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x59):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxWireCone@16]+0x73):d:\nt\private\wind: undefined reference to `gluCylinder@36'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x4c):d:\nt\private\wind: undefined reference to `gluNewQuadric@0'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x59):d:\nt\private\wind: undefined reference to `gluQuadricDrawStyle@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x64):d:\nt\private\wind: undefined reference to `gluQuadricNormals@8'
Z:/Dev-Cpp/lib/libglaux.a(obj/i386/shapes.obj)(.text[_auxSolidCone@16]+0x7e):d:\nt\private\wind: undefined reference to `gluCylinder@36'
collect2: ld returned 1 exit status
make.exe: *** [OpenGL.exe] Error 1
Выполнение завершено
Использую Dev-C++
Ты её, вроде, не подключил