我试图为directfb教程添加一个包。我遵循了中的说明。目前,包已成功下载到dl文件夹,甚至在build目录中编译,但当我将安装部分添加到makefile时,会得到依赖关系错误:
Package directfb_tutorials is missing dependencies for the following libraries:
libdirect-1.4.so.0
libdirectfb-1.4.so.0
libfusion-1.4.so.0
libpthread.so.0
这个包Makefile (我把它放在package /utils/directfb_tutorials/下)
我在运行CMake时遇到了以下问题。
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
DIRECTFB_INCLUDE_DIR (ADVANCED)
used as include directory in directory /u/menie482/workspace/AtariTEXPL
我有一个类来检查是否有合适的框架缓冲区,而且它工作得很好。其中有几台计算机(大部分是嵌入式的旧板)没有帧缓冲区,所以我删除了init(self):函数,并手动设置它在X下运行。这两种方式都在各自的系统上工作,我只是厌倦了每次更改时都移植它。
以下是工作的框架缓冲区代码:
class wxdisplay :
screen = None;
def __init__(self):
"Ininitializes a new pygame screen using the framebuffer"
我们正在尝试将wxGTK (2.8.12)交叉编译到我们的ARMv5嵌入式设备上。由于内存空间限制为64MB,我们考虑不使用X11。因此,我们构建了DirectFB和GTK+ (使用gdktarget作为directfb,不使用x)。
现在,我们正在尝试使用GTK+构建wxGTK。但看起来,它需要X11头文件。遇到以下编译器错误:
./src/unix/utilsx11.cpp:31:22: warning: X11/Xlib.h: No such file or directory
./src/unix/utilsx11.cpp:33:23: warning: X11/Xutil.h: No
问题:
我试图通过使用win32和SDL2.0创建一个透明的窗口,因为它的官方API还没有发布。我在引用窗口字段以到达HWND时遇到了困难。它给了我当前的错误
F:\C programs and compiliers\C\SDL_test\main.c||In function 'get_system_data':|
F:\C programs and compiliers\C\SDL_test\main.c|220|error: 'union <anonymous>' has no member named 'window'|
||