开发者

wxWidgets and Dev-C++

I've been using Bloodshed Dev-C++ for C++ programing for a while now. I'd like to get into GUI programing in C++. So I installed wxWidget and tried a simple hello world program, yet I get the following error:

\Dev-Cpp\gui_at0.cpp C:\Dev-Cpp\C wx/wx.h: No such file or directory. 

I'm pretty sure this error is due to the wx f开发者_Go百科older not being in the right directory. Currently it's in C:. So where does it need to be moved to? Or is something else at play?


Uff, long time since I worked with Dev-C++, but basically you need to tell your compiler where to find the wxWidgets library. It should be somewhere around Compiler Options -> Include Directories or the likes. Also see here. If you can't find those options, another way to get it working is to copy the wxWidgets library to the include paths mentioned in the FAQ.
IIRC there even is a Dev-C++ version with directly integrated wxWidgets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜