Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [c++]Problem z skompilowaniem FTGL pod Ubuntu 11.04
qba10
post 19.07.2011, 13:30:45
Post #1





Grupa: Zarejestrowani
Postów: 264
Pomógł: 20
Dołączył: 19.08.2007
Skąd: Bryńsk k. Lidzbarka Welskiego (nie mylić z Warmińskim)

Ostrzeżenie: (0%)
-----


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


--------------------
Qbix Media Project - Prosty Multiplatformowy Odtwarzacz Muzyki
Go to the top of the page
+Quote Post
Theqos
post 21.07.2011, 06:48:52
Post #2





Grupa: Zarejestrowani
Postów: 49
Pomógł: 8
Dołączył: 5.12.2008

Ostrzeżenie: (0%)
-----


Kompilujesz kod w C, kompilatorem C++.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 13.06.2025 - 02:48