User forums > Help

add .h file to project, but can not compile

(1/1)

hongxing:
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!

rickg22:
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.

Navigation

[0] Message Index

Go to full version