|
|
HelloI've tried building in a pure wayland environment
(in github actions) with CMake with the following workflow: ``` jobs: build_cxx: runs-on: ubuntu-latest steps: - name: Checkout sources uses: actions/checkout@v2 - name: Install deps run: sudo apt-get update && sudo apt-get install -y libxkbcommon-dev libwayland-dev wayland-protocols libpango1.0-dev libdbus-1-dev libegl1-mesa-dev libglu1-mesa-dev - name: Build run: | git clone https://github.com/fltk/fltk cd fltk cmake -Bbin -DOPTION_USE_WAYLAND=ON -DOPTION_WAYLAND_ONLY=ON -DOPTION_ALLOW_GTK_PLUGIN=OFF -DFLTK_BUILD_TEST=OFF cmake --build bin --parallel ``` ``` sudo apt-get update && sudo apt-get install -y libxkbcommon-dev libwayland-dev wayland-protocols libpango1.0-dev libdbus-1-dev libegl1-mesa-dev libglu1-mesa-dev ... (installs deps) git clone http://github.com/fltk/fltk --depth=1 cd fltk cmake -Bbin -DOPTION_USE_WAYLAND=ON -DOPTION_WAYLAND_ONLY=ON -DFLTK_BUILD_TEST=OFF -DOPTION_ALLOW_GTK_PLUGIN=OFF ...(configures) cmake --build bin --parallel ... (builds) [100%] Linking CXX executable ../bin/fluid
/usr/bin/ld: cannot find -lXcursor
/usr/bin/ld: cannot find -lXinerama
/usr/bin/ld: cannot find -lXfixes
collect2: error: ld returned 1 exit status So this currently fails in building fluid.
On Saturday, September 10, 2022 at 8:55:30 AM UTC+3 Manolo wrote:
Le jeudi 1 septembre 2022 à 16:05:50 UTC+2, Juergen a écrit :
First of all kudos for the Wayland implementation
I want to use it on an embedded system based on i.MX8.
It is a pure wayland/weston environment, no X11 at all (no library, no header files). So I had to modify the Xutf8.h.
The FLTK git repo has been modified to accept building in a pure wayland environment. This is obtained with git pull autoconf -f ./configure --enable-wayland --disable-x11
Hopefully, you should now be able to build FLTK for your system without source code change (except the wait_for_expose_value issue we didn't yet find a solution for).
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/dbd13ac9-c2fe-4617-bbc6-5decce9f5822n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |