Page 1 of 2

How to compile

Posted: 24 Jul 2004, 12:56
by ElvenProgrammer
Requirements

The Mana World has been tested in Visual Studio 2003, Visual C++ 2005 Express Edtion Beta, Dev-Cpp + MinGW
Once you got your IDE working, you should obtain the following libraries:

Allegro

Alfont

JGMOD

Posted: 27 Aug 2004, 02:32
by mike
Visual C++ wont run .vcproj files

Posted: 27 Aug 2004, 07:01
by ElvenProgrammer
Why not? :shock: That's what I get when I create a project with Visual C++ ver 7 or 8

Posted: 13 Dec 2004, 05:49
by Ardaen
Apparently some people with dev-cpp/mingw are having trouble with the latest cvs releases that require guichan.

I'd just like to remind anyone with said problems that in the platform.hpp file, _declspec(dllexport) doesn't work so well with mingw. you need __declspec(dllexport). Thats one more _ symbol.

Then make sure to include -lguichan and -lguichan_allegro BEFORE -lalleg in the dev-cpp project options.

Posted: 13 Dec 2004, 08:09
by ElvenProgrammer
Did you manage it to compile? I'm still having troubles about some linking issues: undefined reference to fcn::TextField::TextField() and so on. Some other hint maybe?

Posted: 13 Dec 2004, 22:32
by Impetus
As far as I know, I'm pretty sure you need to include .dsw, .dsp, and .vcproj when trying to communicate VC++ projects.

Posted: 13 Dec 2004, 22:37
by ElvenProgrammer
But we're not talking about VC++ projects.

Posted: 14 Dec 2004, 00:57
by Ardaen
Ugh, VC++ is unnessisary money spent, or unnessisary software piracy, keep the ickyness away!

Yes, I did get it to compile, everything but the icon 'cause I was too lazy to find it ^_^

Which part can't you get to link? Compiling the GUIChan library, or ManaWorld itself?

I'm gonna assume you ment gcn (not fcn) meaning guichan. So I'm guessing your not properly linking the guichan library with the mana world sources.

When I find somewhere to upload it, I'll upload my modified GUIChan with Dev-CPP project file, pre-compiled libguichan.a and libguichan_allegro.a. I'll also throw in the mana world project file as an added bonus ;)

Check back later for those, I gotta go make supper now, bye.

[edit]
Here are the project files and the precompiled guichan libraries for the lazy. Put the libraries in your dev-cpp\lib directory and use the manaworld project file.
Manaworld dev-cpp file
guichan dev-cpp file
guichan allegro dev-cpp file
guichan platform.hpp file
libguichan static library
libguichan_allegro static library
[/edit]

Posted: 14 Dec 2004, 07:16
by ElvenProgrammer
Which version of gcc do you have?
I succeded to compile it with 3.1, but not with 3.3.

Posted: 14 Dec 2004, 10:35
by Bjørn
The gcc version is denoted with three numbers like 3.3.1 or 3.2.3. I think you mean 3.2.3, as opposed to 3.1(.0) which is the version of MinGW that 3.2.3 comes with.

Posted: 14 Dec 2004, 11:31
by ElvenProgrammer
I was meaning 3.3.x against 3.1.x, but maybe I got one digit wrong.

Posted: 14 Dec 2004, 18:31
by Ardaen
Whatever the case may be. 3.3.1 is the magic little number I see.

Posted: 14 Dec 2004, 18:43
by Impetus
Elven Programmer wrote:But we're not talking about VC++ projects.
I was talking in response to Mike..

Posted: 14 Dec 2004, 21:56
by ElvenProgrammer
Ops sorry :oops:

Posted: 17 Dec 2004, 13:49
by krismichael
Hmm, I have Borland Turbo C/C++ and DJGPP. I should try and compile on those just as a test. I'll let you know how it goes. :)