[Insight-developers] GlutImageViewer woes

Miller, James V (Research) millerjv@crd.ge.com
Wed, 16 Oct 2002 09:26:53 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C27517.B0DE6370
Content-Type: text/plain;
	charset="iso-8859-1"

Luis,
 
I tried to use the glut image viewer that you are piecing together.  I hit upon the following issues:

1.	Developer Studio .Net does not include glut in the default installation.  I didn't have my
CD's with me last night to see if it is somewhere on the installation disk.  However, given MS's
relationship with OpenGL, I would not be surprised if they no longer distribute glut.
2.	I downloaded a win32 binary installation of glut. FindGLUT.cmake of course did not find my
new installation, so I told CMakeSetup where the glut.lib was.  Unfortunately, the binary
installation of glut is just a directory with  "glut.h", "glut.lib", and a "glut.dll".  So when
GlutMaster tries to include "GL/glut.h" is cannot find glut.h because the header is not in a
subdirectory "GL".
3.	I don't think my FindGLUT.cmake file sets ups a variable for the defining where the include
directory for glut.h would be on a win32 system.
4.	FindGLUT.cmake defines GLUT_LIBRARY but your CMakeLists.txt file references GLUT_LIBRARIES

 After this I lost interest and went about using VTK to view my images. 

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv@research.ge.com <mailto:millerjv@research.ge.com> 

james.miller@research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

------_=_NextPart_001_01C27517.B0DE6370
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=777251513-16102002><FONT size=2>Luis,</FONT></SPAN></DIV>
<DIV><SPAN class=777251513-16102002><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=777251513-16102002><FONT size=2>I tried to use the glut image 
viewer that you are piecing together.&nbsp; I hit upon the following 
issues:</FONT></SPAN></DIV>
<OL>
  <LI><SPAN class=777251513-16102002><FONT size=2>Developer Studio .Net does not 
  include glut in the default installation.&nbsp; I didn't have my CD's with me 
  last night to see if it is somewhere on the installation disk.&nbsp; However, 
  given MS's relationship with OpenGL, I would not be surprised if they no 
  longer distribute glut.</FONT></SPAN></LI>
  <LI><SPAN class=777251513-16102002><FONT size=2>I downloaded a win32 binary 
  installation of&nbsp;glut. FindGLUT.cmake of course did not find my new 
  installation, so I told CMakeSetup where the glut.lib was.&nbsp; 
  Unfortunately, the binary installation of glut is just a directory with&nbsp; 
  "glut.h", "glut.lib", and a "glut.dll".&nbsp; So when GlutMaster tries to 
  include "GL/glut.h" is cannot find glut.h because the header is not in a 
  subdirectory "GL".</FONT></SPAN></LI>
  <LI><SPAN class=777251513-16102002><FONT size=2>I don't think my 
  FindGLUT.cmake file sets ups a variable for the defining where the include 
  directory for glut.h would be on a win32 system.</FONT></SPAN></LI>
  <LI><SPAN class=777251513-16102002><FONT size=2>FindGLUT.cmake defines 
  GLUT_LIBRARY but your CMakeLists.txt file references 
  GLUT_LIBRARIES</FONT></SPAN></LI></OL>
<P class=MsoNormal>&nbsp;<SPAN class=777251513-16102002><FONT size=2>After this 
I lost interest and went about using VTK to view my images. </FONT></SPAN></P>
<P class=Section1 style="MARGIN: 0in 0in 0pt"><B><SPAN 
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B> 
<BR><B><I><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &amp; 
Computer Vision</SPAN></EM><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE 
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY 
12301</EM><BR><BR></SPAN></I><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue"><A 
href="mailto:millerjv@research.ge.com">millerjv@research.ge.com</A></SPAN></U></EM></P>
<P class=Section1 style="MARGIN: 0in 0in 0pt"><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller@research.ge.com</SPAN></U></EM><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial 
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065, 
Fax: (518) 387-6981</SPAN></I> </P>
<P class=MsoNormal>&nbsp;<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C27517.B0DE6370--