User forums > Help
Unable to Run a project
TDragon:
* Trash RC2. Delete it. You don't need it.
* Install MinGW. The 5.0.2 installer is good; C:\MinGW is generally a good place to install it. (Code::Blocks will autodetect it if you install it there.)
* Ensure that "C:\MinGW\bin" is in your PATH environment variable. If you don't know how, don't worry about it.
* Download and extract the codeblocks nightly build .7z and the wxmsw26u .7z files, to an entirely clean directory. If you don't have C:\MinGW\bin in your path, copy mingwm10.dll from there to the Code::Blocks directory.
* Run Code::Blocks.
ChrisC:
Thanks TDragon for the reply. As I suspected, I was missing something...
So, if I understand correctly:
* I delete the folder where RC2 is installed:
C:\Program Files\CodeBlocks\
* I install MinGW-5.0.2. Is it ok to install only the MinGW base tools and g++ compiler? I only code in C++ at the moment and don't have much space in my computer.
* Ensure that "C:\MinGW\bin" is in my PATH environment variable.
* Create a clean new directory:
C:\Program Files\CodeBlocks\
* Extract the contents of the Nightly build and copy wxmsw26u_gcc_cb.dll to the above folder.
* Run Code::Blocks.
Anything else I need to do?
Chris
MortenMacFly:
--- Quote from: ChrisC on April 25, 2006, 09:30:22 pm ---
* I install MinGW-5.0.2. Is it ok to install only the MinGW base tools and g++ compiler?
--- End quote ---
It is essential (good) to install these packages:
- mingw-runtime-3.9
- w32api-3.7
- binutils-2.16.91-20060119-1.tar.gz
- gcc-core-3.4.5-20060117-1.tar.gz
- gcc-g++-3.4.5-20060117-1.tar.gz
- gdb-6.3-2_snapshot
- mingw32-make-3.80.0-3
optional (if you like Fortran) you may install:
- gcc-g77-3.4.5-20060117-1.tar.gz
Anyway, please note that the version is the currently "most up-to-date" and may not be offered by the MinGW 5.0.2 installer. In that case eigther you choose the version that is offered by the installer or download and extract the packages manually from MinGW.org. Please note that the easiest way maybe to copy the appropriate folders from the C::B-RC2 folder as listed in my earlier post.
With regards, Morten.
ChrisC:
Thank you everyone for clarying things for me.
After following the above instructions, I was able to install Code::Blocks IDE separate from MinGW compiler.
Everything is working well and I'm now able to concentrate on learning C++.
Thanks again for all your help!
Chris
Navigation
[0] Message Index
[*] Previous page
Go to full version