Reputation: 11
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
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
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