Art program(port ascii-paint to Ben NanoNote)

Shafqat Bhuiyan priomsrb at gmail.com
Mon Apr 25 16:04:27 EDT 2011


Another reason for the error might be that the window created by ascii-paint
is too big. What is the maximum resolution supported by the Ben Nanonote?
ascii-paint creates a window with a size of 640x400. You can get a window of
320x200 if you replace the terminal.png with a smaller font such as this:
http://i.imgur.com/3FPql.png. Try replacing terminal.png with the one I
linked and see if that helps.

Shafqat

On Fri, Apr 22, 2011 at 5:40 PM, Xiangfu Liu <xiangfu at sharism.cc> wrote:

> Hi Jice, Shafqat Bhuiyan
>
> thanks for support Ben Nanonote. now I can success compile the
> 'ascii-paint'
> the source codes for openwrt is here:
> http://qi-hw.com/p/openwrt-packages/ba3ac45
>
> I am using the "libtcod-r522", using svn checkout the revision r522, since
> the
> 1.5.0 source code tarball don't have the 'makefiles'.
>
> but I have some problem on running it:
>  root at BenNanoNote:/usr/lib/ascii-paint# ls
>  ascii-paint      ascii-paint.cfg  terminal.png
>  root at BenNanoNote:/usr/lib/ascii-paint# ./ascii-paint
>  libtcod 1.5.0
>  SDL : cannot create window <--- The ERROR message.
>
> installed three file of libtcod:
>  root at BenNanoNote:/usr/lib/ascii-paint# ls /usr/lib/libtcod*
>  /usr/lib/libtcod.so     /usr/lib/libtcodgui.so  /usr/lib/libtcodxx.so
>
> I can sure the SDL libs in nanonote works fine. there are some of apps
> using SDL.
>
> thanks for the cmake, no needs patch the makefile now :)
>
> On 04/22/2011 11:33 AM, Shafqat Bhuiyan wrote:
> > Hi,
> >
> > I tried compiling ascii-paint using libtcod 1.5 and there were some
> > problems. So I fixed them up and uploaded a new version of ascii-paint on
> > the website:
> >
> http://code.google.com/p/ascii-paint/downloads/detail?name=ascii-paint-0.3.1.tar.gz
> >
> > This version also uses cmake so it should be easier to compile.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20110426/8a8baf02/attachment.htm>


More information about the discussion mailing list


interactive