Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : Make fails
New Topic New Poll Post Reply
Poster Message
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Make fails (0)  
Trying to build drod gives errors like these:
Click here to view the secret text


[Last edited by kyevan at 08-31-2007 12:59 AM]
08-31-2007 at 12:59 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 864
Registered: 03-01-2005
IP: Logged
icon Re: Make fails (+2)  
You need a newer version of pod_char_traits.h. See this post. In your case, it looks like you would save that file as ~/Desktop/DROD20Source/Master/Linux/ext/pod_char_traits.h . Also, with all currently available 2.0/3.0 source bundles, you really want to use scons for Linux, not make. Sounds like it's still possible to use make, but harder.

[Last edited by schep at 08-31-2007 03:14 AM]
08-31-2007 at 02:20 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Re: Make fails (0)  
Well, scons doesn't work, period. And I don't feel like trying to create vcproj files from scratch >_>

EDIT: Also, adding that file helps not at all :( Cry.

[Last edited by kyevan at 08-31-2007 02:50 AM]
08-31-2007 at 02:45 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Stefan
Level: Smitemaster
Avatar
Rank Points: 2119
Registered: 05-25-2004
IP: Logged
icon Re: Make fails (+1)  
It should be put in ~/Desktop/DROD20Source/ext/pod_char_traits.h and not as specified above. Edit: You also need to make sure you have the right version. The newest version isn't the correct one and will not work. Use rev. 1.4 instead, IIRC.

____________________________
0.099³

[Last edited by Stefan at 08-31-2007 03:07 AM]
08-31-2007 at 03:04 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 864
Registered: 03-01-2005
IP: Logged
icon Re: Make fails (0)  
Stefan wrote:
It should be put in ~/Desktop/DROD20Source/ext/pod_char_traits.h
Whoops! Sorry about that one. Mine's in the right place, after all. Added strikethroughs to my mistake, to keep things clear.

As an aside, I assume we (trick? me? anybody?) intend to eventually attempt to change the WCHAR-related macros to work with a later official version of g++'s character template? If that doesn't turn out to be possible, changing the namespace and putting it in BackEndLib would sound good, except for that nasty LGPL business.

[Last edited by schep at 08-31-2007 03:25 AM]
08-31-2007 at 03:16 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Re: Make fails (0)  
Wee, it works! After installing a couple missing deps (Is it documented anywhere that it relies on libcurl?) and changing the sound system from fmod to sdl_mixer. The sdl_mixer sound system should really be the default one, binary-only libraries are a pain in the you-know-what. But maybe that's just me :P
08-31-2007 at 04:05 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Make fails (0)  
It's documented somewhere near the start of the thread at least... not sure about in the actual source :rolleyes
08-31-2007 at 04:11 AM
View Profile Show all user's posts Quote Reply
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Re: Make fails (0)  
... :( When I run it, I get an error:

Is building DROD supposed to be just another room to solve? :lol

DROD:Assertion error in line 90 of ../../FrontEndLib/BitmapManager.cpp: "this->LoadedBitmaps.size()==0"

08-31-2007 at 04:15 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Make fails (+2)  
You don't have data.

My suggestion:

Make a copy of ~/.caravel/drod-tcb (or drod-tcb-demo) at ~/.caravel/drod-tcb-cust.

Change the szDROD and wszDROD constants in DRODLib/GameConstants.h to "drod-cust".

That should work as far as the program (and all you need is a drod-cust3_0.dat instead of drod3_0.dat), but to be safe, I made a backup of DROD's files instead, symlinking the data files together (since they're static and unchanging), and provided myself with a few other scripts, like to run it through valgrind or gdb.
08-31-2007 at 04:44 AM
View Profile Show all user's posts Quote Reply
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Re: Make fails (0)  
TCB? I'm trying to build drod2, not 3 >_>

08-31-2007 at 04:59 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Make fails (+1)  
Oh. Same things apply though. Except that you will want to make copies of the data files excepting drod2_0.dat, which should be symlinked from drod-cust2_0.dat.
08-31-2007 at 05:10 PM
View Profile Show all user's posts Quote Reply
kyevan
Level: Disabled
Rank Points: 54
Registered: 08-29-2007
IP: Logged
icon Re: Make fails (0)  
Yeh, I figured that out. I also figured out that it doesn't like kdd, you HAVE to use jtrh.
08-31-2007 at 05:33 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 864
Registered: 03-01-2005
IP: Logged
icon Re: Make fails (+1)  
There are separate targets in the Makefile for KDD versions, such as 'make kddrelease'. But that doesn't really do much other than change the directory and filenames the game tries to load-- it's really the same program either way.

09-01-2007 at 12:11 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : Make fails
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.