Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Simple installation of 4.2.2 on code:blocks. Help requested

This thread is locked; no one can reply to it. rss feed Print
Simple installation of 4.2.2 on code:blocks. Help requested
SpectreNectar
Member #10,969
May 2009
avatar

Windows vista, allegro 4.2.2 (although I see 4.2.3 is out??), code::blocks 10.05, mingw-get-inst-20100909 (the one with the blue logo that has sys written on it)

I got the stupid idea to update code::blocks to it's latest release (10.05).
So I uninstalled my current version as well as mingw.

Starting out with installing codeblocks-10.05mingw-setup.exe that I downloaded today.
Then I realized that it wasn't mingw but the program itself I had installed and followed this guide as I did last time:
http://wiki.allegro.cc/index.php?title=Code::Blocks

I went over it a couple of times getting an error when I did this every time:

Quote:

FIX.BAT mingw
MINGW32-MAKE.EXE
MINGW32-MAKE.EXE DEBUGMODE=1
MINGW32-MAKE.EXE install
MINGW32-MAKE.EXE install DEBUGMODE=1

The error occured running MINGW32-MAKE.EXE was in summary:
recipe commences before first target

As I have made this work before, my environment vars should be ok, although I did try and change:
C:\MinGW\bin;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\QuickTime\QTSystem\
to
C:\MinGW\bin
in PATH

(and probably messed something up really good doing so)

I followed all links on the page from the allegro wiki, so every file should be OK. Installing MinGW I clicked these checkboxes:
C++ compiler
ObjC compiler

(and also tried without and with just c++ compiler)

I don't have a clue what I'm doing :)

Help appreciated (again). Thank you very very much.
Also, ask if you need any relevant info.

Yodhe23
Member #8,726
June 2007

Allegro 4.4.1 is out as the last stable release of the Allegro 4 branch afaik.

www.justanotherturn.com

SpectreNectar
Member #10,969
May 2009
avatar

Thank you for your quick reply. Is there an official installation guide that covers this version? (and works)

Yodhe23
Member #8,726
June 2007

Would it help to install code:blocks first, and then just use/import function for devpaks to install allegro 4.4.1?

Sorry I can't help more as I am still a dev-cpp user, and haven't made the plunge into a "modern" IDE like code:blocks yet...

www.justanotherturn.com

SpectreNectar
Member #10,969
May 2009
avatar

Fair enough.
I don't think Code::Blocks can do like Dev C++ and add Allegro like you suggest (I remember it - it was very convenient), but that would have been nice...

Also, I still need to tell Code::Blocks what compiler to use, so it wouldn't solve everything.

Timorg
Member #2,028
March 2002

You need the dev-pack plugin, and it is not installed by default, I can't work out where you would get it from.

Here are some instructions for installing code::blocks, mingw and 4.2.2 which should put you in the right direction.

You don't really need to compile allegro from source though, you could grab a binary from http://www.allegro.cc/files/

To set the location of MinGW you want to go Pull Down Menu->Settings->Compiler and debugger... Then go to the "Toolchain Executables" tab, and you can Auto-Detect there, if that fails you will have to browse and select the directory.

____________________________________________________________________________________________
"c is much better than c++ if you don't need OOP simply because it's smaller and requires less load time." - alethiophile
OMG my sides are hurting from laughing so hard... :D

Neil Walker
Member #210
April 2000
avatar

Do you not just have the library files, all you've done is updated the IDE. Failing that, just get one of the pre-built binaries (if there is one).

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Timorg
Member #2,028
March 2002

I just downloaded the nightly build and exported the devpack plugin, it doesnt work with 8.02 (I just realised how old a version of Code::Blocks I am using. :-/ ) I have attached the plugin install package. As it may work with the current stable version.

____________________________________________________________________________________________
"c is much better than c++ if you don't need OOP simply because it's smaller and requires less load time." - alethiophile
OMG my sides are hurting from laughing so hard... :D

SpectreNectar
Member #10,969
May 2009
avatar

It works now I think. Great that you don't have to set linker settings to use Allegro in 10.05.

Thanks people.

Go to: