Author Topic: can't build / run "helloworld" --> on vista 64bit?  (Read 5402 times)

kritkal

  • Guest
can't build / run "helloworld" --> on vista 64bit?
« on: December 31, 2008, 02:16:53 pm »
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

  • Guest
Re: can't build / run "helloworld" --> on vista 64bit?
« Reply #1 on: December 31, 2008, 04:46:32 pm »
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: can't build / run "helloworld" --> on vista 64bit?
« Reply #2 on: January 01, 2009, 12:44:53 pm »
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
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org