Cannot find file

CodeLite installation/troubleshooting forum
attes
CodeLite Curious
Posts: 2
Joined: Tue Nov 10, 2009 2:55 pm
Genuine User: Yes
IDE Question: c++
Contact:

Cannot find file

Post 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.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Cannot find file

Post 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
attes
CodeLite Curious
Posts: 2
Joined: Tue Nov 10, 2009 2:55 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Cannot find file

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot find file

Post 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
Make sure you have read the HOW TO POST thread
Post Reply