Jump to content

8-Bit Framebuffer


dossakab

Recommended Posts

Although not specified above i am guessing that you are using the linux framebuffer. If so what that message is saying is that GDISP_PIXEL_FORMAT does not match the capabilities of the framebuffer linux driver for your machine. Try changing that macro in your gfxconf.h to match the hardware capabilities. 

Link to comment
Share on other sites

Ok, thanks, I've just launched mandelbrot example, and it works fine. But now I trying another example(bubbles), and I have this message:

Linking .build/hello_world
/tmp/cci1nNng.ltrans0.ltrans.o: In function `initialize':
<artificial>:(.text+0x1b64): undefined reference to `sinf'
/tmp/cci1nNng.ltrans0.ltrans.o: In function `matrix':
<artificial>:(.text+0x1c22): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
../resources/ugfx/tools/gmake_scripts/compiler_gcc.mk:282: recipe for target '.build/hello_world' failed
make: *** [.build/hello_world] Error 1


 

Link to comment
Share on other sites

This is not at all related to your initial problem / the topic of this forum thread.

We're happy to help wherever we can but please at least try to figure out what the problem is. Googling the error(s) you're getting would instantly give you results. Furthermore, the demo you're trying to compile even comes with a readme file that explains what to do:

In order to run this demo you will have to link against the math libs.
You can do this by adding   -lm   to the   LIBS   variable in your Makefile:

    LIBS = -lm

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...