Code::Blocks Forums
User forums => Help => Topic started by: neversion on July 26, 2007, 10:22:28 pm
-
everytime when i want to bulid and run it .
it give me:
Compiling: /Users/NS/Desktop/1.cpp
Linking console executable: /Users/NS/Desktop/1
Process terminated with status 0 (0 minutes, 9 seconds)
0 errors, 0 warnings
Checking for existence: /Users/NS/Desktop/1
Executing: xterm -T '/Users/NS/Desktop/1' -e "/Users/NS/Desktop/1" (in /Users/NS/Desktop)
Process terminated with status 255 (0 minutes, 0 seconds)
i use mac.
-
It looks to me like it's being built, even executed, but it exits immediately. Could you check the existence of /Users/NS/Desktop/1?
It would be great if you provided more information, like revision number and what that program was supposed to do.
-
thank for your reply :o
it just a test program:
#include<iostream>
using std::cout;
main()
{
cout<< "Hello";
return 0;
}
and i found that i can run the program by doubleclick it in desktop.
the cb version is CB_20061220_rev3402_macx86.zip. an i have tried CB_20061220_rev3402_macppc.zip, just
got the same problem.
but why can't i just run it in the code::block?
another question:
my mac is ibook g4 .but code::block is so slow?
-
Perhaps you don't have xterm installed, or you didn't check "Pause when execution ends" in the target options, or it's a bug in CB that has been or has not been fixed... I don't really know since I don't have a Mac to check that :(
Now, about CB being slow, it could be because of some plugins (once again, I'm not really sure about it) so you could try disabling a few that you don't use (and also Code Completion) and see if it's still being slow. You can do that thru Plugins -> Manage plugins...
Sorry for not being of greater help :(
-
You are using a very old version (it says 2006! that's a version one year old), in these times the mac version was far behind where it is now (even though keep in mind it's still not perfectlty intergrated)
http://developer.berlios.de/project/showfiles.php?group_id=5358
latest one is 4261
-
thank you for all of your help.
i will try the newer version and hope the problem will not come up again. :o :o