GLUI配置

转载 2013年02月28日 20:18:31

VS2012亲测,基本相似。。。

下面是Alfie对于VS2005以及VS2008用户最完美的解决方案:

 

1. Install opengl, and make sure it works out.

 

2. Download "glui-2.35.zip" (http://glui.sourceforge.net/#download)

 

3. In "glui-2.35/glui-2.35/src/include/GL",you get glui.h.

   creat file C:/Program Files/Microsoft Visual Studio 9.0/VC/include/GL, and put "glui.h" there.

 

4. in "glui-2.35/glui-2.35/src/msvc", click "glui.dsw" (load and open).

 

5. in the project Properties: -> C/C++ -> Preprocessor -> Preprocessor definitions and append GLUT_BUILDING_LIB to the existing definitions, seperated by semicolons.

 

6. in the project Properties: -> C/C++ -> Code Generation -> Runtime Library, and chang it to "Multi-threaded DLL(/MD)" or "Multi-threaded Debug DLL(/MDd)"(Latter one is Better).

 

7. run project "_glui library", then you get "glui32.lib" in a new "lib" file. Put glui32.lib in "C:/Program Files/Microsoft Visual Studio 9.0/VC/lib".

 

8. Now you can open an example of GLUI, and repeat step 5 and 6.

Then, Click the menu item "Project" --> "Properties...". Click "Linker" --> "Input" .

Type in Additional Dependencies: glui32.lib glut32.lib glu32.lib opengl32.lib

(Tag1: glui32.lib is only neccesary when you are using GLUI, but make sure there's glui32.lib when you are actually using GLUI).(Tag2: GLUI User Manual mentions that this is the proper order of specifying additional libraries for GLUI, GLUT and OpenGL)

 

9. Enjoy.

相关文章推荐

glui

如何在OpenGL基础上配置好GLUI?网上以及GLUI自带文档都是不详细且有问题的,特别是对于VS2005,以及VS2008的用户,通常会产生一些exit()重定义问题,以及enternal sym...

GLUI库的配置

下面是Alfie对于VS2005以及VS2008用户最完美的解决方案: 1. Install opengl, and make sure it works out. 2. Download "glui...
  • xxhwhp
  • xxhwhp
  • 2011-03-12 09:27
  • 2081

glui配置文件压缩包

  • 2017-05-27 11:21
  • 607KB
  • 下载

glui配置文件

  • 2017-04-04 20:21
  • 165KB
  • 下载

开源项目之C++界面库 GLUI

GLUI是一个C++界面库,它提供了buttons, checkboxes, radio buttons, 等常用控件,以及OPENGL支持。GLUI界面系统依赖于GLUT来处理窗口、和鼠标管理等,而...

glui32.lib

  • 2012-12-16 16:26
  • 10.26MB
  • 下载

界面库GLUI

  • 2012-09-14 19:56
  • 743KB
  • 下载

spring boot使用thymeleaf模板配置和freem

整体步骤: (1)            在pom.xml中引入thymeleaf; (2)            如何关闭thymeleaf缓存 (3)   ...

GLUI静态库

  • 2014-03-04 19:50
  • 2.50MB
  • 下载

OpenGL中所有glui

  • 2016-04-24 22:36
  • 607KB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)