由买买提看人间百态

topics

全部话题 - 话题: freeglut
(共0页)
q********g
发帖数: 10694
1
来自主题: _Molecular_Simulation版 - 怎样安装lammps自带的前后处理软件pizza
作者:richiefhf
相关搜索: pizza, lammps, 软件
我用的是Ubuntu8.04安装的pizza.py;用了半个月时间,终于把这个所谓的pizza.py给
初步搞定
1.到官方网站下载pizza的安装包后,对照doc下面的manual,按照上面的步骤进行安装。
2.往往在装pyopengl的时候会出现一些头疼问题,下面仅对安装这个pyopengl的问题进
行说明。对照页面http://pyopengl.sourceforge.net/documentation/installation.html
a.确保Setuptools,Numeric,Freeglut,PIL,GLE都已经安装好(都装最新版),没有的
可以在源库里面搜到,直接安装就行。
b.有个Togl的安装比较恶心,附件里会有一个预编译Togl的安装包,直接将这个Togl2.
0和里面的几个文件拷的相应的文件夹。具体:#把所有在 include下面的文件拷贝到
usr/lib/include
把文件夹Togl2.0和文件libToglstub2.0.a拷贝到 /usr/lib
3.在所有软件包都安装好后(... 阅读全帖
h***i
发帖数: 427
2
if possible, how? I am using glutMainLoopEvent from freeglut. However, my pr
ogram runs into difficulty. Does anybody have some sample code?
Btw, my problem is that it has following error when stepping in glutMainLoop
Event(). But I have glutInit(&argc,argv) already.
freeglut ERROR: Function called without first calling
'glutInit'
p***o
发帖数: 1252
3
来自主题: Programming版 - 学习VC++求教
VC6+MFC? That's what people learn 10+ years ago ...
If by visualization you mean drawing dots, line segments, and polygons,
just spend a few afternoons learn the basics of OpenGL and get freeglut
to start coding.
G*****7
发帖数: 1759
4
i myself havent worked on an industrial-strength project that targets
multiple platforms. but i know that Qt is one such example. they have files
like qwidget_win.cpp, qwidget_x11.cpp and some common, platform-independent
code.
or, come to think of it, freeglut is one such examples, too. there must be
window drawing or GL code handling multiple platforms.
(共0页)