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. Shafqat On Thu, Apr 21, 2011 at 3:07 AM, jice <[email protected]> wrote: > Hi > > I think there are two issues : > > - ascii paint is using libtcod-gui, a minimalist widget toolkit on top of > libtcod. Have you compiled/linked against it ? The headers are in the > include/gui directory and the source code in src/gui (in libtcod's official > download). That might explain some undefined references (Widget::focus, > RadioButton::select, ...) > > - the last version of ascii paint has been written for libtcod 1.4.1. If > you're using a newer version of libtcod, you'll have to upgrade ascii > paint's code to use the new API. Check libtcod's changelog or libtcod's > documentation to see how the functions work in the latest version. That > might explain other undefined references (TCODConsole::blit, > TCODImage::setBackgroundColor, ...) > > Jice > > > 2011/4/20 Xiangfu Liu <[email protected]> > >> Hi >> >> thanks for the email. I just make the libtcod compiled in Openwrt. >> but the ascii-paint have some erros when link. attach is the full >> compile log under openwrt. >> >> >> please give me some advice. thanks >> >> >> first line of error: >> /home/xiangfu/openwrt-xburst.full_system/build_dir/target-mipsel_uClibc-0.9.30.1/ascii-paint-0.3-src/obj/app.o:/home/xiangfu/openwrt-xburst.full_system/build_dir/target-mipsel_uClibc-0.9.30.1/ascii-paint-0.3-src/app.cpp:225: >> undefined reference to `Widget::focus' ... >> >> blow is the commit log: >> libtcod : http://qi-hw.com/p/openwrt-packages/7ec9e95 >> ascii-paint : http://qi-hw.com/p/openwrt-packages/3a40dc0 >> >> please consider apply this patch to upstream: >> >> http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/7ec9e95/libtcod/patches/001-pass-openwrt-CFLAGS.patch >> >> thanks again >> >> On 02/24/2011 06:08 PM, jice wrote: >> > Hey, >> > >> > libtcod's source code portability is pretty good (it's ANSI C). The >> problem >> > is that it has dependencies : >> > - libpng >> > - zlib >> > - SDL >> > >> > libpng and zlib are probably already ported to MIPS but what about SDL ? >> > >> > If you manage to have those compiled on Ben NanonNote, you should be >> able to >> > compile libtcod using the linux makefile (makefiles/makefile-linux). >> You'd >> > better use the 1.5.0 stable version : >> > http://doryen.eptalys.net/svn-libtcod/branches/1.5.0/ >> > >> > Jice >> > >> > 2011/2/24 Shafqat Bhuiyan <[email protected]> >> .... >> >>> On 02/22/2011 03:57 PM, Jane Andreas wrote: >> >>>> everyone, look at this program! It is half way between TuxPaint and >> >> Aewan! >> >>>> http://code.google.com/p/ascii-paint/ >> >>>> hopefully we could port it to Nanonote? >> >>>> >> -- >> Best Regards >> Xiangfu >> -- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml -- >> > >
_______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

