Author Topic: add .h file to project, but can not compile  (Read 2272 times)

Offline hongxing

  • Multiple posting newcomer
  • *
  • Posts: 60
add .h file to project, but can not compile
« on: October 26, 2005, 09:36:33 am »
I add a test.h file to my simplest console app, but when compiling, it says:
make: *** No rule to make target: .deps/test.h.d needed by 'depend_default' . stop.

I use cvs head C::B in Linux, how to resolve it, thanks!

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: add .h file to project, but can not compile
« Reply #1 on: October 26, 2005, 05:26:37 pm »
Try using the "invoke compiler directly".

Does it work? If not, please post the errors here.

If it does work, Then please use the "generate makefile" option to export to a makefile. Then try compiling with that makefile (select "use custom makefile" in the project properties), and see if it can compile.

In both cases, please post the full commandline log here.