anjuta自动生成的make file少了一个参数,害我查了半天的原因。
编译的方法: g++ `wx-config –libs –cxxflags` hello.cpp -o hello
若使用了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>
<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:
Notify me of followup comments via e-mail
若使用了opengl,可以这样编译:
g++ `wx-config –libs –cxxflags gl` -lGL -lGLU xxx.cpp -o xxx