The rev 522 is a work-in-progress version. You'd better use the stable 1.5.0 version. Simply use the URL http://doryen.eptalys.net/svn-libtcod/tags/1.5.0/ instead of trunk to checkout the full 1.5.0 version with makefiles.
Concerning the SDL error, taht's weird. Is the SDL library in LD_LIBRARY_PATH? 2011/4/22 Xiangfu Liu <[email protected]> > 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@BenNanoNote:/usr/lib/ascii-paint# ls > ascii-paint ascii-paint.cfg terminal.png > root@BenNanoNote:/usr/lib/ascii-paint# ./ascii-paint > libtcod 1.5.0 > SDL : cannot create window <--- The ERROR message. > > installed three file of libtcod: > root@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. >
_______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

