missing #include "tclap/CmdLine.h"

missing #include "tclap/CmdLine.h"

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Buggi
Posts: 875
Joined: 29 Apr 2005, 07:46

missing #include "tclap/CmdLine.h"

Post by Buggi »

Where is this file? "tclap/CmdLine.h"

I need it to tweak with the MapConv program to create a large map. Or at least to debug it, getting out of memory errors when trying to create a large map for SJ.

-Buggi
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

You will have to download it manually

http://tclap.sourceforge.net/
User avatar
Buggi
Posts: 875
Joined: 29 Apr 2005, 07:46

Post by Buggi »

Downloaded and now compiling..

I did have an issue with the std::min() funtion, oddly the compiler didn't like that, so I converted it to a simply ternary operator... like so

Code: Select all

int stringLen = len-start > allowedLen ? len-start : allowedLen;
Now I can see about creating that map.. @.@; To beyond 16kx16k... not sure why smoth gave me those dimensions.
Post Reply

Return to “Engine”