Imran Zafar
Imran Zafar

Reputation: 11

Wx widgets resource file error

I am facing this annoying error "Fatal error rc1015: cannot open include file wx/msw/rcdefs.h".

I am on Windows 10 and visual studio 12. Anybody has an idea about this.

Thanks

Upvotes: 1

Views: 566

Answers (2)

Reza
Reza

Reputation: 3919

If you are using Visual Studio, Go to the

Project -> Properties -> Resources -> General -> Additional Include Directories

and add the include path of wxwidget (wxwidgets path/include) to it.

Upvotes: 0

VZ.
VZ.

Reputation: 22688

You have almost surely (because you don't say that you did it, when this would really be the first thing to check) forgot to specify the correct include paths for your resource compiler. Just add $(WXWIN)/include to the list of directories searched by it.

Upvotes: 1

Related Questions