User forums > Help

can't build / run "helloworld" --> on vista 64bit?

(1/1)

kritkal:
Hi there,

having only programed in delphi up till now, i have decided to learn c - and then move onto c++ once ive mastered c. yesturday i downloaded and installed minGW, wrote a simple program in notebook (just a copied helloworld program) and tried to compile it. after multiple attempts i failed.

so today i have tried to use codeblocks. i haven't changed it from the default hello world program code. when i try to run/build it, it comes up with a message "project has not been built yet do u want to build it now, i press yes and this keeps coming up.  if i click build-->build, i get a message :

-------------- Build: Debug in helloworld ---------------

Linking console executable: bin\Debug\helloworld.exe
Execution of 'mingw32-g++.exe  -o bin\Debug\helloworld.exe obj\Debug\main.o' in 'C:\Users\mark\Documents\c\helloworld' failed.
Nothing to be done.


i am using vista 64-bit and i think this might be the problem?

i have changed the path and added C:\MinGw\bin; to the end of it.

cheers for any help,
kritikal

kritkal:
have i posted this thread in the right section? im not sure if their is a seperate windows/linux - in the readme thread it said their was but i cant find it.

anyway if minGW / code blocks isn't compatible with vista 64-bit, does anybody know any C / C++ compliers that are?

cheers

stahta01:
Did you upgrade to the newest 3.4.5 minGW Compiler on the MinGW website? If not, do so and try using it.

Tim S

Navigation

[0] Message Index

Go to full version