1 / 4

Install for 64bit

Install for 64bit. Glui2.36.zip 을 다운로드 src  msvc  glui.sin 파일을 Visual Studio 2010 으로 열기 _glui library 를 선택후 빌드 빌드시 다음과 같은 오류가 발생하면 error C2252: an explicit instantiation of a template can only occur at namespace scope

vadin
Download Presentation

Install for 64bit

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Install for 64bit • Glui2.36.zip을 다운로드 • src msvc  glui.sin 파일을 Visual Studio 2010으로 열기 • _glui library를 선택후 빌드 • 빌드시 다음과 같은 오류가 발생하면 • error C2252: an explicit instantiation of a template can only occur at namespace scope • 아래 코드를 짤라내어 GLUIAPI GLUI_CommandLine 함수 선언 위쪽에 붙여넣기 #ifdef _MSC_VER template class GLUIAPI std::allocator<GLUI_String>; template class GLUIAPI std::vector<GLUI_String, std::allocator<GLUI_String> >; #endif • src msvc lib 폴더에 생성된 gluiXXd.lib 를 gluiXX.lib로 이름 변경

  2. Install for 64bit • Header • glut.h, glui.h • C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include/GL • Library • glut32.lib, glut64.lib, glui32.lib, glui64.lib • C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/lib • DLL • glut32.dll, glut64.dll • C:/Windows/SysWOW64 • C:/Windows/ System32

  3. Installing GLUI using VC++ on windows • To install the glui, the glut must be installed first • Download glui library from http://glui.sourceforge.net/ • Under src directory u will find msvc directory, then open glui.sln file. • Convert the solution (if needed) • Converting the project solution into VC++ project • Select the _glui library and build the library • After building the library, the lib file (glui32d.lib), glui32d.lib – ‘d’ for debug, will be stored in the msvc\lib directory • Put the glui32.lib file into C:\Program Files\Microsoft Visual Studio 10.0\VC\lib directory • Put the glui.h file into C:\Program Files\Microsoft Visual Studio 10.0\VC\include directory

  4. For VS 2010

More Related