just tried to use allegro

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: 22 May 2004, 21:35
Contact:

just tried to use allegro

Post by natsuki » 27 May 2004, 23:53

well it nothing, but i just wanted to learn allegro
so i try it , i think it can be useful for the gui^^

btw, i also working somehow on the sockets
and other data^^

the source with images:
http://www.freewebs.com/ninjaboy_natsuki/tmw_src.rar

the exe:
http://www.freewebs.com/ninjaboy_natsuki/tmw_bin.rar

still not able to use allegro in vcpp but in devcpp i can

but i try to how i can use it in vc^^
User avatar
Genis
Peon
Peon
Posts: 82
Joined: 29 Apr 2004, 20:43
Contact:

Post by Genis » 28 May 2004, 01:46

for VC++ you can just download http://www.allegro.cc/files/4.0.3/alleg ... -msvc7.zip

then copy the lib and include directories to youir Harddrives VC folder.

The above download is for VC7 if you have VC6 use http://www.allegro.cc/files/4.0.3/alleg ... -msvc6.zip

This solved all of the can't find allegro.h errors VC was given me, so it is obviosly able to compile allegro, however I am still having some issues compiling ManaWorld, so give it a try in VC and let me know how it goes.

Thanks

P.S. All of the files technically compile, but when I build the project I have a lot of Linking Issues

Also the above link is an allegro VC binary not source, though the source is on the same site: http://www.allegro.cc/
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 28 May 2004, 18:11

Yes the best reference is allegro.cc. If you don't have success compiling the library download precompiled versions of the lib and docs.
As I remember I had no problems when using MSVC++ 6.0. I compiled allegro using djgpp and everything went fine. I had many problems instead using 7.0 (I'm using precompiled version without problems)

For the link errors: I don't remember if I included the visual studio project files, or maybe you have a different version of MSVC, but usually link problems are caused because you don't properly linked libraries: allegro.lib and ws2_32.lib.

If you need help post the compiler output so I can be more precise. When you compile the mana world solution you should only get some warnings.
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: 22 May 2004, 21:35
Contact:

Post by natsuki » 28 May 2004, 21:01

wow! thanks for the link!^^

still cant compile in vc7, even i get all djgpp, etc.

^^
Post Reply