2011-11-15 26 views
12

Tôi đang cố gắng tạo trình mô phỏng bánh sandwich kem trên Ubuntu Linux.Lỗi xây dựng: Trình mô phỏng bánh sandwich kem trên Ubuntu

Bắt lỗi sau:

host C++: libGLcommon <= development/tools/emulator/opengl/host/libs/ 
Translator/GLcommon/GLDispatch.cpp 

development/tools/emulator/opengl/host/libs/Translator/GLcommon/ 
GLDispatch.cpp:22:20: error: GL/glx.h: No such file or directory 

development/tools/emulator/opengl/host/libs/Translator/GLcommon/ 
GLDispatch.cpp: In function ‘void (* getGLFuncAddress(const char*)) 
()’: 

development/tools/emulator/opengl/host/libs/Translator/GLcommon/ 
GLDispatch.cpp:35: error: ‘glXGetProcAddress’ was not declared in this 
scope 

make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/ 
libGLcommon_intermediates/GLDispatch.o] Error 1 
make: *** Waiting for unfinished jobs.... 

ai đó có thể giúp tôi với điều này?

Trả lời

7

Có vẻ như bạn đang thiếu tệp glx.h. Điều này được cung cấp bởi một số gói, một trong số đó bạn sẽ cần phải cài đặt. Tôi khá chắc chắn người bạn muốn là mesa-common-dev.

0

Trên Fedora 16, bạn cần cài đặt mesa-libGL-devel pacakge.

Các vấn đề liên quan