News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

[SOLVED] Problems with MinGW-gcc4.4.0 instalation

Started by DanRR, July 25, 2009, 04:32:24 PM

Previous topic - Next topic

DanRR

Hello,
I've installed the new MinGW-gcc4.4.0 version.
When opening and building projects with CB I got the following error message:
Header : "cc1plus.exe - Unable To Locate Component"
Message: "This application has failecl to start because libgmp-3.dll was not founcl. Re-installing the application may fix this problem."
I found and downloaded this dll and then got the following message:
Header : "cc1plus.exe - Unable To Locate Component"
Message: "This application has failecl to start because libmpfr-1.dll was not founcl. Re-installing the application may fix this problem."
I didn't found this one, but obviously there is something wrong with my installation.

I'm using Windows XP and CodeBlocks build 5459 (I've also tested the new 5696 build and got the same error)
I've installed the following MinGW packages:
'binutils-2.19.1-mingw32-bin.tar.gz',
'gcc-core-4.4.0-mingw32-bin.tar.gz',
'gcc-c++-4.4.0-mingw32-bin.tar.gz',
'mingwrt-3.15.2-mingw32-dev.tar.gz',
'mingwrt-3.15.2-mingw32-dll.tar.gz',
'w32api-3.13-mingw32-dev.tar.gz',
'mingw32-make-3.81-20080326-3.tar.gz',
'gdb-6.8-mingw-3.tar.bz2',
'mingw-utils-0.3.tar.gz'

Whats wrong with my instillation? How can I fix it?
Thanks  

ollydbg

you can search the MinGW maillist, there are some message about your problem these days.
But this is not related to Codeblocks. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

DanRR

Thanks ollydbg,
I fixed it, the problem was missing packages.

If someone will have installation problems with this release, here is a Python script
for a working installation, you can also check that for the required packages:

#!/usr/bin/env python
import tarfile

files = [ 'binutils-2.19.1-mingw32-bin.tar.gz',
            'gcc-core-4.4.0-mingw32-bin.tar.gz',
            'gcc-core-4.4.0-mingw32-dll.tar.gz',
            'gcc-c++-4.4.0-mingw32-bin.tar.gz',
            'gcc-c++-4.4.0-mingw32-dll.tar.gz',
            'gmp-4.2.4-mingw32-dll.tar.gz',
            'mpfr-2.4.1-mingw32-dll.tar.gz',
            'pthreads-w32-2-8-0-src.tar.gz',
            'mingwrt-3.15.2-mingw32-dev.tar.gz',
            'mingwrt-3.15.2-mingw32-dll.tar.gz',
            'w32api-3.13-mingw32-dev.tar.gz',
            'mingw32-make-3.81-20080326-3.tar.gz',
            'gdb-6.8-mingw-3.tar.bz2',
            'mingw-utils-0.3.tar.gz']

for file in files:
    print 'Extracting', file
    tar = tarfile.open(file)
    tar.extractall('C:\MinGW')
    tar.close()
print 'Done'