From: Sam S. <sam...@gm...> - 2007-04-19 18:21:43
|
The TikiSnake demo may be out of date. I had a new version waiting to be checked in, but I lost the data on my hard drive last week. I'll update the example again tonight and get it checked in. In the meantime, DreamZZT uses the Console drawable (it includes a slightly modified version that's GPL licensed, not BSD licensed), so for a more complex demo of how to use it, check out http://dev.c99.org/DreamZZT/ I try to keep both versions of Console similar, but newer features / and faster but messier code will be in DreamZZT's version first. I'll go through them tonight and see if there's anything that needs to be updated for Tiki's included version. -Sam On 4/19/07, kidchaos en hotmail2 <kid...@ho...> wrote: > > Hi, > > This a message for the devtiki mailing list, (to other people who received > the same mail: hope you dont mind that i send personally) > > Im having troubles on compiling the tikisnake sample. Im working on a > windows XP with visual studio express. I downloaded the current version of > tiki from svn, and compiled the tiki library without problem, but now > trying > to compile the tikisnake sample im getting the following errors: > ------ Build started: Project: tikisnake, Configuration: Debug Win32 > ------ > > Compiling... > > snake.cpp > > Linking... > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::~basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >(void)" > (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) > already defined in tiki.lib(console.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >(char const *)" > (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD > @Z) > already defined in tiki.lib(console.obj) > > LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other > libs; use /NODEFAULTLIB:library > > > C:\cygwin\usr\local\dc\kos\tiki\examples\console\TikiSnake\vcproject\Debug\tikisnake.exe > : fatal error LNK1169: one or more multiply defined symbols found > > Build log was saved at > " > file://c:\cygwin\usr\local\dc\kos\tiki\examples\console\TikiSnake\Debug\BuildLog.htm > " > > tikisnake - 3 error(s), 1 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped > ========== > > Two questions: > > 1) srand(Time::gettime()); is there any problem with this function??? > > 2) Searching on the code, i dont understand if the console class is a > valid > drawable object, it is declaring the ctor and the dtor of a string > class??? > > Any help appreciate, > > Regards > > @B^)> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > cadcdev-tiki mailing list > cad...@li... > https://lists.sourceforge.net/lists/listinfo/cadcdev-tiki > |