just tried to use allegro

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: 22 May 2004, 20:35
Contact:

just tried to use allegro

Post 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^^
User avatar
Genis
Novice
Novice
Posts: 82
Joined: 29 Apr 2004, 19:43
Contact:

Post 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/
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post 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.
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: 22 May 2004, 20:35
Contact:

Post by natsuki »

wow! thanks for the link!^^

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

^^
Post Reply