User forums > Using Code::Blocks

wxWidgets wizard project compile error

(1/1)

hongxing:
I use wxWidgets wizard to generate my project.
when use 'No head file options', is compiles well.

but when use 'with header file' option or 'use seperate wxApp, wxFrame files' option, when compiling, it says:
make: *** No rule to make target  '.deps/main.h.d' needed by 'depend_default'. stop.

why?
thanks!

hongxing:
in this bbs, someone say it can be resolved by set "invoke compiler directly", but when I set it, when compiling, it says:
"g++ cannot specify -o with -c or -S and multiple compilations"

seems that C::B 's make dependency has some problem?

Navigation

[0] Message Index

Go to full version