ARToolKit | Mailing List Archive |
![]() |
From: | Pedro Cervantes-Pintor <pedrocp@u ......> | Received: | Apr 11, 2005 |
To | <artoolkit-list@h ..................> | ||
Subject: | GLUT Warning... on OSX | ||
I'm new on OSX (version installed 10.3.8). I have the latest version of artoolkit (CVS). = Every time I try to run an ARToolkit/GLUT based program I get this messag= e: = GLUT Warning: glutInit being called a second time. =2E..And the program hangs = Any idea why is this happening? Thanks. Pedro Cervantes |
From: | tenankesi <tenankesii@y ........> | Received: | Apr 12, 2005 |
To | artoolkit@h .................. | ||
Subject: | Re: GLUT Warning... on OSX | ||
--0-485060835-1113361965=:83108 Content-Type: text/plain; charset=us-ascii hi, please take me out of this mailing list thanks Pedro Cervantes-Pintor <pedrocp@u ......> wrote: I'm sorry if you see this message duplicated (not sure about it). I'm using the latest version of ARToolKit on Mac OSX 10.3.8. When i try to run mk_patt, calib_camera, simpleTest, etc. i get this message: GLUT Warning: glutInit being called a second time. ...And the program hangs just before opening the main window and after asking for camera settings. However the programs simpleLite and simpleVRML works very well. I tryied 2 older versions of ART on the same machine a few months ago and simpleTest2, simplVRML ran just fine. I belive this could be a bug, but maybe im doing something very stupid. Can somebody point me in the right direction? Thanks in advance. Pedro Cervantes-Pintor --------------------------------- Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. --0-485060835-1113361965=:83108 Content-Type: text/html; charset=us-ascii <DIV>hi, please take me out of this mailing list</DIV> <DIV>thanks<BR><BR><B><I>Pedro Cervantes-Pintor <pedrocp@u ......></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I'm sorry if you see this message duplicated (not sure about it).<BR><BR>I'm using the latest version of ARToolKit on Mac OSX 10.3.8. <BR><BR>When i try to run mk_patt, calib_camera, simpleTest, etc. i get this message:<BR>GLUT Warning: glutInit being called a second time.<BR><BR>...And the program hangs just before opening the main window and after asking<BR>for camera settings.<BR><BR>However the programs simpleLite and simpleVRML works very well. <BR><BR>I tryied 2 older versions of ART on the same machine a few months ago and<BR>simpleTest2, simplVRML ran just fine.<BR><BR>I belive this could be a bug, but maybe im doing something very stupid. Can<BR>somebody point me in the right direction?<BR><BR>Thanks in advance.<BR>Pedro Cervantes-Pintor<BR><BR><BR></BLOCKQUOTE><p> <hr size=1>Yahoo! Mail Mobile<br> <a href="http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo.com/learn/mail">Take Yahoo! Mail with you!</a> Check email on your mobile phone. --0-485060835-1113361965=:83108-- |
From: | Pedro Cervantes-Pintor <pedrocp@u ......> | Received: | Apr 12, 2005 |
To | <artoolkit@h ..................> | ||
Subject: | GLUT Warning... on OSX | ||
I'm sorry if you see this message duplicated (not sure about it). I'm using the latest version of ARToolKit on Mac OSX 10.3.8. = When i try to run mk_patt, calib_camera, simpleTest, etc. i get this mess= age: GLUT Warning: glutInit being called a second time. =2E..And the program hangs just before opening the main window and after = asking for camera settings. However the programs simpleLite and simpleVRML works very well. = I tryied 2 older versions of ART on the same machine a few months ago and= simpleTest2, simplVRML ran just fine. I belive this could be a bug, but maybe im doing something very stupid. C= an somebody point me in the right direction? Thanks in advance. Pedro Cervantes-Pintor |
From: | Philip Lamb <phil@e ..........> | Received: | Apr 13, 2005 |
To | Pedro Cervantes-Pintor <pedrocp@u ......> | ||
Subject: | Re: GLUT Warning... on OSX | ||
Pedro et al., Its a bug in the toolkit, not an error on your part. Its caused by the non-conformant way that the ARgsub library calls glut. (This was part of the reason why ARgsub_lite was written, to avoid non-conformant use of glut.) It looks as if some change, either in glut on OS X 10.3.8 or perhaps in the ARTK video library means that a new work-around is required in order to keep programs that use ARgsub (e.g. simpleTest) working on OS X. I am working on this. It may be a few days until I have a fix tested and packaged. In the meantime, suggest you base your code around gsub_lite rather than gsub (see simpleLite, twoView, or simpleVRML for example usage.) Phil On 13/04/2005, at 2:29 PM, Pedro Cervantes-Pintor wrote: > I'm sorry if you see this message duplicated (not sure about it). > > I'm using the latest version of ARToolKit on Mac OSX 10.3.8. > > When i try to run mk_patt, calib_camera, simpleTest, etc. i get this > message: > GLUT Warning: glutInit being called a second time. > > ...And the program hangs just before opening the main window and after > asking > for camera settings. > > However the programs simpleLite and simpleVRML works very well. > > I tryied 2 older versions of ART on the same machine a few months ago > and > simpleTest2, simplVRML ran just fine. > > I belive this could be a bug, but maybe im doing something very > stupid. Can > somebody point me in the right direction? > > Thanks in advance. > Pedro Cervantes-Pintor > > Philip Lamb Research Student, Human Interface Technology Laboratory New Zealand, University of Canterbury, Christchurch, NZ. +64 3 3642987 x3070 |
From: | Philip Lamb <phil@e ..........> | Received: | Apr 14, 2005 |
To | artoolkit@h .................. | ||
Subject: | Re: GLUT Warning... on OSX | ||
Hi all, A fix for this bug is now in CVS. Simple instructions on how to configure a CVS client to get the latest ARToolKit source from CVS are at http://sourceforge.net/cvs/?group_id=116280 . I will package a release once I have tested for side effects on Windows and Linux. Regards, Phil. On 13/04/2005, at 3:25 PM, Philip Lamb wrote: > Pedro et al., > > Its a bug in the toolkit, not an error on your part. > > Its caused by the non-conformant way that the ARgsub library calls > glut. (This was part of the reason why ARgsub_lite was written, to > avoid non-conformant use of glut.) It looks as if some change, either > in glut on OS X 10.3.8 or perhaps in the ARTK video library means that > a new work-around is required in order to keep programs that use > ARgsub (e.g. simpleTest) working on OS X. > > I am working on this. It may be a few days until I have a fix tested > and packaged. In the meantime, suggest you base your code around > gsub_lite rather than gsub (see simpleLite, twoView, or simpleVRML for > example usage.) > > Phil > > On 13/04/2005, at 2:29 PM, Pedro Cervantes-Pintor wrote: > >> I'm sorry if you see this message duplicated (not sure about it). >> >> I'm using the latest version of ARToolKit on Mac OSX 10.3.8. >> >> When i try to run mk_patt, calib_camera, simpleTest, etc. i get this >> message: >> GLUT Warning: glutInit being called a second time. >> >> ...And the program hangs just before opening the main window and >> after asking >> for camera settings. >> >> However the programs simpleLite and simpleVRML works very well. >> >> I tryied 2 older versions of ART on the same machine a few months ago >> and >> simpleTest2, simplVRML ran just fine. >> >> I belive this could be a bug, but maybe im doing something very >> stupid. Can >> somebody point me in the right direction? >> >> Thanks in advance. >> Pedro Cervantes-Pintor >> >> > Philip Lamb > Research Student, > Human Interface Technology Laboratory New Zealand, > University of Canterbury, Christchurch, NZ. > +64 3 3642987 x3070 > Philip Lamb |