Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [c++]Problem z skompilowaniem FTGL pod Ubuntu 11.04
Forum PHP.pl > Inne > Komputery i oprogramowanie
qba10
Witam mam problem z skompilowaniem FTGL pod Ubuntu 11.04. Na kompie jest juz freetype2 oraz ftgl
Do kompilowania używam eclipse

Kod źródłowy: http://wklej.org/id/563847/
Log kompilatora:
Kod
**** Build of configuration Debug for project opengl ****

make all
Building file: ../src/opengl.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/include/freetype2 -I/usr/include/FTGL -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/opengl.d" -MT"src/opengl.d" -o"src/opengl.o" "../src/opengl.cpp"
../src/opengl.cpp: In function ‘int main(int, char**)’:
../src/opengl.cpp:218:2: error: ‘FTGLfont’ was not declared in this scope
../src/opengl.cpp:218:12: error: ‘font’ was not declared in this scope
../src/opengl.cpp:218:89: error: ‘ftglCreatePixmapFont’ was not declared in this scope
../src/opengl.cpp:224:34: error: ‘ftglSetFontFaceSize’ was not declared in this scope
../src/opengl.cpp:225:39: error: ‘FTGL_RENDER_ALL’ was not declared in this scope
../src/opengl.cpp:225:54: error: ‘ftglRenderFont’ was not declared in this scope
../src/opengl.cpp:228:22: error: ‘ftglDestroyFont’ was not declared in this scope
make: *** [src/opengl.o] Błąd 1
Theqos
Kompilujesz kod w C, kompilatorem C++.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.