I am making some tests in the tutorial for the Felix GUI.

Yes, Felix has a GUI "built in".

Currently you can run "make guitest", be aware some
of the tests are interactive and require a response.
It's the nature of GUI's I'm afraid.

These tests currently run directly out of the repository,
not the build copy of the test harness. however they use the
gui in the build. This may change a bit later.

For these tests to work on your system you MUST have installed

        SDL 2.x.x (Simple direct media layer)
        TTF 2.x.x (true type font binding)
        IMG 2.x.x (image handling)
        freetype 2 (true type font renderer)
        
and on Linux

        libjpg
        libpng
        .. (other image libraries)

Image handling is built-in on OSX so these libs aren't required there.
Note, you MUST use SDL version 2.

In addition you may need OpenGL support.
Note I cannot run these tests on the server:
SDL ONLY works on the host machine with a graphics card.
[Unlike X windows it isn't a client/server system]

The config files are:

~/felix>ls build/release/host/config/sdl2*
sdl2.fpc        sdl2_image.fpc  sdl2_ttf.fpc

On my OSX 10.6.8 MacbookPro:

~/felix>tail build/release/host/config/sdl2*
==> build/release/host/config/sdl2.fpc <==
Name: SDL2
Description: Simple Direct Media Layer 2.0
cflags: -I/usr/local/include/SDL2
includes: '"SDL.h"'
provides_dlib: -L/usr/local/lib -lSDL2
provides_slib: -L/usr/local/lib -lSDL2
requires_dlibs: ---framework=OpenGL
requires_slibs: ---framework=OpenGL


==> build/release/host/config/sdl2_image.fpc <==
Name: SDL2_image
Description: Simple Direct Media Layer 2.0: image loader
cflags: -I/usr/local/include/SDL2
includes: '"SDL_image.h"'
provides_dlib: -L/usr/local/lib -lSDL2_image
provides_slib: -L/usr/local/lib -lSDL2_image


==> build/release/host/config/sdl2_ttf.fpc <==
Name: SDL2_ttf
Description: Simple Direct Media Layer 2.0: free type interface
cflags: -I/usr/local/include/SDL2
includes: '"SDL_ttf.h"'
provides_dlib: -L/usr/local/lib -lSDL2_ttf
provides_slib: -L/usr/local/lib -lSDL2_ttf
requires_dlibs: -lfreetype
requires_slibs: -lfreetype

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to