News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problems compiling with minigw/standard install.

Started by glenneaux, March 19, 2007, 07:47:46 AM

Previous topic - Next topic

glenneaux

Hey everyone

I've installed code::blocks with minigw and i'm under the impression that i can create a windows console program and should just be able to compile/run the stock code provided by code::blocks, this however is not the case.

The first problem i run into is:

Switching to target: default
Compiling: main.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory

I've mucked around and gotten past this point and end up running into the problem of not being able to find iostream. Once i point the compiler at that file i then get heaps of other errors.

now my point is I don't think i should be jumping through these hoops and assume somethings been missed along the way...

I'm running Windows Vista 64bit but dont think this should affect whats going on but i wouldnt be suprised.


If anyone's got any pointers or can help at all i'd really appreciate it.

thomas

Quote from: glenneaux on March 19, 2007, 07:47:46 AMI'm running Windows Vista 64bit but dont think this should affect whats going on but i wouldnt be suprised.
Yes, this does affect things. Vista just isn't compatible with anything...

I don't remember what you have to do (I think it was one path to add somewhere, or set an environment variable) but you'll find it by searching the forum for "Vista" - there are a few topics on that very problem.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

glenneaux

ah ok.

Didnt realise my problems were vista related.

Having said that I haven't had any problems running anything else with 64bit vista.

glenneaux

I looked around and foudn this:

http://forums.next.codeblocks.org/index.php/topic,4692.0.html

The last post has my problem, but like i said in my original post i make it to code::blocks can see that program but then i get more problems....

attatched is the log...



[attachment deleted by admin]