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: Sat May 22, 2004 9:35 pm
Contact:

just tried to use allegro

Post by natsuki » Thu May 27, 2004 11:53 pm

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: Thu Apr 29, 2004 8:43 pm
Contact:

Post by Genis » Fri May 28, 2004 1:46 am

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: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Fri May 28, 2004 6:11 pm

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: Sat May 22, 2004 9:35 pm
Contact:

Post by natsuki » Fri May 28, 2004 9:01 pm

wow! thanks for the link!^^

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

^^
Post Reply