Skip to content

mintyfresh/feathergui

 
 

Repository files navigation

Feather

Building without Nix

Graphics Backend

Build the graphics backend:

mkdir build
cd build
cmake ..
make

cpptest

First, build the backend. Then, from the root of the project:

# enter cpptest directory
cd cpptest

# build it
CPPFLAGS='-I../include' LDFLAGS='-L../bin-x64' BINDIR=bin OBJDIR=bin/obj LIBDIR=lib make

If you get an error about std::experimental::filesystem, your compiler is old and will require you to add `-lstdc++fs` to the linker flags to link the experimental filesystem.

# run it
LD_LIBRARY_PATH='../bin-x64' bin/cpptest

everything else

Unknown

Running OpenGL Executables in Nix

Linux (non NixOS)

  1. Install the appropriate version of nixGL for your graphics card driver.

  2. Use nixGLXXX to run executables as in the example below.

# Using proprietary Nvidia backend, adjust for your graphics driver.
nixGLNvidia ./result/bin/fgTests

About

Feather - The Future of UI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 60.9%
  • C++ 22.9%
  • Terra 9.9%
  • Perl 3.6%
  • CMake 0.7%
  • GLSL 0.6%
  • Other 1.4%