Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » setting up

Credits go to aj5555, Arthur Kalliokoski, Edgar Reynaldo, emupaul, GullRaDriel, LennyLen, Mark Oates, OICW, and Ron Novy for helping out!
This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
setting up
William Labbett
Member #4,486
March 2004
avatar

Mark - maybe I'll try that later.

env.txt is attached.

edit :- sorry, I obviously failed to.

Arthur Kalliokoski
Second in Command
February 2005
avatar

Where? I don't see the paperclip thing

[EDIT] I'm out of time

They all watch too much MSNBC... they get ideas.

Mark Oates
Member #1,146
March 2001
avatar

I find it advantageous since I still have old programs I did in Dev-C++, so it's not a waste of space. :)

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

William Labbett
Member #4,486
March 2004
avatar

Mark - Yeah, at least Dev-C++ is simple, and I guess now it's frozen in time.

LennyLen
Member #5,313
December 2004
avatar

Quote:

Oh hey, you know what I did? Uninstall everything, install Dev-Cpp (with MinGW), then install the latest version of Code::Blocks from the nightly build dealie, and it automatically found the MinGW installed from Dev-Cpp.

If you have MinGW set up properly, Code::Blocks will detect it anyway. Plus, the version of gcc that comes with Dev-C++ is outdated.

Quote:

I find it advantageous since I still have old programs I did in Dev-C++, so it's not a waste of space.

Code::Blocks can import Dev-C++ projects.

William Labbett
Member #4,486
March 2004
avatar

Is it that MINGDIR is wrong ?

Quote:

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\william labbett\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=YET-Q7KGXS5BGGV
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\william labbett
LOGONSERVER=\\YET-Q7KGXS5BGGV
MINGDIR=C:\Dev-Cpp
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WbemC:\Dev-Cpp\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\WILLIA~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\WILLIA~1\LOCALS~1\Temp
USERDOMAIN=YET-Q7KGXS5BGGV
USERNAME=william labbett
USERPROFILE=C:\Documents and Settings\william labbett
windir=C:\WINDOWS

LennyLen
Member #5,313
December 2004
avatar

Quote:

Is it that MINGDIR is wrong ?

If you have MinGW installed somewhere other than C:\Dev-Cpp, then probably.

William Labbett
Member #4,486
March 2004
avatar

I changed the MINGDIR variable to what I think it should be and tried compiling helloworld and got

Linking console executable: bin\Release\colour_converter.exe
Execution of 'mingw32-g++.exe  -o bin\Release\colour_converter.exe obj\Release\main.o   -s' in 'C:\codeblocks\1stproject\colour_converter' failed.
Nothing to be done.

...once again, so that wasn't the problem.

i know this muzt be really irratating but I do appreciate your
help, so if you think you can help me, please do.
I don't want to go and join a bhuddist monastry
to try to get rid of my desires (at least not yet).

LennyLen
Member #5,313
December 2004
avatar

Try manually executing "mingw32-g++.exe -o bin\Release\colour_converter.exe obj\Release\main.o -s" from the command line in the "C:\codeblocks\1stproject\colour_converter" directory and see if you get any error messages.

William Labbett
Member #4,486
March 2004
avatar

I get :-

minw32-g++.exe is not recognised as an internal or external command, operable program or batch file.

LennyLen
Member #5,313
December 2004
avatar

Three options:

1) Go to Settings->Compiler and Debugger->Toolchain Executable and change the C++ compiler option to g++.exe.

2) Go to the MinGW\bin directory and rename g++.exe to mingw32-g++.exe.

3) Install the latest version of MinGW.

William Labbett
Member #4,486
March 2004
avatar

Thanks.

First up I should say that my project is in C (not C++).

I tried your second option and couldn't find g++.exe in the mingw32\bin directory.

LennyLen
Member #5,313
December 2004
avatar

Quote:

I tried your second option and couldn't find g++.exe in the mingw32\bin directory.

It should be in the mingw\bin directory, not the mingw\mingw32\bin directory.

William Labbett
Member #4,486
March 2004
avatar

Thanks.
Appears I don't have a mingw directory. All I have is a mingw32 directory.
I used MinGW32-5.1.3 .
Maybe that was the wrong choice ?

LennyLen
Member #5,313
December 2004
avatar

Does your mingw32 directory contain another directory called mingw32?

William Labbett
Member #4,486
March 2004
avatar

Sorry I'm late.
The answer to your question is no.

LennyLen
Member #5,313
December 2004
avatar

In that case, the installer didn't install everything.

You can find a guide to manually installing the latest stable release here.

William Labbett
Member #4,486
March 2004
avatar

Thanks. I'll get on it and let you know how I get on.

LennyLen
Member #5,313
December 2004
avatar

Good luck.

William Labbett
Member #4,486
March 2004
avatar

Still busy, but wondered if it was worth mentioning that although I downloaded all the files in the list my directory structure has one folder missing from the structure shown on that page.

http://www.allegro.cc/files/attachment/594202

The directory ringed in green is missing from my structure.

LennyLen
Member #5,313
December 2004
avatar

I don't have that one either, so no worries.

William Labbett
Member #4,486
March 2004
avatar

Well I've managed to compile hello world :)

Next I tried a simple allegro program but although I've installed the allegro devpak I get this compiler error :-

allegro.h no such file or directory.

So I'm stuck again.

LennyLen
Member #5,313
December 2004
avatar

Have you tried using Windows file search to locate where allegro.h is?

William Labbett
Member #4,486
March 2004
avatar

It's in

C:\Devpaks\include

Should I reinstall the devpak somewhere else ?

LennyLen
Member #5,313
December 2004
avatar

Just copy all the Allegro files from the Devpaks directory to the MinGW directory, ensuring that they're in the same subdirectory.

 1   2   3 


Go to: