|
setting up |
William Labbett
Member #4,486
March 2004
|
Mark - maybe I'll try that later. env.txt is attached. edit :- sorry, I obviously failed to.
|
Arthur Kalliokoski
Second in Command
February 2005
|
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
|
I find it advantageous since I still have old programs I did in Dev-C++, so it's not a waste of space. -- |
William Labbett
Member #4,486
March 2004
|
Mark - Yeah, at least Dev-C++ is simple, and I guess now it's frozen in time.
|
LennyLen
Member #5,313
December 2004
|
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
|
Is it that MINGDIR is wrong ? Quote:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
|
LennyLen
Member #5,313
December 2004
|
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
|
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
|
LennyLen
Member #5,313
December 2004
|
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
|
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
|
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
|
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
|
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
|
Thanks.
|
LennyLen
Member #5,313
December 2004
|
Does your mingw32 directory contain another directory called mingw32?
|
William Labbett
Member #4,486
March 2004
|
Sorry I'm late.
|
LennyLen
Member #5,313
December 2004
|
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
|
Thanks. I'll get on it and let you know how I get on.
|
LennyLen
Member #5,313
December 2004
|
Good luck.
|
William Labbett
Member #4,486
March 2004
|
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
|
I don't have that one either, so no worries.
|
William Labbett
Member #4,486
March 2004
|
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
|
Have you tried using Windows file search to locate where allegro.h is?
|
William Labbett
Member #4,486
March 2004
|
It's in C:\Devpaks\include Should I reinstall the devpak somewhere else ?
|
LennyLen
Member #5,313
December 2004
|
Just copy all the Allegro files from the Devpaks directory to the MinGW directory, ensuring that they're in the same subdirectory.
|
|
|