From: Nobuyuki Horie Date: 2002-02-21T16:56:20+09:00 Subject: Re: Linking opengl under windows Hello, I've checked the situation of opengl module of ruby. My patch for opengl module is not necessary for latest version of rbogl (ver 0.32b). Sorry for confusing you. I downloaded binary package of glut v. 3.7.6 from http://www.xmission.com/~nate/glut.html and compiled opengl.so and glut.so. They works well in my system (Windows2000) with Ruby (v.1.6.5). On 2002 February 20 Wednesday 14:44, you wrote: > Continuing my masochistic quest to build Ruby under mswin32, I'm > trying to compile the opengl extension. > > I installed a 3.7 version of glut, copying the .lib files into > vc98\lib. I also copied .h to vc98\include and .dll to windows(or winnt)\system. > > I patched extconf.rb using the patch from > sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/opengl.mswin32.diff, > then ran it. When I then run nmake, I get three undefined symbols > when creating glut.lib: > > __imp____glutInitWithExit > __imp____glutCreateWindowWithExit > __imp____glutCreateMenuWithExit > > So, Windows fans, what am I forgetting to do? I think these errors come from incompatibility of glut32.lib and other (.h or .dll?) files. (I encountered something like this when I loaded new glut module form Ruby without rebooting system.) Good luck! Nobuyuki. -- ************************************** Nobuyuki Horie, Ph.D. Lab. Genetic Engineering/Univ. of Shizuoka mail: horie@smail.u-shizuoka-ken.ac.jp home page: http://www.u-shizuoka-ken.ac.jp