Jump to content
  • Advertisement
Sign in to follow this  
Ruddie

Raknet & Allegro error

This topic is 3032 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been trying out Raknet for a while now, and decided I'd make a 2D game with it, but it seems I'm not getting much further.

When including allegro & Raknet at the same time, their seems to be a error message :


1> main.cpp
1>d:\raknet 4.0\source\nativetypes.h(9): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(9): error C2632: 'char' followed by 'char' is illegal
1>d:\raknet 4.0\source\nativetypes.h(9): warning C4091: 'typedef ' : ignored on left of 'unsigned char' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(10): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(10): error C2632: 'short' followed by 'short' is illegal
1>d:\raknet 4.0\source\nativetypes.h(10): warning C4091: 'typedef ' : ignored on left of 'unsigned short' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(11): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(11): error C2632: 'int' followed by 'int' is illegal
1>d:\raknet 4.0\source\nativetypes.h(11): warning C4091: 'typedef ' : ignored on left of 'unsigned int' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(12): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(12): error C2632: 'char' followed by 'char' is illegal
1>d:\raknet 4.0\source\nativetypes.h(12): warning C4091: 'typedef ' : ignored on left of 'signed char' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(13): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(13): error C2632: 'short' followed by 'short' is illegal
1>d:\raknet 4.0\source\nativetypes.h(13): warning C4091: 'typedef ' : ignored on left of 'short' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(14): error C2632: 'int' followed by 'int' is illegal
1>d:\raknet 4.0\source\nativetypes.h(14): warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(19): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(19): error C2632: '__int64' followed by '__int64' is illegal
1>d:\raknet 4.0\source\nativetypes.h(19): warning C4091: 'typedef ' : ignored on left of 'unsigned __int64' when no variable is declared
1>d:\raknet 4.0\source\nativetypes.h(20): warning C4114: same type qualifier used more than once
1>d:\raknet 4.0\source\nativetypes.h(20): error C2632: '__int64' followed by '__int64' is illegal
1>d:\raknet 4.0\source\nativetypes.h(20): warning C4091: 'typedef ' : ignored on left of '__int64' when no variable is declared
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\wingdi.h(581): error C2371: 'BITMAP' : redefinition; different basic types
1> d:\program files\microsoft visual c++ 2010\vc\include\allegro\gfx.h(262) : see declaration of 'BITMAP'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\wingdi.h(4338): error C2229: struct 'tagDIBSECTION' has an illegal zero-sized array
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



I can't figure out why I am getting this error - I came to the conclusion that allegro & raknet must be conflicting somehow.

As I used allegro before, and I also used raknet without any problems.

Suggestions please?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!