How to develop a DirectFB app without leaving X.11 environment

后端 未结 6 1521
难免孤独
难免孤独 2020-12-09 11:34

I\'m trying to develop a GUI application for an embedded platform, without any windowing whatsoever and I\'m doing that with DirectFB, and it suits my needs very fine.

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-09 12:12

    I came to use ephemient's solution to run DirectFB applications inside a chroot environment (target filesystem as a courtesy of buildroot) in addition to Xnest, a separate X environment which runs in a window of the current X.

    $ Xnest -ac :1 &
    $ cd $TARGET_DIR # into the target file system root
    $ DISPLAY=:1 sudo chroot . usr/bin/df_neo
    

    This way you can assure not only your directfb installation is correct, but also all the required dependencies are installed inside the chroot'ed file system.

提交回复
热议问题