Page 1 of 1

Cannot find file

Posted: Tue Nov 10, 2009 3:06 pm
by attes
i have created a project called "cppgyakorlat" and when i built this text was written in output tab:
Current working directory: /home/attes/.codelite/cppgyak/Release
Running program: xterm -title './cppgyakorlat ' -e '/bin/sh -f /usr/bin/codelite_exec ./cppgyakorlat '
Program exited with return code: 0

After that i clicked on the button "Run Active Project" and this text appeared within a console:

/usr/bin/codelite_exec: 22: ./cppgyakorlat: not found
Press ENTER to continue...

I'm new, this is my first project in codelite, and dont know what to do :(
Please help me.

Re: Cannot find file

Posted: Tue Nov 10, 2009 5:54 pm
by DavidGH
Hi attes,

If I understand you correctly, you built cppgyakorlat OK, and ran it OK once; but now it won't run again.

Did you accidentally click the 'Clean' button, which would have deleted it? Have a look inside /home/attes/.codelite/cppgyak/Release/ and see if cppgyakorlat and the *.o files are still there. If not, build it again.

If cppgyakorlat is where it's supposed to be, perhaps one of your project settings has changed. If you open the 'settings' dialog (right-click over the project icon, or click the tool above it (blue folder, green tick)) and make sure that 'Intermediate Directory' is set to ./Release, 'Output File' to $(IntermediateDirectory)/cppgyakorlat and 'Command' to ./cppgyakorlat.

Regards,

David

Re: Cannot find file

Posted: Wed Nov 11, 2009 2:52 am
by attes
Thanks for your answer David,
I checked the directory /home/attes/.codelite/cppgyak/Release and there are only *.o files. I rebuilt it so much times, but nothing changed.
The project settings áre OK. What am i supposed to do?

Re: Cannot find file

Posted: Wed Nov 11, 2009 9:01 am
by eranif
Can you rebuild your project and place the output of your build tab here, this will help us see what went wrong.
Eran