编译wxWindow程序

anjuta自动生成的make file少了一个参数,害我查了半天的原因。

编译的方法:
g++ `wx-config –libs –cxxflags` hello.cpp -o hello

This entry was posted in Linux, Program and tagged , . Bookmark the permalink.

One Response to 编译wxWindow程序

  1. wlx [微博 ] says:

    若使用了opengl,可以这样编译:
    g++ `wx-config –libs –cxxflags gl` -lGL -lGLU xxx.cpp -o xxx

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string hgIEtX to the field below:

以新浪微博帐号登录