User forums > General (but related to Code::Blocks)

c::b + Allegro 5.0.7 + Windows 7

(1/2) > >>

seanfcarney:
Hey guys,

I am having trouble getting Allegro working correctly with c::b.  Has anyone on here sucessfully set Allegro up on there identical system?  If so, please help me out.  I'm just frustrated, having never done anything like this before.  From my understanding Allegro cannot be used in codeblocks with out using cmake to get things together.  The file that comes with Allegro does not seem make sense to a newbie at this.

Thanks in advance for any help!

INFO
C::B 10.05
Allegro 5.0.7
Windows 7 (64bit)
Cmake 2.8.10



Here is where I am at:

* Downloaded Allegro 5.0.7 and unzipped to c:/Allegro
* Downloaded cmake, newest release
* Downloaded zlib newest release
* Downloaded libjpeg
* Downloaded FLAC

stahta01:
FYI:

The answer likely depends on the Compiler you are using.
Which you failed to state.

I am trying it now; will spend about 15 minutes on it before I give up.

I now know why you asked; the directions seem to be missing some needed information or not up to date.

The best directions I found; no time to really try the directions
http://www.cppgameprogramming.com/newforums/viewtopic.php?f=5&t=1965

Note: By best I do NOT mean the directions are really that good; just that the others seemed worse.

Tim S.

seanfcarney:
Tim,

Thanks for even attempting.

Compiler that came with my c::b is "tdm-mingw-1.908.0-4.4.1-2" in c:/codeblocks/mingw

Although I did dl Mingw 5.1.6 and it is in C:/mingw

BTW I realized it did make a code::blocks project file which I tried to compile and got this error

-------------- Build: all in ALLEGRO ---------------

Using makefile: Makefile
Execution of 'make.exe -s -f Makefile all' in 'C:\allegro-5.0.7\allegro\build' failed.
Nothing to be done.

Maybe this will help identify my problem lol.

And yes, the instructions are ambiguous to say the least.

Thanks again, in advance.

stahta01:

--- Quote from: seanfcarney on November 04, 2012, 02:40:10 am ---Tim,

Thanks for even attempting.

Compiler that came with my c::b is "tdm-mingw-1.908.0-4.4.1-2" in c:/codeblocks/mingw

Although I did dl Mingw 5.1.6 and it is in C:/mingw

BTW I realized it did make a code::blocks project file which I tried to compile and got this error

-------------- Build: all in ALLEGRO ---------------

Using makefile: Makefile
Execution of 'make.exe -s -f Makefile all' in 'C:\allegro-5.0.7\allegro\build' failed.
Nothing to be done.

Maybe this will help identify my problem lol.

And yes, the instructions are ambiguous to say the least.

Thanks again, in advance.

--- End quote ---

The error is makefile related but, I am not sure what caused it.
My only guess is the target all does not exist in the makefile.

NOTE: Having a MinGW installation in "C:/mingw" will often or always result in ALL other installations of MinGW GCC not working correctly.

Tim S.

seanfcarney:
Hmmm understood.

Would getting the c:/mingw working for codeblocks be a better alternative than continuing with what came with c::b? 

Obviously, none of this is c::b's fault, but the allegro resources havent yielded any help.  Just makes me wonder if this library is worth it, or if I should just skip to using something like opengl and going right to 3d. I guess if I understood more about compilers and linkers etc... it would help.  It seems like MSVC is easier and that I could just c&p some pre compiled files into the MSVC.  I just like c::b's interface. 

Maybe someone on here has already gone through this misery and can enlighten me on how to get everything up and going.

Thanks for the help in advance

Navigation

[0] Message Index

[#] Next page

Go to full version