Author Topic: The project ... has no configurations that support automatic makefile generation  (Read 2540 times)

nick_info

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
This is a small test c project with two c files and 1 header. Running on Linux Fedora.

If I change from 'Build Without a Makefile' to 'Build with an auto-maintained...' I get the following error when I hit OK.



What am I missing out? I can't find any documentation or forums posts on this (I searched!).

If I go back into project preferences it seems that the 'makefile' field and the build line have been changed appropriately for the 'auto-maintained' option, but no makefile is ever generated, and so when I then do 'Build' or 'Rebuild' the build output then reports (as expected) that test4.mak doesn't exist.

An example small c project with working makefile generation would be lovely. Failing that a bit of a step-by-step for a SlickEdit newbie would be great. :) I am evaluating this program with aims to my company acquiring some licenses and everything else has been spot on so far!

Thanks for your help.
-Nick

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
In SlickEdit, it is very important to pick the correct project type when you create a new Project/Workspace (Project > New). For what you are trying to do, you can start with either the "Generic C/C++" project type or the "GNU C/C++ Wizard".

With these project types, you should easily be able to select the "Build with an auto-generated, auto-maintained makefile" on the Build tab. When you change that radio button, be sure to click "OK". It will make changes to the rest of the form that otherwise could cause problems. Yes, you will then need to reopen Project > Project Properties to make additional changes.

After creating the Project/Workspace, you can now add your files using Project > Project Properties and selecting the Files tab.

If this doesn't work, please let me know what kind of project type you created. You can attach your .vpw and .vpj files so I can try them. Do let me know if this helps. 

--Scott


nick_info

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
Ah thanks, that's great! I started from scratch using the wizard and all worked no problem! Thanks for the speedy response :)