Page 1 of 1
building my project in no errors but I can't see
Posted: Sun Apr 10, 2011 2:41 pm
by merena
Building my project in no errors but I can't see,
I am using Ubuntu 10.4, CodeLite IDE run > Create new workspace > Create new project > Console > g++
Code: Select all
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}
after, run(and i am ubuntu os not installed "wine") >
thank you..
Re: building my project in no errors but I can't see
Posted: Mon Apr 11, 2011 1:29 pm
by DavidGH
Hi,
In the background of your image, it's possible to read some of gdb's output; this begins "No executable file specified..."
That means either that CodeLite's settings are wrong for building, so you didn't create an executable file; or, more likely, that they are wrong for debugging, so gdb isn't looking in the right place. Looking carefully at the output of Build, and earlier in the Debug output, should tell you which of these is the problem.
To cure the problem, you'll need to open the 'Project Settings' dialog and look at the settings. The 'new project' wizard will have provided something like:
Output File: $(IntermediateDirectory)/$(ProjectName)
Intermediate Folder: ./Debug
Program: ./$(ProjectName)
Working Folder: $(IntermediateDirectory)
If your settings look considerably different, try altering them.
Regards,
David
Re: building my project in no errors but I can't see
Posted: Thu May 12, 2011 4:49 pm
by veiks81
Just wanted to mention that what ever you do during installation one thing you should seriously consider is to have no spaces in your installation path. I'm currently also new in CodeLite users group and my first installation was more than ok, no errors what so ever, but after tons of successful project buildings there was actually non builded applications. Every time i hit F7 (build project) CodeLite shows green ok but there was still nothing to execute. So my fix was complete uninstall and reinstall to path with no single spaces. Now i'm happy user.
edit: I had my problems with spaces in path on windows 7 but no problems at all on ubuntu 10.04.
B.R.
Veiko
Re: building my project in no errors but I can't see
Posted: Thu May 12, 2011 5:43 pm
by eranif
merena wrote:I am using Ubuntu 10.4, CodeLite IDE run
Your codelite version is very outdated .. (I think those icons were replaced 8 or maybe 9 months ago)
Any tip / suggestions I may give you here is useless unless you upgrade your codelite.
My advise:
Upgrade your codelite and try it. (one of the changes is that the xterm is no longer used for the console application output, instead codelite is using its own console)
Eran