freeglut 3.0.0-1.mp for MSVC
This package contains freeglut import libraries, headers, and Windows DLLs.
These allow 32 and 64 bit GLUT applications to be compiled on Windows using
Microsoft Visual C++.
For more information on freeglut, visit http://freeglut.sourceforge.net/.
Installation
Create a folder on your PC which is readable by all users, for example
C:\Program Files\Common Files\MSVC\freeglut\ on a typical Windows system. Copy
the lib\ and include\ folders from this zip archive to that location.
The appropriate freeglut DLL can either be placed in the same folder as your
application, or can be installed in a system-wide folder which appears in your
%PATH% environment variable. Be careful not to mix the 32 bit DLL up with the 64
bit DLL, as they are not interchangeable.
Compiling 32 bit Applications
To create a 32 bit freeglut application, create a new Win32 C++ project in MSVC.
From the Win32 Application Wizard, choose a Windows application, check the
Empty project box, and submit.
Youll now need to configure the compiler and linker settings. Open up the
project properties, and select All Configurations (this is necessary to ensure
our changes are applied for both debug and release builds). Open up the
general section under C/C++, and configure the include\ folder you created
above as an Additional Include Directory. If you have more than one GLUT
package which contains a glut.h file, its important to ensure that the
freeglut include folder appears above all other GLUT include folders.
Now open up the general section under Linker, and configure the lib\
folder you created above as an Additional Library Directory. A freeglut
application depends on the import libraries freeglut.lib and opengl32.lib,
which can be configured under the Input section. However, it shouldnt be
necessary to explicitly state these dependencies, since the freeglut headers
handle this for you. Now open the Advanced section, and enter mainCRTStartup
as the Entry Point for your application. This is necessary because GLUT
applications use main as the application entry point, not WinMainwithout it
youll get an undefined reference when you try to link your application.
Thats all of your project properties configured, so you can now add source
files to your project and build the application. If you want your application to
be compatible with GLUT, you should #include <GL/glut.h>. If you want to use
freeglut specific extensions, you should #include <GL/freeglut.h> instead.
Dont forget to either include the freeglut DLL when distributing applications,
or provide your users with some method of obtaining it if they dont already
have it!
Compiling 64 bit Applications
Building 64 bit applications is almost identical to building 32 bit applications.
When you use the configuration manager to add the x64 platform, its easiest to
copy the settings from the Win32 platform. If you do so, its then only necessary
to change the Additional Library Directories configuration so that it
references the directory containing the 64 bit import library rather
than the 32 bit one.
Problems?
If you have problems using this package (compiler / linker errors etc.), please
check that you have followed all of the steps in this readme file correctly.
Almost all of the problems which are reported with these packages are due to
missing a step or not doing it correctly, for example trying to build a 32 bit
app against the 64 bit import library. If you have followed all of the steps
correctly but your application still fails to build, try building a very simple
but functional program (the example at
http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/ works fine
with MSVC). A lot of people try to build very complex applications after
installing these packages, and often the error is with the application code or
other library dependencies rather than freeglut.
If you still cant get it working after trying to compile a simple application,
then please get in touch via http://www.transmissionzero.co.uk/contact/,
providing as much detail as you can. Please dont complain to the freeglut guys
unless youre sure its a freeglut bug, and have reproduced the issue after
compiling freeglut from the latest SVN versionif thats still the case, Im
sure they would appreciate a bug report or a patch.
Changelog
20150722: Release 3.0.0-2.mp
Modified the freeglut_std.h file so that it doesnt try to link against the
freeglutd.lib import library.
20150315: Release 3.0.0-1.mp
First 3.0.0 MSVC release. Ive built the package using Visual Studio 2013,
and the only change Ive made is to the DLL version resourceIve changed
the description so that my MinGW and MSVC builds are distinguishable from
each other (and other builds) using Windows Explorer.
Transmission Zero
20150722
http://www.transmissionzero.co.uk/
没有合适的资源?快使用搜索试试~ 我知道了~
Python openGL库
共2000个文件
py:1984个
c:9个
txt:7个
需积分: 3 0 下载量 195 浏览量
2023-08-17
15:12:37
上传
评论
收藏 13.9MB ZIP 举报
温馨提示
适合于Python3.11 64位 使用方法参考:https://blog.csdn.net/lwbCUMT/article/details/132340500?spm=1001.2014.3001.5501
资源推荐
资源详情
资源评论
收起资源包目录
Python openGL库 (2000个子文件)
wrapper.c 1.26MB
arraydatatype.c 1.06MB
vbo.c 691KB
numpy_formathandler.c 448KB
buffers_formathandler.c 313KB
formathandler.c 298KB
errorchecker.c 275KB
latebind.c 266KB
nones_formathandler.c 213KB
_glgets.py 142KB
_glgets.py 142KB
wrapper.py 73KB
direct_state_access.py 32KB
GLES2_2_0.py 29KB
GLES1_1_0.py 28KB
path_rendering.py 24KB
path_rendering.py 24KB
get_gl_extensions.py 23KB
test_core.py 22KB
codegenerator.py 22KB
path_rendering.py 22KB
images.py 21KB
VERSION_3_2.py 20KB
vbo.py 19KB
GL_2_0.py 17KB
GLES2_2_0.py 17KB
__init__.py 16KB
framebuffer_object.py 16KB
baseplatform.py 16KB
gl_spirv.py 16KB
xmlreg.py 15KB
GL_1_0.py 14KB
pointers.py 14KB
special.py 14KB
arraydatatype.py 14KB
gengl.py 13KB
converters.py 12KB
__init__.py 12KB
test_arraydatatype.py 12KB
separate_shader_objects.py 11KB
freeglut.py 11KB
openglgenerator.py 10KB
shader_objects.py 10KB
numpymodule.py 10KB
fixed_point.py 10KB
glunurbs.py 10KB
GL_4_1.py 10KB
GLES3_3_0.py 10KB
os_egl.py 9KB
tess.py 9KB
error.py 9KB
extensions.py 9KB
debug.py 9KB
debug.py 9KB
debug.py 9KB
_types.py 9KB
vertex_program.py 9KB
vertex_program.py 9KB
shaders.py 9KB
texture_shader.py 9KB
vertex_array_range.py 9KB
debug.py 8KB
debug.py 8KB
imaging.py 8KB
exceptional.py 8KB
robustness.py 8KB
GLES1_1_0.py 8KB
fixed_point.py 8KB
fixed_point.py 8KB
lists.py 8KB
debug.py 7KB
get_gles_extensions.py 7KB
vertex_buffer_object.py 7KB
arrayhelpers.py 7KB
separate_shader_objects.py 7KB
check_egl_pygame.py 7KB
GLES3_3_1.py 7KB
images.py 7KB
uniform_buffer_object.py 7KB
test_evaluators.py 7KB
framebuffer_object.py 7KB
framebuffer_object.py 7KB
test_tess.py 6KB
gpu_program5.py 6KB
generateraw.py 6KB
gpu_shader4.py 6KB
gpu_shader5.py 6KB
GL_4_3.py 6KB
gpu_shader5.py 6KB
GL_3_0.py 6KB
client_storage.py 6KB
gpu_shader5.py 6KB
shader_buffer_load.py 6KB
texture_compression.py 6KB
vertex_shader.py 6KB
GL_1_5.py 6KB
tiled_rendering.py 6KB
tiled_rendering.py 6KB
tests.py 6KB
shaders.py 6KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
DP+GISer
- 粉丝: 1151
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (matlab源码)基于Elman神经网络的电力负荷预测模型MATLAB实现
- 微信小程序源码 趣味互动机器人 - 机器人兔兔下载
- 2022年全国各区县年平均气温
- 05-16 周四 vscode 搭建远程调试环境
- (matlab源码)基于SOM神经网络的柴油机故障诊断MATLAB实现
- 1950-2022年全国各省份逐年平均降水数据
- (matlan源码)粒子群算法的寻优算法MATLAB实现
- MTB095N10KRN3-VB一款SOT23封装N-Channel场效应MOS管
- (MATLAB源码)灰色神经网络对订单需求预测分析与MATLAB实现 (2)
- (matlab源码)基于BP-Adaboost的强分类器设计与MATLAB实现
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功