Page 1 of 1

just tried to use allegro

Posted: 27 May 2004, 22:53
by natsuki
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^^

Posted: 28 May 2004, 00:46
by Genis
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/

Posted: 28 May 2004, 17:11
by ElvenProgrammer
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.

Posted: 28 May 2004, 20:01
by natsuki
wow! thanks for the link!^^

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

^^