Ecere SDK/eC Forums
http://ecere.com/forums/
Print view

Debugging error - no make file
http://ecere.com/forums/viewtopic.php?f=2&t=137
Page 1 of 1
Author:  Sharhebe [ Mon Mar 28, 2011 3:56 pm ]
Post subject:  Debugging error - no make file

Hi, I'm having a problem with my new ecere prog. I try building my project using the Debug configuration, but it keeps telling me that no such file or directory exists. I've uploaded a screenshot of the problem. Help please.
Author:  richard567 [ Mon Mar 28, 2011 9:01 pm ]
Post subject:  Re: Debugging error - no make file

Hi Sharhebe,

I am not an Admin and I am new to Ecere and just an amateur programmer but I think I had the same problem on my first project initially.

Try removing spaces out of the filename(s) for the .epj and related files, etc. I think that corrected my compile issue. NOTE -- I would recommend if you try this to recreate your project in another folder but leave out the spaces in all file names, folder names, etc. as you recreate the project. That way, if I am wrong, you still have your original. The default Ecere install folder name also contains spaces but that was not a problem.

Otherwise maybe change directory settings under Project>>Settings.

Hope that helps.

Richard
Author:  jerome [ Mon Mar 28, 2011 10:08 pm ]
Post subject:  Re: Debugging error - no make file

Dear Sharhebe,

Yes the problem is that you have a space in the project file name, and that is not supported.
Many thanks Richard for pointing that out!

There is a registered issue about this ( http://ecere.com/mantis/view.php?id=156 ) which states we should either make it work, or not let the user do it. My apologies that this is still not fixed.

The solution: Delete the .epj file you created. Please create a new project, this time starting with a letter, and sticking to alphanumeric characters or the underscore for the rest of the project name. Tick off the 'Create new form' checkbox.
Avoiding spaces in the source files (.ec files) would be a good idea as well.
Then right click on the project node (e.g. 'myProject.epj (Debug)') and chose 'Add files to project', chose your existing .ec files, and try building the project again.

The Ecere Tao of Programming recommends avoiding spaces on page 6.

Remember: don't hesitate to ask for help here if you get stuck again.

Cheers,

Jerome
Author:  Sharhebe [ Sat Apr 02, 2011 6:32 am ]
Post subject:  Re: Debugging error - no make file

Ok, I'll try that. Thanx very much.
All times are UTC-05:00 Page 1 of 1