Compiling mapconv

Compiling mapconv

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
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Compiling mapconv

Post by Maelstrom »

Im trying to compile mapconv, to see if I can fix some of the bugs, but I cant work out how to complie the thing. I downloaded the full SVN repository, but when ever I try and compile it, it brings up a million errors :(

At first it was complaining about being unable to find any of the #include <tclap/file.h> files. I fixed that (I think) by changing them to #include "file.h", and renaming the tclap-1.0.5/ directory to tclap. But then, it complained about being unable to #include <IL/il.h>. This time, there isn't a IL directory at all :?


I am new to this compiling thing, Ive only done small, single file programs before, so its quite possible I am missing something trivially small. Any one got any idea whats going on? Or where to find all the files I seem to be missing?

Im using Bloodshed Dev C++ compiler.

Thanks :-)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

IL stuff is the devil library
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Where could I find it? Would it be somewhere in the spring source, or do I have to download it from somewhere?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

You can find these dependencies in the spring mingwlibs package (it's on UF). Note though that the mapconv buildsystem hasn't been maintained much so I have no clue whether paths to e.g. IL are set up correctly.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Ah thanks, that had everything I needed. Now to work out whats happening with all these other errors...

Code: Select all

Bitmap.o(.text+0xbff):Bitmap.cpp: undefined reference to `ilGenImages@8'
Bitmap.o(.text+0xc0d):Bitmap.cpp: undefined reference to `ilBindImage@4'
Bitmap.o(.text+0xc50):Bitmap.cpp: undefined reference to `ilTexImage@28'
Now im getting lots of errors like that. Any ideas?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

You are not linking to IL (DevIL)?
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

How does one link to stuff? As I said, im new to this :P
Post Reply

Return to “Engine”