From owner-info-inventor-dev@oss.sgi.com Thu Feb 1 00:31:13 2001 Received: by oss.sgi.com id ; Thu, 1 Feb 2001 00:30:54 -0800 Received: from skylla.rus.uni-stuttgart.de ([141.58.231.9]:64907 "EHLO skylla.rus.uni-stuttgart.de") by oss.sgi.com with ESMTP id ; Thu, 1 Feb 2001 00:30:38 -0800 Received: from ifp.uni-stuttgart.de (sensor.ifp.uni-stuttgart.de [141.58.125.33]) by skylla.rus.uni-stuttgart.de with ESMTP id JAA07196; Thu, 1 Feb 2001 09:30:25 +0100 (MET) env-from (jan.boehm@ifp.uni-stuttgart.de) Received: from ifp.uni-stuttgart.de (keil [141.58.125.13]) by ifp.uni-stuttgart.de (8.8.8/8.8.8) with ESMTP id JAA23074; Thu, 1 Feb 2001 09:30:21 +0100 (MET) Message-ID: <3A791E9F.3514BB54@ifp.uni-stuttgart.de> Date: Thu, 01 Feb 2001 09:30:23 +0100 From: Jan =?iso-8859-1?Q?B=F6hm?= X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: de, en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Re: Building on Solaris? References: <200101161853.KAA35788@kinabalu.csd.sgi.com> Content-Type: multipart/mixed; boundary="------------BC59F535C2B7F0244443ED27" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing This is a multi-part message in MIME format. --------------BC59F535C2B7F0244443ED27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry, I was out of the office for two weeks. It seems that I created the wrong impression I had gotten everything to work on Solaris. That is not the case. I was able to change the code in a way that made the compiler accept it syntactically, i.e. no more compiler errors. Now I am turning to linking and after that to functionality. I will keep posting to this list when (if) I make progress. Jan -- ----------------------------------------------------------------- _/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc. _/_/_/ _/ _/_/ Institut fuer Photogrammetrie _/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart _/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24 _/ _/ D-70174 Stuttgart ----------------------------------------------------------------- Tel : +49-711-121-4110 Email : jan.boehm@ifp.uni-stuttgart.de Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de ----------------------------------------------------------------- --------------BC59F535C2B7F0244443ED27 Content-Type: text/x-vcard; charset=us-ascii; name="jan.boehm.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jan Böhm Content-Disposition: attachment; filename="jan.boehm.vcf" begin:vcard n:Böhm;Jan tel;fax:+49 711 121 3297 tel;work:+49 711 121 4110 x-mozilla-html:FALSE org:University of Stuttgart;Institute for Photogrammetry version:2.1 email;internet:Jan.Boehm@ifp.uni-stuttgart.de title:Dipl.-Inform. M.Sc. adr;quoted-printable:;;Geschwister-Scholl-Str. 24=0D=0A=0D=0A;70174 Stuttgart;;;Germany x-mozilla-cpt:;25128 fn:Jan Böhm end:vcard --------------BC59F535C2B7F0244443ED27-- From owner-info-inventor-dev@oss.sgi.com Thu Feb 1 05:56:14 2001 Received: by oss.sgi.com id ; Thu, 1 Feb 2001 05:56:05 -0800 Received: from skylla.rus.uni-stuttgart.de ([141.58.231.9]:60059 "EHLO skylla.rus.uni-stuttgart.de") by oss.sgi.com with ESMTP id ; Thu, 1 Feb 2001 05:55:48 -0800 Received: from ifp.uni-stuttgart.de (sensor.ifp.uni-stuttgart.de [141.58.125.33]) by skylla.rus.uni-stuttgart.de with ESMTP id OAA28130 for ; Thu, 1 Feb 2001 14:55:45 +0100 (MET) env-from (jan.boehm@ifp.uni-stuttgart.de) Received: from ifp.uni-stuttgart.de (keil [141.58.125.13]) by ifp.uni-stuttgart.de (8.8.8/8.8.8) with ESMTP id OAA14338 for ; Thu, 1 Feb 2001 14:55:42 +0100 (MET) Message-ID: <3A796AE0.59B7E5@ifp.uni-stuttgart.de> Date: Thu, 01 Feb 2001 14:55:44 +0100 From: Jan =?iso-8859-1?Q?B=F6hm?= X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: de, en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Re: Building on Solaris? References: <200101161853.KAA35788@kinabalu.csd.sgi.com> Content-Type: multipart/mixed; boundary="------------12191DFB1AA9260B36AA6B8B" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing This is a multi-part message in MIME format. --------------12191DFB1AA9260B36AA6B8B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit So the good news is I built the first examples (4view & ivclock). The bad news is they give me a segmentation fault :( The segmentation fault occurs in the call form = XmCreateForm(mainWindow, "form", NULL, 0); and is reported by the debugger to take place in _XmGetFocusData (). My Sun came with Motif 1.2. Unfortunately I can not put as much time into this as I wished. So my status for now is: - floorf, sqrtf etc. are not available on Sun. The ivcommondefs give the impression the symbol _DOUBLE_MATH_ONLY can be used to solve this. However in the file mymath.h it is rather the symbols LIBRARYBUILD, STANDALONE and GLBUILD which control the compilation of floorf and others. I changed the file mymath.h accordingly. - I cannot build shared libraries libInventor.so and libInventorSoXt.so only statics. I have no idea why. I have messages from another Sun user with the same problem. - multiple defined symbols from libFL (can be dealt with by -z muldefs): > c++ -D_DOUBLE_MATH_ONLY Main.o ClassDef.o Man.o Reader.o Writer.o BuildIssues.o /home/keil/jan/sw/OpenInventor/inventor/lib/libInventor.a /home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a -lXt -lXm -lX11 -lGLU -lGL -ljpeg -ldl -o ivman ld: fatal: symbol `flUniGetBitmap' is multiply defined: (file BuildIssues.o and file /home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a(fl.o)); ld: fatal: symbol `flUniGetOutline' is multiply defined: (file BuildIssues.o and file /home/keil/jan/sw/OpenInventor/libFL_sparc/libFL.a(fl.o)); ld: fatal: File processing errors. No output written to ivman collect2: ld returned 1 exit status - multiple defined symbol (warning only): ../../../../../lib/database/include/Inventor/SbTime.h:140: warning: `INT32_MAX' redefined So long for now, Jan -- ----------------------------------------------------------------- _/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc. _/_/_/ _/ _/_/ Institut fuer Photogrammetrie _/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart _/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24 _/ _/ D-70174 Stuttgart ----------------------------------------------------------------- Tel : +49-711-121-4110 Email : jan.boehm@ifp.uni-stuttgart.de Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de ----------------------------------------------------------------- --------------12191DFB1AA9260B36AA6B8B Content-Type: text/x-vcard; charset=us-ascii; name="jan.boehm.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jan Böhm Content-Disposition: attachment; filename="jan.boehm.vcf" begin:vcard n:Böhm;Jan tel;fax:+49 711 121 3297 tel;work:+49 711 121 4110 x-mozilla-html:FALSE org:University of Stuttgart;Institute for Photogrammetry version:2.1 email;internet:Jan.Boehm@ifp.uni-stuttgart.de title:Dipl.-Inform. M.Sc. adr;quoted-printable:;;Geschwister-Scholl-Str. 24=0D=0A=0D=0A;70174 Stuttgart;;;Germany x-mozilla-cpt:;25128 fn:Jan Böhm end:vcard --------------12191DFB1AA9260B36AA6B8B-- From owner-info-inventor-dev@oss.sgi.com Fri Feb 2 10:40:59 2001 Received: by oss.sgi.com id ; Fri, 2 Feb 2001 10:40:49 -0800 Received: from mail.disney.com ([204.128.192.15]:6075 "EHLO mail.disney.com") by oss.sgi.com with ESMTP id ; Fri, 2 Feb 2001 10:40:35 -0800 Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f12Ie7p21246 for ; Fri, 2 Feb 2001 10:40:07 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP for info-inventor-dev@oss.sgi.com; Fri, 2 Feb 2001 10:41:12 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id KAA29570 for ; Fri, 2 Feb 2001 10:40:31 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Received: from bacon.fan.fa.disney.com (bacon.fan.fa.disney.com [153.7.118.228]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id KAA23265 for ; Fri, 2 Feb 2001 10:40:31 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Date: Fri, 2 Feb 2001 10:40:30 -0800 From: Rasmus Tamstorf X-Sender: tamstorf@bacon.fan.fa.disney.com To: info-inventor-dev@oss.sgi.com Subject: select method in SoSensorMgr.c++ Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hi, I was trying to build inventor under FreeBSD and found that SoSensorMgr.c++ uses the 'select' function. According to the man page for 'select' on both IRIX, Linux and FreeBSD, you must include #include #include #include in order to use it. However, at the moment, neither is included directly, so to make life a little easier on other OS'es I suggest to include them. The IRIX man page also mentions #include but SoSensorMgr.c++ seems to do without it, and it isn't needed on the other platforms. Rasmus ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Fri Feb 2 15:50:12 2001 Received: by oss.sgi.com id ; Fri, 2 Feb 2001 15:50:02 -0800 Received: from jalon.able.es ([212.97.163.2]:41175 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Fri, 2 Feb 2001 15:49:47 -0800 Received: from correo.able.es ([212.97.169.28]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G85M7G00.JKE; Sat, 3 Feb 2001 00:50:04 +0100 Date: Sat, 3 Feb 2001 00:49:38 +0100 From: "J . A . Magallon" To: Rasmus Tamstorf Cc: info-inventor-dev@oss.sgi.com Subject: Re: select method in SoSensorMgr.c++ Message-ID: <20010203004938.E2962@werewolf.able.es> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from tamstorf@fa.disney.com on Fri, Feb 02, 2001 at 19:40:30 +0100 X-Mailer: Balsa 1.1.0 Content-Length: 1049 Lines: 32 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.02 Rasmus Tamstorf wrote: > Hi, > > I was trying to build inventor under FreeBSD and found that > SoSensorMgr.c++ uses the 'select' function. According to the man page for > 'select' on both IRIX, Linux and FreeBSD, you must include > > #include > #include > #include > > in order to use it. However, at the moment, neither is included directly, > so to make life a little easier on other OS'es I suggest to include them. > > The IRIX man page also mentions > > #include > > but SoSensorMgr.c++ seems to do without it, and it isn't needed on the > other platforms. > That can be because IRIX compiler defaults the select return value to int, and gcc is more pedantic (as it has to be, a function without declaration is like a garden without flowers...). -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.1-ac1 #2 SMP Fri Feb 2 00:19:04 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 13:14:47 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 13:14:28 -0800 Received: from moat.pweh.com ([192.54.250.131]:32206 "EHLO moat.pweh.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 13:14:21 -0800 Received: (from uucp@localhost) by moat.pweh.com (8.8.8/8.8.8) id QAA19297 for ; Thu, 8 Feb 2001 16:14:20 -0500 (EST) Received: from drawbridge.eh.pweh.com(191.29.71.250) by moat.pweh.com via smap (4.1) id xma019244; Thu, 8 Feb 01 16:14:10 -0500 Received: (from uucp@localhost) by drawbridge.eh.pweh.com (8.8.8/8.8.8) id QAA07845 for ; Thu, 8 Feb 2001 16:14:09 -0500 (EST) Received: from motors.pratt-whitney.com(192.168.4.72) by drawbridge.eh.pweh.com via smap (4.0a) id xma007666; Thu, 8 Feb 01 16:13:40 -0500 Received: (from uucp@localhost) by motors.pratt-whitney.com (8.10.0/8.10.0) id f18LDbw18706 for ; Thu, 8 Feb 2001 16:13:37 -0500 (EST) Received: from unknown(191.29.171.2) by motors.pratt-whitney.com via smap (V5.5) id xma018594; Thu, 8 Feb 01 16:13:27 -0500 Received: from ehposrv5.eh.pweh.com by pweh711.eh.pweh.com (SMI-8.6/SMI-SVR4) id QAA15824; Thu, 8 Feb 2001 16:13:26 -0500 Received: by ehposrv5.eh.pweh.com with Internet Mail Service (5.5.2650.21) id ; Thu, 8 Feb 2001 16:13:26 -0500 Message-ID: From: "Connolly, Steven V." To: "'info-inventor-dev@oss.sgi.com'" Subject: OpenInventor on SUN, X error Date: Thu, 8 Feb 2001 16:13:26 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing I ran into a problem, as I describe below, trying to get OpenInventor running on a SUN workstation. Any advice would be appreciated. - first off, somehow it is quite a thrill to participate in the open source movement, even if my contribution is quite meager! - all OpenInventor source compiled (albeit with many warnings) on my SUN ultra 10 with SunOS 5.8 (Solaris 8). Some slight changes were made to some of the src files (see below). - the libraries: "libInventor.a", "libInventorXt.a", "libimage.a", "libInventorWidget.a" were created. - "SceneViewer" was compiled and linked. - Upon execution of "SceneViewer", the following crash occurs: 273% ./SceneViewer X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 91 (X_QueryColors) Value in failed request: 0xc3b2ae Serial number of failed request: 624 Current serial number in output stream: 624 I am not well versed on the workings of X so this may be a show stopper for me. If you recognize this, please let me know. (thanks in advance!) I will look in the debugger to see where the crash occurs but if I dont see daylight at the end of the tunnel soon, I may have to pull the rip cord and bail out. - In case it may be helpful to others, here is a blurb of my findings to this date: - CHANGES: - the SUN C++ compiler does not like the ".c++" suffix so I had to rename such files to end in ".cc". - I had to "gut" all the methods in "SoTexture2.c++" since it included "jpeglib.h" which I did not find. (This means SoTexture2 is not usable but links ok). - I had to add "#include " to appropriate src files that call "floorf()", "cosf()", "atanf()", etc. If I get this running on the SUN and it is desirable to migrate these changes back to mother version, I can get a list of files. (We could use "#ifdef SomeSunThing".) - "#ifdef _sgi" is in some includes. (I know it's in "SbLinear.h", "SbTime.h", and "SbBasic.h" but I did not grep everywhere.) In "SbTime.h" I had to make the following change since INT32_MAX was already defined: #ifndef INT32_MAX <--- my addition. #ifndef __sgi #define INT32_MAX INT_MAX #endif // !__sgi #endif // svc <--- my addition. It probably should be looked at closely everywhere. - An extraneous include in "inventor/libSoXt/src/mixedMode" could not be found: "SoXtSlider.cc", line 61: Error: Could not open include file ." I commented out the include and no errors resulted. I am assuming it was not needed, possibly placed in there during some debugging? - The SUN compiler had trouble with "typedef float SbMat[4][4];" in "SbLinear.h". When a call is made to a method that passes a reference to an SbMat, the method is not found. The compiler somehow (erroneously?) is looking for a method with an arg of type "reference to a float[][4]" which is apparently different than a "reference to a float[4][4]". So, In "SbLinear.h", I replaced "typedef float SbMat[4][4];" with a more concrete definition as follows: struct float4vector { float vals[4][4] ; float* operator[](int index) const { return (float*) this->vals[index] ; } }; typedef float4vector SbMat ; Then some minor changes had to be made in a couple of methods that explicitely declared "float[4][4]" values instead of specifying the type "SbMat". "SbMatrix.c++::inverse()" passes the "SbMat" variable "invmat" to another method but delcares "invmat" explicitely as "float[4][4]". I made the following change: //float d, invmat[4][4], temp; // This line commented out!! float d, temp; // added this line!!! SbMat invmat ; // added this line!!! In "SoGLModelMatrixElement.c++", "SoGLProjectionMatrixElement.c++, "SoGLTextureMatrixElement.c++", "SoGLViewingMatrixElement.c++", "SoGLTextureMatrixElement.c++", I got the following compiler error: "line 85: Error: Cannot cast from const float4vector to float*." So I had to make changes like: // glMultMatrixf((float *) matrix.getValue()); // removed glMultMatrixf((float *) matrix.getValue()[0]); // added since an SbMatrix was now returned instead of a pointer to the first float value. - WARNINGS: - The bad news: there are many, many, many compiler warnings. (One file produced 139 of them.) The good news: there are only a few distinct warnings repeated many times. The scary news: Until they are cleaned up, I can just cross my fingers and hope the compiler does the "right" thing. - string literals. compiler wants pointers to them declared "const". ex: char* xx = "hello world" ; // bad const char* xx = "hello world" ; // good "SoPickStyle.cc", line 81: Warning: String literal converted to char* in formal argument typeName in call to SoFieldData::getEnumData(char*, int&, int*&, SbName*&). Over time this change can be implemented as files are touched. This requirement may be part of the latest C++ standard. - "Too few arguments" in "inventor/lib/interaction/src/draggers" (as well as other places): "SoTranslate2Dragger.cc", line 90: Warning: Too few arguments in macro SO__QUOTE. "Line 90" in the code (notice the missing arg!): "SO_KIT_ADD_CATALOG_ENTRY(translatorSwitch, SoSwitch, TRUE, geomSeparator, ,FALSE); I made no changes here. just crossed my fingers. - warnings about inexact declarations for callback functions. "SoShape.cc", line 881: Warning (Anachronism): Formal argument CallBackFunc of type extern "C" void(*)() in call to gluTessCallback(GLUtesselator*, unsigned, extern "C" void(*)()) is being passed void(*)(). This is somewhat scary. - Many warnings of the kind: "SoIndexedFaceSet.cc", line 345: Warning: materialBinding hides SoIndexedShape::materialBinding. I assume we will have to live with these for a very long time but you would think the compiler takes the appropriate and obvious action. - COMPILING: - I used compiler version: "CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0" (from "CC -V" command) - I had to specify "-DSUN_OGL_NO_VERTEX_MACROS" on the compile line for source files that called OpenGL routines using the scope operator (e.g. "::glColor4fv( p );"). Loosely speaking, SUN implements OpenGl calls indirectly through some sort of table of function pointers (via #define) "for performance reasons". The scope operator "::" says there is a global function to call which is not found and results in a compiler error. The "SUN_OGL_NO_VERTEX_MACROS" macro specifies that the actual OpenGl routines are to be accessed and fixes the problem. The alternative is to remove the scope operator from the OpenGl calls. - "SoText2.c++" and "SoText3.c++" have: #ifdef IRIX_6 ... #endif I did not define IRIX_6. - I specified "-DLIBRARYBUILD" for "lib/database/src/so/nodes/nurbs/head/*.h" files. (look for "#ifdef LIBRARYBUILD" in the files.) - sample compilation in directory "inventor/lib/database/src/so/nodes": CC -c -mt -DSUN_OGL_NO_VERTEX_MACROS -DLIBRARYBUILD SoShape.cc -I. -I../../../../../lib/database/include -I../../../../../lib/interaction/include -I../../../../../lib/nodekits/include -I../../../../../libSoXt/include -I../../../../../libSoXt/src -I../../../../../libFL/src -Inurbs/head -I/usr/include - I cant remember where, but I think the SUN documentation said to use the "-mt" flag (thread safe libraries) with OpenGL?. - LINKING: - use "-lsunmath" to link "floorf()", "cosf()", "atanf()", etc. - an excerpt from the "Makefile" in "inventor/apps/demos/SceneViewer": src_files = SceneViewer.cc SoSceneViewer.cc SvManipList.cc o_files = $(src_files:%.cc=%.o) CC -L../../samples/widgets \ // libInventorWidget.a -L../../../lib \ // libFL.a -L../../../lib/libFL/src \ // Inventor,InventorXt,image -L/usr/openwin/lib \ // X and OpenGL ${o_files} \ ../../../lib/interaction/src/SoInteraction.o \ // see NOTE below. -lInventorWidget -lInventor -lInventorXt -limage\ -lFL \ -lXm -lXt -lXext -lX11 \ -lGLU -lGL \ -lsunmath -ldl \ -o SceneViewer NOTE: "SoInteraction methods were not found in "libInventor.a" even though I archived them. so I just specified them directly (above) and it found them. I'm guessing it's the order I archived them into "libInventor.a" and can revisit that later. - That's all that come to mind. --------------------------- Steven Connolly CSC/Pratt & Whitney connolsv@pweh.com --------------------------- From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 13:24:47 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 13:24:28 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:46881 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 13:24:03 -0800 Received: from kinabalu.csd.sgi.com ([150.166.1.88]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id NAA09897 for ; Thu, 8 Feb 2001 13:24:01 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id NAA13054; Thu, 8 Feb 2001 13:22:27 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200102082122.NAA13054@kinabalu.csd.sgi.com> Subject: Re: OpenInventor on SUN, X error To: connolsv@pweh.com (Connolly, Steven V.) Date: Thu, 8 Feb 2001 13:22:27 -0800 (PST) Cc: info-inventor-dev@oss.sgi.com ('info-inventor-dev@oss.sgi.com') In-Reply-To: from "Connolly, Steven V." at Feb 08, 2001 04:13:26 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > - Upon execution of "SceneViewer", the following crash occurs: > > 273% ./SceneViewer > X Error of failed request: BadValue (integer parameter out of > range > for operation) > Major opcode of failed request: 91 (X_QueryColors) > Value in failed request: 0xc3b2ae > Serial number of failed request: 624 > Current serial number in output stream: 624 You could go to apps/samples/widgets and run componentTest to isolate the problem to a specific widget. What X visual are you using on your workstation? Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 14:04:57 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 14:04:48 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:42292 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 14:04:31 -0800 Received: from kinabalu.csd.sgi.com ([150.166.1.88]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id OAA00465 for ; Thu, 8 Feb 2001 14:04:30 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id OAA17915; Thu, 8 Feb 2001 14:02:54 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200102082202.OAA17915@kinabalu.csd.sgi.com> Subject: Re: OpenInventor on SUN, X error To: connolsv@pweh.com (Connolly, Steven V.) Date: Thu, 8 Feb 2001 14:02:54 -0800 (PST) Cc: info-inventor-dev@oss.sgi.com ('info-inventor-dev@oss.sgi.com') In-Reply-To: from "Connolly, Steven V." at Feb 08, 2001 04:13:26 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > - the SUN C++ compiler does not like the ".c++" suffix so I had to > rename such files to end in ".cc". How about making symbolic links instead? It's too much of a pain to rename all the files. > - I had to "gut" all the methods in "SoTexture2.c++" since it included > "jpeglib.h" which I did not find. (This means SoTexture2 is not > usable but links ok). You should be able to download the JPEG library and build it for Solaris. > - I had to add "#include " to appropriate src files that call > "floorf()", "cosf()", "atanf()", etc. If I get this running on the > SUN and it is desirable to migrate these changes back to mother > version, I can get a list of files. > (We could use "#ifdef SomeSunThing".) Try including that header in lib/database/include/Inventor/SbBasic.h. > - "Too few arguments" in "inventor/lib/interaction/src/draggers" > (as well as other places): > > "SoTranslate2Dragger.cc", line 90: Warning: Too few arguments > in macro SO__QUOTE. > > "Line 90" in the code (notice the missing arg!): > > "SO_KIT_ADD_CATALOG_ENTRY(translatorSwitch, SoSwitch, TRUE, > geomSeparator, ,FALSE); > > I made no changes here. just crossed my fingers. Picky preprocessor ... see database/include/Inventor/misc/SoBasic.h. > - warnings about inexact declarations for callback functions. > > "SoShape.cc", line 881: Warning (Anachronism): Formal argument > CallBackFunc of type extern "C" void(*)() in call to > gluTessCallback(GLUtesselator*, unsigned, extern "C" void(*)()) is > being passed void(*)(). So it's just saying that it's passing in a void(*)() instead of extern "C" void(*)()? > - Many warnings of the kind: > > "SoIndexedFaceSet.cc", line 345: Warning: materialBinding hides > SoIndexedShape::materialBinding. > > I assume we will have to live with these for a very long time but > you would think the compiler takes the appropriate and obvious > action. I believe the local variable takes precedence over the one defined in the parent class, so it shouldn't be a problem. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 14:09:48 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 14:09:28 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:41257 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 14:09:21 -0800 Received: from laplace.engr.sgi.com (laplace.engr.sgi.com [130.62.55.165]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA26128 for ; Thu, 8 Feb 2001 14:08:20 -0800 (PST) mail_from (naaman@laplace.engr.sgi.com) Received: from localhost (naaman@localhost) by laplace.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id OAA05899; Thu, 8 Feb 2001 14:08:04 -0800 (PST) Date: Thu, 8 Feb 2001 14:08:04 -0800 From: Alexandre Naaman To: Jonathan Lim cc: "Connolly, Steven V." , "'info-inventor-dev@oss.sgi.com'" Subject: Re: OpenInventor on SUN, X error In-Reply-To: <200102082202.OAA17915@kinabalu.csd.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu, 8 Feb 2001, Jonathan Lim wrote: > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > - the SUN C++ compiler does not like the ".c++" suffix so I had to > > rename such files to end in ".cc". > > How about making symbolic links instead? It's too much of a pain to rename all > the files. or ... define a new rule for the compiler and tell it how to go from a .c++ to a .o. A+, Alex. (ex-P&WC person :) -- Alexandre Naaman - naaman@sgi.com - La conformite est la mort de l'ame. From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 14:16:48 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 14:16:28 -0800 Received: from fullabull.cs.brown.edu ([128.148.32.100]:23038 "EHLO cs.brown.edu") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 14:16:17 -0800 Received: from poplar.cs.brown.edu (poplar.cs.brown.edu [128.148.38.3]) by cs.brown.edu (8.9.3/8.9.3) with ESMTP id RAA03025; Thu, 8 Feb 2001 17:15:49 -0500 (EST) From: Loring Holden Received: (from lsh@localhost) by poplar.cs.brown.edu (8.9.0/8.9.0) id RAA20539; Thu, 8 Feb 2001 17:16:02 -0500 (EST) Date: Thu, 8 Feb 2001 17:16:02 -0500 (EST) Message-Id: <200102082216.RAA20539@poplar.cs.brown.edu> To: jlim@kinabalu.csd.sgi.com, naaman@laplace.engr.sgi.com Subject: Re: OpenInventor on SUN, X error Cc: connolsv@pweh.com, info-inventor-dev@oss.sgi.com Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > - the SUN C++ compiler does not like the ".c++" suffix so I had to > > > rename such files to end in ".cc". > > > > How about making symbolic links instead? It's too much of a pain to > > rename all the files. > > or ... define a new rule for the compiler and tell it how to go from a > .c++ to a .o. It's not a Makefile issue, but a compiler problem, so this won't work. The compiler gives the following error: CC: Invalid input file name test.c++, no output generated for this file. The only way to deal w/ this is to use a different file suffix. Loring From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 14:20:48 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 14:20:28 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:64313 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 14:20:23 -0800 Received: from laplace.engr.sgi.com (laplace.engr.sgi.com [130.62.55.165]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id OAA03489 for ; Thu, 8 Feb 2001 14:29:38 -0800 (PST) mail_from (naaman@laplace.engr.sgi.com) Received: from localhost (naaman@localhost) by laplace.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id OAA07430; Thu, 8 Feb 2001 14:19:05 -0800 (PST) Date: Thu, 8 Feb 2001 14:19:05 -0800 From: Alexandre Naaman To: Loring Holden cc: Jonathan Lim , connolsv@pweh.com, info-inventor-dev@oss.sgi.com Subject: Re: OpenInventor on SUN, X error In-Reply-To: <200102082216.RAA20539@poplar.cs.brown.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu, 8 Feb 2001, Loring Holden wrote: > > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > > > - the SUN C++ compiler does not like the ".c++" suffix so I had to > > > > rename such files to end in ".cc". > > > > > > How about making symbolic links instead? It's too much of a pain to > > > rename all the files. > > > > or ... define a new rule for the compiler and tell it how to go from a > > .c++ to a .o. > > It's not a Makefile issue, but a compiler problem, so this won't work. The > compiler gives the following error: > CC: Invalid input file name test.c++, no output generated for this file. > > The only way to deal w/ this is to use a different file suffix. Well that sucks eh? :) Why not just switch platforms then? But seriously, you could define a rule that renamed the file to .cc just long enough to generate a .o? Or ... why not just use g++? A+, Alex. -- Alexandre Naaman - naaman@sgi.com - La conformite est la mort de l'ame. From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 14:55:49 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 14:55:29 -0800 Received: from moat.pweh.com ([192.54.250.131]:27119 "EHLO moat.pweh.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 14:55:06 -0800 Received: (from uucp@localhost) by moat.pweh.com (8.8.8/8.8.8) id RAA10005; Thu, 8 Feb 2001 17:55:01 -0500 (EST) Received: from drawbridge.eh.pweh.com(191.29.71.250) by moat.pweh.com via smap (4.1) id xmaa09959; Thu, 8 Feb 01 17:54:53 -0500 Received: (from uucp@localhost) by drawbridge.eh.pweh.com (8.8.8/8.8.8) id RAA03041; Thu, 8 Feb 2001 17:54:51 -0500 (EST) Received: from motors.pratt-whitney.com(192.168.4.72) by drawbridge.eh.pweh.com via smap (4.0a) id xma003011; Thu, 8 Feb 01 17:54:43 -0500 Received: (from uucp@localhost) by motors.pratt-whitney.com (8.10.0/8.10.0) id f18Msgw07475; Thu, 8 Feb 2001 17:54:42 -0500 (EST) Received: from unknown(191.29.171.2) by motors.pratt-whitney.com via smap (V5.5) id xma007397; Thu, 8 Feb 01 17:54:34 -0500 Received: from ehposrv5.eh.pweh.com by pweh711.eh.pweh.com (SMI-8.6/SMI-SVR4) id RAA03135; Thu, 8 Feb 2001 17:54:31 -0500 Received: by ehposrv5.eh.pweh.com with Internet Mail Service (5.5.2650.21) id ; Thu, 8 Feb 2001 17:54:32 -0500 Message-ID: From: "Connolly, Steven V." To: Loring Holden , "'Alexandre Naaman'" Cc: Jonathan Lim , info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error Date: Thu, 8 Feb 2001 17:54:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing I dont think the file suffixes should determine what environment is used (g++, etc.) and temporary copies can cause problems when an error stops the Makefile. Links are ok with me but I would have difficulty trying to update the GNUMakefile's that come with OpenInventor to do that. It might be easier to write some scripts that change the names. They only have to be executed once. > ---------- > From: Alexandre Naaman[SMTP:naaman@laplace.engr.sgi.com] > Sent: Thursday, February 08, 2001 5:19 PM > To: Loring Holden > Cc: Jonathan Lim; connolsv@pweh.com; info-inventor-dev@oss.sgi.com > Subject: Re: OpenInventor on SUN, X error > > On Thu, 8 Feb 2001, Loring Holden wrote: > > > > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > > > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > > > > > - the SUN C++ compiler does not like the ".c++" suffix so I > had to > > > > > rename such files to end in ".cc". > > > > > > > > How about making symbolic links instead? It's too much of a pain to > > > > rename all the files. > > > > > > or ... define a new rule for the compiler and tell it how to go from a > > > .c++ to a .o. > > > > It's not a Makefile issue, but a compiler problem, so this won't work. > The > > compiler gives the following error: > > CC: Invalid input file name test.c++, no output generated for this file. > > > > The only way to deal w/ this is to use a different file suffix. > > Well that sucks eh? :) > > Why not just switch platforms then? > > But seriously, you could define a rule that renamed the file to .cc just > long enough to generate a .o? > > Or ... why not just use g++? > > A+, > > Alex. > > -- > Alexandre Naaman - naaman@sgi.com - La conformite est la mort de l'ame. > From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 15:09:29 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 15:09:19 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:50774 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 15:09:01 -0800 Received: from laplace.engr.sgi.com ([130.62.55.165]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id PAA09034 for ; Thu, 8 Feb 2001 15:08:43 -0800 (PST) mail_from (naaman@laplace.engr.sgi.com) Received: from localhost (naaman@localhost) by laplace.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA08062; Thu, 8 Feb 2001 15:07:24 -0800 (PST) Date: Thu, 8 Feb 2001 15:07:24 -0800 From: Alexandre Naaman To: "Connolly, Steven V." cc: Loring Holden , Jonathan Lim , info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu, 8 Feb 2001, Connolly, Steven V. wrote: > > I dont think the file suffixes should determine what environment is used > (g++, etc.) and temporary copies can cause problems when an error stops the > Makefile. Links are ok with me but I would have difficulty trying to update > the GNUMakefile's that come with OpenInventor to do that. It might be easier > to write some scripts that change the names. They only have to be executed > once. find . -name \*.c++ -exec renameFiles {} \; where renameFiles is: #/bin/sh mv $1 `echo $1|cut -f1 -d.`.cc or something along those lines. A+, Alex. From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 15:53:09 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 15:53:00 -0800 Received: from mail.disney.com ([204.128.192.15]:59641 "EHLO mail.disney.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 15:52:42 -0800 Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f18NqDc00070 for ; Thu, 8 Feb 2001 15:52:13 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP; Thu, 8 Feb 2001 15:53:18 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA15903; Thu, 8 Feb 2001 15:52:39 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Received: from bacon.fan.fa.disney.com (bacon.fan.fa.disney.com [153.7.118.228]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id PAA12020; Thu, 8 Feb 2001 15:52:38 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Date: Thu, 8 Feb 2001 15:52:36 -0800 From: Rasmus Tamstorf X-Sender: tamstorf@bacon.fan.fa.disney.com To: Alexandre Naaman cc: "Connolly, Steven V." , Loring Holden , Jonathan Lim , info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error In-Reply-To: Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing I've actually had to deal with this problem too, and although it does require a lot of cvs check-in/outs I would vote for changing the filenames. It's really easy to write a little script like the one below to do the job, so it shouldn't be too painful. The only little detail is that the source code actually does #include of .c++ files in some places. These of course also have to be change, but a quick perl script can take care of that too. Rasmus On Thu, 8 Feb 2001, Alexandre Naaman wrote: > On Thu, 8 Feb 2001, Connolly, Steven V. wrote: > > > > > I dont think the file suffixes should determine what environment is used > > (g++, etc.) and temporary copies can cause problems when an error stops the > > Makefile. Links are ok with me but I would have difficulty trying to update > > the GNUMakefile's that come with OpenInventor to do that. It might be easier > > to write some scripts that change the names. They only have to be executed > > once. > > find . -name \*.c++ -exec renameFiles {} \; > > where renameFiles is: > > #/bin/sh > mv $1 `echo $1|cut -f1 -d.`.cc > > or something along those lines. > > A+, > > Alex. > > ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 16:06:40 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 16:06:20 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:27465 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 16:06:12 -0800 Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id QAA09532 for ; Thu, 8 Feb 2001 16:15:27 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id QAA19421; Thu, 8 Feb 2001 16:04:06 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200102090004.QAA19421@kinabalu.csd.sgi.com> Subject: Re: OpenInventor on SUN, X error To: tamstorf@fa.disney.com (Rasmus Tamstorf) Date: Thu, 8 Feb 2001 16:04:06 -0800 (PST) Cc: naaman@laplace.engr.sgi.com (Alexandre Naaman), connolsv@pweh.com (Connolly Steven V.), lsh@cs.brown.edu (Loring Holden), info-inventor-dev@oss.sgi.com In-Reply-To: from "Rasmus Tamstorf" at Feb 08, 2001 03:52:36 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu Feb 8 15:52:36 2001, tamstorf@fa.disney.com wrote: > > I've actually had to deal with this problem too, and although it does > require a lot of cvs check-in/outs I would vote for changing the > filenames. It's really easy to write a little script like the one below to > do the job, so it shouldn't be too painful. > > The only little detail is that the source code actually does #include of > .c++ files in some places. These of course also have to be change, but a > quick perl script can take care of that too. > > Rasmus Yeah, and some people would prefer .cpp, .cxx, and whatnot. I going to just keep it the way it is. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 16:33:10 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 16:32:51 -0800 Received: from mail.disney.com ([204.128.192.15]:174 "EHLO mail.disney.com") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 16:32:47 -0800 Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f190WIc25535 for ; Thu, 8 Feb 2001 16:32:18 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP; Thu, 8 Feb 2001 16:33:23 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id QAA25502; Thu, 8 Feb 2001 16:32:44 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Received: from bacon.fan.fa.disney.com (bacon.fan.fa.disney.com [153.7.118.228]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id QAA14816; Thu, 8 Feb 2001 16:32:44 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Date: Thu, 8 Feb 2001 16:32:43 -0800 From: Rasmus Tamstorf X-Sender: tamstorf@bacon.fan.fa.disney.com To: jlim@kinabalu.csd.sgi.com cc: naaman@laplace.engr.sgi.com, connolsv@pweh.com, lsh@cs.brown.edu, info-inventor-dev@oss.sgi.com Subject: Re: OpenInventor on SUN, X error In-Reply-To: <200102090004.QAA19421@kinabalu.csd.sgi.com> Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Thu, 8 Feb 2001 jlim@kinabalu.csd.sgi.com wrote: > On Thu Feb 8 15:52:36 2001, tamstorf@fa.disney.com wrote: > > > > I've actually had to deal with this problem too, and although it does > > require a lot of cvs check-in/outs I would vote for changing the > > filenames. It's really easy to write a little script like the one below to > > do the job, so it shouldn't be too painful. > > > > The only little detail is that the source code actually does #include of > > .c++ files in some places. These of course also have to be change, but a > > quick perl script can take care of that too. > > > > Rasmus > > Yeah, and some people would prefer .cpp, .cxx, and whatnot. I going to just > keep it the way it is. wow, wow ... so much for being accomodating :-/ ".c++" happens to be a non-standard name for C++ files which is neither accepted by the Sun compiler nor by the Compaq Alpha compiler. A quick survey of the compilers I have available shows the following as being valid file name extensions : Compaq Alpha : .cxx, .CXX, .cpp, .CPP, .cc, .CC, or .C Sun WorkShop 6 : .c, .C, .cc, .cxx, or .cpp KAI CC : .c, .cc, .cpp, .cxx, .c++, .C, .CC, .CPP, .CXX, .C++ g++ : .C, .cc, .cxx, .cpp, or .c++ MIPS CC : .C, .c++, .c, .cc, .cpp, .CPP, .cxx or .CXX If there is no extension which is accepted by all compilers (including the ones I don't have) then I can understand your unwillingness to change it, but it looks to me like .cxx, .cpp, .cc, and .C would all work better than .c++. Rasmus ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Thu Feb 8 16:51:01 2001 Received: by oss.sgi.com id ; Thu, 8 Feb 2001 16:50:51 -0800 Received: from jalon.able.es ([212.97.163.2]:55442 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 16:50:37 -0800 Received: from correo.able.es ([212.97.169.28]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G8GT1000.84I; Fri, 9 Feb 2001 01:51:00 +0100 Date: Fri, 9 Feb 2001 01:50:28 +0100 From: "J . A . Magallon" To: Rasmus Tamstorf Cc: jlim@kinabalu.csd.sgi.com, naaman@laplace.engr.sgi.com, connolsv@pweh.com, lsh@cs.brown.edu, info-inventor-dev@oss.sgi.com Subject: Re: OpenInventor on SUN, X error Message-ID: <20010209015028.A1597@werewolf.able.es> References: <200102090004.QAA19421@kinabalu.csd.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from tamstorf@fa.disney.com on Fri, Feb 09, 2001 at 01:32:43 +0100 X-Mailer: Balsa 1.1.1 Content-Length: 2833 Lines: 65 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.09 Rasmus Tamstorf wrote: > On Thu, 8 Feb 2001 jlim@kinabalu.csd.sgi.com wrote: > > > On Thu Feb 8 15:52:36 2001, tamstorf@fa.disney.com wrote: > > > > > > I've actually had to deal with this problem too, and although it does > > > require a lot of cvs check-in/outs I would vote for changing the > > > filenames. It's really easy to write a little script like the one below to > > > do the job, so it shouldn't be too painful. > > > > > > The only little detail is that the source code actually does #include of > > > .c++ files in some places. These of course also have to be change, but a > > > quick perl script can take care of that too. That is a VERY BAD programming rule used in the Inventor devel tree. Just write 100 C++ files and include all in a single one to simplify the makefile, but if you change just a single comma in ONE file you have to recompile all the 100 files. You throw away through the window all the philosophy and enhancements behind make, separate compilation, parallel makes, time stamping-check and so on. This should dissapear from the tree. Just take GNU make and use it, if you just have one big file, you do not need a makefile, just a thre line script. > > > > > > Rasmus > > > > Yeah, and some people would prefer .cpp, .cxx, and whatnot. I going to just > > keep it the way it is. > > wow, wow ... so much for being accomodating :-/ ".c++" happens to be a > non-standard name for C++ files which is neither accepted by the Sun > compiler nor by the Compaq Alpha compiler. A quick survey of the compilers > I have available shows the following as being valid file name extensions : > > Compaq Alpha : .cxx, .CXX, .cpp, .CPP, .cc, .CC, or .C > Sun WorkShop 6 : .c, .C, .cc, .cxx, or .cpp > KAI CC : .c, .cc, .cpp, .cxx, .c++, .C, .CC, .CPP, .CXX, .C++ > g++ : .C, .cc, .cxx, .cpp, or .c++ > MIPS CC : .C, .c++, .c, .cc, .cpp, .CPP, .cxx or .CXX HPUX also eats .cc, and even MSVC can be forced to use .cc. I will vote for .cc, and all can be changed in a couple finds-basenames. I can send the script if you want. I am thinking also in changing all the inline references to /usr/demos and so on to #defines in makefiles: access(path,"/usr/demos/Inventor/theDemo/...") -> access(IVDEMODATADIR "/theDemo/...") and in GNUMakefile for a demo: CXXFLAGS += -DIVDEMODATADIR=\"$(IVDEMODATADIR)\" So packagers can tailor the data files locations for its distribution. If someone tellme it will be accepted, I can do and submit it. If not, I will do anyways, but all the distribution packagers will have to redo it again... -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.1-ac6 #1 SMP Thu Feb 8 15:58:18 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 00:08:24 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 00:08:14 -0800 Received: from [202.96.215.33] ([202.96.215.33]:16652 "EHLO triserver1.trident.com") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 00:07:57 -0800 Received: by TRISERVER1 with Internet Mail Service (5.5.2650.21) id <1SK96TCC>; Fri, 9 Feb 2001 09:58:33 +0800 Message-ID: <2B72B0F3DC47D411B4E800A0C9A697A33E6646@TRISERVER1> From: Gang Chen To: Alexandre Naaman , Loring Holden Cc: Jonathan Lim , connolsv@pweh.com, info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error Date: Fri, 9 Feb 2001 09:58:33 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0923B.CEB470E0" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing 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_01C0923B.CEB470E0 Content-Type: text/plain; charset="ISO-8859-1" > -----Original Message----- > From: Alexandre Naaman [mailto:naaman@laplace.engr.sgi.com] > Sent: Friday, February 09, 2001 6:19 AM > To: Loring Holden > Cc: Jonathan Lim; connolsv@pweh.com; info-inventor-dev@oss.sgi.com > Subject: Re: OpenInventor on SUN, X error > > > On Thu, 8 Feb 2001, Loring Holden wrote: > > > > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > > > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > > > > > - the SUN C++ compiler does not like the ".c++" > suffix so I had to > > > > > rename such files to end in ".cc". > > > > > > > > How about making symbolic links instead? It's too much > of a pain to > > > > rename all the files. > > > > > > or ... define a new rule for the compiler and tell it how > to go from a > > > .c++ to a .o. > > > > It's not a Makefile issue, but a compiler problem, so this > won't work. The > > compiler gives the following error: > > CC: Invalid input file name test.c++, no output generated > for this file. > > > > The only way to deal w/ this is to use a different file suffix. > > Well that sucks eh? :) > > Why not just switch platforms then? > > But seriously, you could define a rule that renamed the file > to .cc just > long enough to generate a .o? > > Or ... why not just use g++? > Yes, why not ? especially on a SUN ! Its compiler is somehow ... I solved this problem by writing a C program, it recursively find *.c++ file and change to *.cpp, and add a line at its top to use procompile tech, so compiling time could be reduced very much. Regards Chen Gang ------_=_NextPart_001_01C0923B.CEB470E0 Content-Type: text/html; charset="ISO-8859-1" RE: OpenInventor on SUN, X error

> -----Original Message-----
> From: Alexandre Naaman [mailto:naaman@laplace.engr.sgi.com]
> Sent: Friday, February 09, 2001 6:19 AM
> To: Loring Holden
> Cc: Jonathan Lim; connolsv@pweh.com; info-inventor-dev@oss.sgi.com
> Subject: Re: OpenInventor on SUN, X error
>
>
> On Thu, 8 Feb 2001, Loring Holden wrote:
>
> > > On Thu, 8 Feb 2001, Jonathan Lim wrote:
> > >
> > > > On Thu Feb  8 13:13:26 2001, connolsv@pweh.com wrote:
> > > > >
> > > > >     - the SUN C++ compiler does not like the ".c++"
> suffix so I had to
> > > > >       rename such files to end in ".cc".
> > > >
> > > > How about making symbolic links instead? It's too much
> of a pain to
> > > > rename all the files.
> > >
> > > or ... define a new rule for the compiler and tell it how
> to go from a
> > > .c++ to a .o.
> >
> > It's not a Makefile issue, but a compiler problem, so this
> won't work.  The
> > compiler gives the following error:
> > CC: Invalid input file name test.c++, no output generated
> for this file.
> >
> > The only way to deal w/ this is to use a different file suffix.
>
> Well that sucks eh? :)
>
> Why not just switch platforms then?
>
> But seriously, you could define a rule that renamed the file
> to .cc just
> long enough to generate a .o?
>
> Or ... why not just use g++?
>

Yes, why not ? especially on a SUN ! Its compiler is somehow ...

I solved this problem by writing a C program, it recursively
find *.c++ file and change to *.cpp, and add a line at its top to use
procompile tech, so compiling time could be reduced very much.


Regards
Chen Gang

------_=_NextPart_001_01C0923B.CEB470E0-- From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 00:15:24 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 00:15:14 -0800 Received: from su00777.ina.de ([159.51.6.53]:3282 "EHLO ina.de") convert =?ISO-8859-1?Q?rfc822-to-8bitson@n=11=8B?= by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 00:15:01 -0800 Received: from ina-de0135.ina.de (pc11322.ina.de [159.51.6.55]) by ina.de (8.9.3+Sun/8.9.1) with SMTP id JAA25236 for ; Fri, 9 Feb 2001 09:14:54 +0100 (MET) Received: FROM ina-de0154.ina.de BY ina-de0135.ina.de ; Fri Feb 09 09:14:54 2001 +0100 Received: by ina-de0154.ina.de with Internet Mail Service (5.5.2448.0) id ; Fri, 9 Feb 2001 09:14:10 +0100 Message-ID: <35E288755570D311A65400902760DD4B01868CC3@INA-DE0109.ina.de> From: "Kelm, Peter TBG" To: Rasmus Tamstorf Cc: info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error Date: Fri, 9 Feb 2001 09:14:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing > -----Ursprüngliche Nachricht----- > Von: Rasmus Tamstorf [SMTP:tamstorf@fa.disney.com] > Gesendet am: Freitag, 9. Februar 2001 01:33 > An: jlim@kinabalu.csd.sgi.com > Cc: naaman@laplace.engr.sgi.com; connolsv@pweh.com; lsh@cs.brown.edu; > info-inventor-dev@oss.sgi.com > Betreff: Re: OpenInventor on SUN, X error > > On Thu, 8 Feb 2001 jlim@kinabalu.csd.sgi.com wrote: > > > On Thu Feb 8 15:52:36 2001, tamstorf@fa.disney.com wrote: > > > > > > I've actually had to deal with this problem too, and although it does > > > require a lot of cvs check-in/outs I would vote for changing the > > > filenames. It's really easy to write a little script like the one > below to > > > do the job, so it shouldn't be too painful. > > > > > > The only little detail is that the source code actually does #include > of > > > .c++ files in some places. These of course also have to be change, but > a > > > quick perl script can take care of that too. > > > > > > Rasmus > > > > Yeah, and some people would prefer .cpp, .cxx, and whatnot. I going to > just > > keep it the way it is. > > wow, wow ... so much for being accomodating :-/ ".c++" happens to be a > non-standard name for C++ files which is neither accepted by the Sun > compiler nor by the Compaq Alpha compiler. A quick survey of the compilers > I have available shows the following as being valid file name extensions : > > Compaq Alpha : .cxx, .CXX, .cpp, .CPP, .cc, .CC, or .C > Sun WorkShop 6 : .c, .C, .cc, .cxx, or .cpp > KAI CC : .c, .cc, .cpp, .cxx, .c++, .C, .CC, .CPP, .CXX, .C++ > g++ : .C, .cc, .cxx, .cpp, or .c++ > MIPS CC : .C, .c++, .c, .cc, .cpp, .CPP, .cxx or .CXX > > If there is no extension which is accepted by all compilers (including the > ones I don't have) then I can understand your unwillingness to change it, > but it looks to me like .cxx, .cpp, .cc, and .C would all work better than > .c++. > Rasmus, I absolutely agree with you in all but one point. The ".C" extension could be ambiguous on platforms that are case insensitive (Windows, ...). Peter From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 00:23:43 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 00:23:34 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:43646 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 00:23:28 -0800 Received: from boeing.engr.sgi.com ([130.62.55.185]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id AAA03878 for ; Fri, 9 Feb 2001 00:23:27 -0800 (PST) mail_from (flynnt@engr.sgi.com) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id AAA40482; Fri, 9 Feb 2001 00:22:10 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Fri, 9 Feb 2001 00:22:10 -0800 From: Tom Flynn To: Gang Chen cc: Loring Holden , connolsv@pweh.com, info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error In-Reply-To: <2B72B0F3DC47D411B4E800A0C9A697A33E6646@TRISERVER1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing If you've bought Sun's compiliers, file a bug. It's not rocket science for them to add .c++ as another filename extension. Grant it, that doesn't fix the immediate problem, will perhaps avert further problems in the future. Odds are pretty high that they won't do anything about it unless you file a bug against them. -tom On Fri, 9 Feb 2001, Gang Chen wrote: > > > > -----Original Message----- > > From: Alexandre Naaman [mailto:naaman@laplace.engr.sgi.com] > > Sent: Friday, February 09, 2001 6:19 AM > > To: Loring Holden > > Cc: Jonathan Lim; connolsv@pweh.com; info-inventor-dev@oss.sgi.com > > Subject: Re: OpenInventor on SUN, X error > > > > > > On Thu, 8 Feb 2001, Loring Holden wrote: > > > > > > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > > > > > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > > > > > > > - the SUN C++ compiler does not like the ".c++" > > suffix so I had to > > > > > > rename such files to end in ".cc". > > > > > > > > > > How about making symbolic links instead? It's too much > > of a pain to > > > > > rename all the files. > > > > > > > > or ... define a new rule for the compiler and tell it how > > to go from a > > > > .c++ to a .o. > > > > > > It's not a Makefile issue, but a compiler problem, so this > > won't work. The > > > compiler gives the following error: > > > CC: Invalid input file name test.c++, no output generated > > for this file. > > > > > > The only way to deal w/ this is to use a different file suffix. > > > > Well that sucks eh? :) > > > > Why not just switch platforms then? > > > > But seriously, you could define a rule that renamed the file > > to .cc just > > long enough to generate a .o? > > > > Or ... why not just use g++? > > > > Yes, why not ? especially on a SUN ! Its compiler is somehow ... > > I solved this problem by writing a C program, it recursively > find *.c++ file and change to *.cpp, and add a line at its top to use > procompile tech, so compiling time could be reduced very much. > > > Regards > Chen Gang > -- "Mongooses are famous for their snake-fighting ability, and are almost always victorious because of their speed, agility, and timing and also because of their thick coat." From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 00:49:23 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 00:49:14 -0800 Received: from skylla.rus.uni-stuttgart.de ([141.58.231.9]:49796 "EHLO skylla.rus.uni-stuttgart.de") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 00:48:55 -0800 Received: from ifp.uni-stuttgart.de (sensor.ifp.uni-stuttgart.de [141.58.125.33]) by skylla.rus.uni-stuttgart.de with ESMTP id JAA19163; Fri, 9 Feb 2001 09:48:52 +0100 (MET) env-from (jan.boehm@ifp.uni-stuttgart.de) Received: from ifp.uni-stuttgart.de (keil [141.58.125.13]) by ifp.uni-stuttgart.de (8.8.8/8.8.8) with ESMTP id JAA18318; Fri, 9 Feb 2001 09:48:37 +0100 (MET) Message-ID: <3A83AEF3.4832DF39@ifp.uni-stuttgart.de> Date: Fri, 09 Feb 2001 09:48:51 +0100 From: Jan =?iso-8859-1?Q?B=F6hm?= X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: de, en MIME-Version: 1.0 To: "Connolly, Steven V." , info-inventor-dev@oss.sgi.com Subject: Re: OpenInventor on SUN, X error References: Content-Type: multipart/mixed; boundary="------------36C254F4FB12D0F44D4B3A20" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing This is a multi-part message in MIME format. --------------36C254F4FB12D0F44D4B3A20 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Very inetresting. I get the code to compile and link, too. And when I run, I get a segmentation fault. I do use gcc to compile. And I am having pretty much the same difficulties with the code. So don't let them fool you into using gcc... One note: I got rid of the floorf etc, problems by specifying the symbol _DOUBLE_MATH_ONLY. Were you able to build the shared libraries? (I wasn't) About your error message: I get similar warning when running old X applications in the wrong color depth mode. Maybe you can try switching your color depth. Keep us posted on your success! Jan -- ----------------------------------------------------------------- _/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc. _/_/_/ _/ _/_/ Institut fuer Photogrammetrie _/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart _/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24 _/ _/ D-70174 Stuttgart ----------------------------------------------------------------- Tel : +49-711-121-4110 Email : jan.boehm@ifp.uni-stuttgart.de Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de ----------------------------------------------------------------- --------------36C254F4FB12D0F44D4B3A20 Content-Type: text/x-vcard; charset=us-ascii; name="jan.boehm.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jan Böhm Content-Disposition: attachment; filename="jan.boehm.vcf" begin:vcard n:Böhm;Jan tel;fax:+49 711 121 3297 tel;work:+49 711 121 4110 x-mozilla-html:FALSE org:University of Stuttgart;Institute for Photogrammetry version:2.1 email;internet:Jan.Boehm@ifp.uni-stuttgart.de title:Dipl.-Inform. M.Sc. adr;quoted-printable:;;Geschwister-Scholl-Str. 24=0D=0A=0D=0A;70174 Stuttgart;;;Germany x-mozilla-cpt:;25128 fn:Jan Böhm end:vcard --------------36C254F4FB12D0F44D4B3A20-- From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 08:27:46 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 08:27:37 -0800 Received: from mail.disney.com ([204.128.192.15]:22200 "EHLO mail.disney.com") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 08:27:26 -0800 Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f19GQsc08820 for ; Fri, 9 Feb 2001 08:26:54 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP; Fri, 9 Feb 2001 08:28:00 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id IAA02550; Fri, 9 Feb 2001 08:27:21 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Received: from bacon.fan.fa.disney.com (bacon.fan.fa.disney.com [153.7.118.228]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id IAA13861; Fri, 9 Feb 2001 08:27:20 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Date: Fri, 9 Feb 2001 08:27:18 -0800 From: Rasmus Tamstorf X-Sender: tamstorf@bacon.fan.fa.disney.com To: "Kelm, Peter TBG" cc: info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error In-Reply-To: <35E288755570D311A65400902760DD4B01868CC3@INA-DE0109.ina.de> Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Fri, 9 Feb 2001, Kelm, Peter TBG wrote: > > wow, wow ... so much for being accomodating :-/ ".c++" happens to be a > > non-standard name for C++ files which is neither accepted by the Sun > > compiler nor by the Compaq Alpha compiler. A quick survey of the compilers > > I have available shows the following as being valid file name extensions : > > > > Compaq Alpha : .cxx, .CXX, .cpp, .CPP, .cc, .CC, or .C > > Sun WorkShop 6 : .c, .C, .cc, .cxx, or .cpp > > KAI CC : .c, .cc, .cpp, .cxx, .c++, .C, .CC, .CPP, .CXX, .C++ > > g++ : .C, .cc, .cxx, .cpp, or .c++ > > MIPS CC : .C, .c++, .c, .cc, .cpp, .CPP, .cxx or .CXX > > > > If there is no extension which is accepted by all compilers (including the > > ones I don't have) then I can understand your unwillingness to change it, > > but it looks to me like .cxx, .cpp, .cc, and .C would all work better than > > .c++. > > > Rasmus, > > I absolutely agree with you in all but one point. The ".C" extension > could be ambiguous on > platforms that are case insensitive (Windows, ...). That's fine with me. I'm not religious about any particular extension as long as it works for all compilers, so that still leaves .cxx, .cpp and .cc. Rasmus ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 08:41:46 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 08:41:37 -0800 Received: from mail.disney.com ([204.128.192.15]:48080 "EHLO mail.disney.com") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 08:41:20 -0800 Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f19Geoc20288 for ; Fri, 9 Feb 2001 08:40:50 -0800 (PST) Received: from louie.fa.disney.com by pain.corp.disney.com with ESMTP; Fri, 9 Feb 2001 08:41:55 -0800 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by louie.fa.disney.com (8.9.2/8.9.2) with ESMTP id IAA05754; Fri, 9 Feb 2001 08:41:15 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Received: from bacon.fan.fa.disney.com (bacon.fan.fa.disney.com [153.7.118.228]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id IAA14797; Fri, 9 Feb 2001 08:41:14 -0800 (PST) (envelope-from tamstorf@fa.disney.com) Date: Fri, 9 Feb 2001 08:41:13 -0800 From: Rasmus Tamstorf X-Sender: tamstorf@bacon.fan.fa.disney.com To: Tom Flynn cc: Gang Chen , Loring Holden , connolsv@pweh.com, info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error In-Reply-To: Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Fri, 9 Feb 2001, Tom Flynn wrote: > If you've bought Sun's compiliers, file a bug. It's not rocket science > for them to add .c++ as another filename extension. Grant it, that > doesn't fix the immediate problem, will perhaps avert further problems in > the future. Odds are pretty high that they won't do anything about it > unless you file a bug against them. > -tom It looks like they've actually already fixed this in the Sun WorkShop 6 Update 1 release : http://docs.sun.com/htmlcoll/coll.693.1/iso-8859-1/WSNEW/1.html#1009826 Also, the very latest version of the Compaq Alpha compiler (v6.3) supports this extension : http://www.tru64unix.compaq.com/cplus/docs/cxx_ref.htm - but in both cases you need to be on the bleeding edge of compiler releases to get it to work. Rasmus > > On Fri, 9 Feb 2001, Gang Chen wrote: > > > > > > > > -----Original Message----- > > > From: Alexandre Naaman [mailto:naaman@laplace.engr.sgi.com] > > > Sent: Friday, February 09, 2001 6:19 AM > > > To: Loring Holden > > > Cc: Jonathan Lim; connolsv@pweh.com; info-inventor-dev@oss.sgi.com > > > Subject: Re: OpenInventor on SUN, X error > > > > > > > > > On Thu, 8 Feb 2001, Loring Holden wrote: > > > > > > > > On Thu, 8 Feb 2001, Jonathan Lim wrote: > > > > > > > > > > > On Thu Feb 8 13:13:26 2001, connolsv@pweh.com wrote: > > > > > > > > > > > > > > - the SUN C++ compiler does not like the ".c++" > > > suffix so I had to > > > > > > > rename such files to end in ".cc". > > > > > > > > > > > > How about making symbolic links instead? It's too much > > > of a pain to > > > > > > rename all the files. > > > > > > > > > > or ... define a new rule for the compiler and tell it how > > > to go from a > > > > > .c++ to a .o. > > > > > > > > It's not a Makefile issue, but a compiler problem, so this > > > won't work. The > > > > compiler gives the following error: > > > > CC: Invalid input file name test.c++, no output generated > > > for this file. > > > > > > > > The only way to deal w/ this is to use a different file suffix. > > > > > > Well that sucks eh? :) > > > > > > Why not just switch platforms then? > > > > > > But seriously, you could define a rule that renamed the file > > > to .cc just > > > long enough to generate a .o? > > > > > > Or ... why not just use g++? > > > > > > > Yes, why not ? especially on a SUN ! Its compiler is somehow ... > > > > I solved this problem by writing a C program, it recursively > > find *.c++ file and change to *.cpp, and add a line at its top to use > > procompile tech, so compiling time could be reduced very much. > > > > > > Regards > > Chen Gang > > > > -- > "Mongooses are famous for their snake-fighting ability, and are > almost always victorious because of their speed, agility, and timing > and also because of their thick coat." > > > ----------------------------------------------------------------------------- Rasmus.Tamstorf@disney.com "A problem worthy of attack, Walt Disney Feature Animation proves its worth by hitting back" Kumbel ----------------------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Fri Feb 9 10:18:27 2001 Received: by oss.sgi.com id ; Fri, 9 Feb 2001 10:18:18 -0800 Received: from jalon.able.es ([212.97.163.2]:35220 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Fri, 9 Feb 2001 10:18:08 -0800 Received: from correo.able.es ([212.97.169.28]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G8I5IQ00.R4Y; Fri, 9 Feb 2001 19:18:26 +0100 Date: Fri, 9 Feb 2001 19:17:54 +0100 From: "J . A . Magallon" To: Rasmus Tamstorf Cc: "Kelm, Peter TBG" , info-inventor-dev@oss.sgi.com Subject: RE: OpenInventor on SUN, X error Message-ID: <20010209191754.A2522@werewolf.able.es> References: <35E288755570D311A65400902760DD4B01868CC3@INA-DE0109.ina.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from tamstorf@fa.disney.com on Fri, Feb 09, 2001 at 17:27:18 +0100 X-Mailer: Balsa 1.1.1 Content-Length: 2013 Lines: 50 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.09 Rasmus Tamstorf wrote: > On Fri, 9 Feb 2001, Kelm, Peter TBG wrote: > > > That's fine with me. I'm not religious about any particular extension as > long as it works for all compilers, so that still leaves .cxx, .cpp and > .cc. > cpp sounds to much to win-dos, forcing 3 char extensions... Better use .cc, just two fast keystrokes on 'c', not looking for '+'. And a point that is not looket at, is that it not only depends on the compiler that can admit the extension, but also on the make system that recognizes the extension as a valid one. If not, you have to include all the time the .SUFFIXES lines in your makefiles. >From the info in make 3.79.1 (Catalog of Implicit Rules): Compiling C programs `N.o' is made automatically from `N.c' with a command of the form `$(CC) -c $(CPPFLAGS) $(CFLAGS)'. Compiling C++ programs `N.o' is made automatically from `N.cc' or `N.C' with a command of the form `$(CXX) -c $(CPPFLAGS) $(CXXFLAGS)'. We encourage you to use the suffix `.cc' for C++ source files instead of `.C'. So GNU make votes for .cc, and that is the way to make life easy. If any other thing is used, that only contributes to have to include more extra things in the build tree that could work just with the defaults. Same problem occurs with portability. My thesis code has to be built in win and unix. Usually, going for make into subdirs was a pain, because for syntax is different in DOS and bash/ksh/sh, and writing the code inside the loop with cd, backslashes, and so on. The I discovered the marvelous 'foreach' built-in for in gnumake, so you can do $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir)) and loops are portable between win and unix. So my advice is: read first the full manual of GNU make, don't do like me. -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.1-ac8 #2 SMP Fri Feb 9 01:53:46 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Sat Feb 10 13:15:31 2001 Received: by oss.sgi.com id ; Sat, 10 Feb 2001 13:15:21 -0800 Received: from daffodil.csv.warwick.ac.uk ([137.205.192.30]:30896 "EHLO daffodil.csv.warwick.ac.uk") by oss.sgi.com with ESMTP id ; Sat, 10 Feb 2001 13:14:57 -0800 Received: from pansy.csv.warwick.ac.uk (root@pansy [137.205.192.19]) by daffodil.csv.warwick.ac.uk (8.10.1/8.9.3) with ESMTP id f1ALErF04404 for ; Sat, 10 Feb 2001 21:14:54 GMT Received: from csv.warwick.ac.uk (nt395 [137.205.44.41]) by pansy.csv.warwick.ac.uk (8.10.1/8.9.3) with ESMTP id f1ALErh23800 for ; Sat, 10 Feb 2001 21:14:53 GMT Message-ID: <3A85AF27.F4E3485E@csv.warwick.ac.uk> Date: Sat, 10 Feb 2001 21:14:15 +0000 From: Mr D P Williams Organization: University of Warwick X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: error compiling Open Inventor programs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hi, I have just started experimenting with Open Inventor, and have hit immidiate problems. My program simply creates a sphere with materials, but when I try to compile it I get an error like the following: error in file included from SoSeperator.h: class SoError has virtual functions but non-virtual constructor class SoDebugError has virtual functions but non-virtual constructor I installed Open Inventor on RedHat 7.0, and I am using it with qt 2.2.3 and kdevelop, GCC version 2.96. My program does not use the two error classes mentioned in the message. Thanks in advance for any help, David From owner-info-inventor-dev@oss.sgi.com Sat Feb 10 13:58:01 2001 Received: by oss.sgi.com id ; Sat, 10 Feb 2001 13:57:52 -0800 Received: from beton.vrvis.at ([194.152.163.92]:24839 "EHLO beton.vrvis.at") by oss.sgi.com with ESMTP id ; Sat, 10 Feb 2001 13:57:33 -0800 Received: from localhost.localdomain (IDENT:root@chello212186107055.14.tuwien.teleweb.at [212.186.107.55]) by beton.vrvis.at (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id WAA15765; Sat, 10 Feb 2001 22:57:16 +0100 Received: (from honza@localhost) by localhost.localdomain (8.9.3/8.9.3) id WAA04569; Sat, 10 Feb 2001 22:57:09 +0100 Date: Sat, 10 Feb 2001 22:57:08 +0100 From: Jan Prikryl To: Mr D P Williams Cc: info-inventor-dev@oss.sgi.com Subject: Re: error compiling Open Inventor programs Message-ID: <20010210225707.A4557@erwin.telekabel.at> References: <3A85AF27.F4E3485E@csv.warwick.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: =?iso-8859-1?Q?=3C3A85AF27=2EF4E3485E=40csv=2Ewarwick=2Eac=2Euk=3E=3B_fr?= =?iso-8859-1?Q?om_esuvs=40csv=2Ewarwick=2Eac=2Euk_on_So=2C_=FAno_10=2C_2?= =?iso-8859-1?Q?001_at_09:14:15_+0000?= Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hello, > [...] when I try to compile it I get an error like the following: > > error in file included from SoSeperator.h: > class SoError has virtual functions but non-virtual constructor > class SoDebugError has virtual functions but non-virtual constructor > > I installed Open Inventor on RedHat 7.0, and I am using it with qt 2.2.3 > and kdevelop, GCC version 2.96. My program does not use the two error > classes mentioned in the message. Strange, on my gcc 2.96 (gcc version 2.96 20000731) it generartes only warnings - but it's on a RH 6.2 system. On the other hand we have a colleague who uses the current RPMs on RH 7.0 apparently without problems (besides some font troubles). Are you sure you did not switch on something like "treat all warnings as errors?" when compiling your example program? If I remember correctly, gcc has got such an option. -- jan --------------------+------------------------------------------------------ Jan Prikryl | vr|vis center for virtual reality and visualisation | http://www.vrvis.at --------------------+------------------------------------------------------ From owner-info-inventor-dev@oss.sgi.com Sun Feb 11 14:13:54 2001 Received: by oss.sgi.com id ; Sun, 11 Feb 2001 14:13:44 -0800 Received: from snowdrop.csv.warwick.ac.uk ([137.205.192.31]:62888 "EHLO snowdrop.csv.warwick.ac.uk") by oss.sgi.com with ESMTP id ; Sun, 11 Feb 2001 14:13:29 -0800 Received: from pansy.csv.warwick.ac.uk (root@pansy [137.205.192.19]) by snowdrop.csv.warwick.ac.uk (8.10.1/8.9.3) with ESMTP id f1BMDGY12983 for ; Sun, 11 Feb 2001 22:13:16 GMT Received: from csv.warwick.ac.uk (nt1116 [137.205.41.191]) by pansy.csv.warwick.ac.uk (8.10.1/8.9.3) with ESMTP id f1BMDFh07938 for ; Sun, 11 Feb 2001 22:13:15 GMT Message-ID: <3A870E5A.1D59216E@csv.warwick.ac.uk> Date: Sun, 11 Feb 2001 22:12:42 +0000 From: Mr D P Williams Organization: University of Warwick X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Open Inventor with QT Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hi, Thanks for the help getting Open Inventor to compile, I got passed that stage. I now have another problem. I followed a tutorial (www.dev-gallery.com) on using Open inventor with Glut, and got it to work. But now how do I port it to QT? I have set up a QGLWidget which works, but the trouble seem to be in the call to the setRenderCallback() function. In the glut example the code is: scenemanager->setRenderCallback(redraw, NULL); and the declaration for redraw is: void redraw(void * user, SoSceneManager * manager) ; even though the variables 'user' and 'manager' are not used in the function. I basicly cut and pasted the code around and changed the call to: scenemanager->setRenderCallback(paintGL, NULL); The compiler now fails to find an appropriate function. I have heard somewhere about a SoQT class which I do not have. Do I need it? where do I get it? Any advice on the above matters would be greatly appriciated. Thanks in advance, David From owner-info-inventor-dev@oss.sgi.com Sun Feb 11 14:30:13 2001 Received: by oss.sgi.com id ; Sun, 11 Feb 2001 14:30:03 -0800 Received: from trh.sim.no ([195.1.220.136]:22257 "HELO sim.no") by oss.sgi.com with SMTP id ; Sun, 11 Feb 2001 14:29:36 -0800 Received: (qmail 11314 invoked by uid 2000); 11 Feb 2001 22:29:33 -0000 Date: Sun, 11 Feb 2001 23:29:33 +0100 From: "Lars J. Aas" To: Mr D P Williams Cc: info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with QT Message-ID: <20010211232933.A11263@sim.no> References: <3A870E5A.1D59216E@csv.warwick.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A870E5A.1D59216E@csv.warwick.ac.uk>; from esuvs@csv.warwick.ac.uk on Sun, Feb 11, 2001 at 10:12:42PM +0000 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Sun, Feb 11, 2001 at 10:12:42PM +0000, Mr D P Williams wrote: : I have heard somewhere about a SoQT class which I do not have. Do I need : it? where do I get it? Any advice on the above matters would be greatly : appriciated. You do not need it for doing a low-level connection between Open Inventor and a QGLWidget. SoQt is a (somewhat incomplete) reimplementation of SGIs InventorXt, but for the Qt toolkit. If you're familiar with InventorXt you will know that the API is a bit more high-level (thank God! :). You'll find SoQt at http://www.coin3d.org/, and the API documentation at http://www.coin3d.org/auto/soqt-docs/. Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 04:14:33 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 04:14:14 -0800 Received: from gate-isdn.portakabin.com ([194.152.72.253]:58996 "EHLO gate-isdn.portakabin.com") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 04:13:50 -0800 Received: from [192.168.100.253] (helo=mailsweeper.portakabin.com) by gate-isdn.portakabin.com with esmtp (Exim 2.12 #1) id 14SHqu-0007g7-00 for info-inventor-dev@oss.sgi.com; Mon, 12 Feb 2001 12:13:08 +0000 Received: from enterprise_1.portakabin.com (unverified) by mailsweeper.portakabin.com (Content Technologies SMTPRS 4.1.5) with ESMTP id for ; Mon, 12 Feb 2001 12:13:14 +0000 Received: by enterprise_1.portakabin.com with Internet Mail Service (5.5.2653.19) id <1LFQ6F1S>; Mon, 12 Feb 2001 12:13:33 -0000 Message-ID: <9245622B95E6D111A31200A0C942F118012FA325@enterprise_1.portakabin.com> From: Bonello Charles To: "'info-inventor-dev@oss.sgi.com'" Subject: Windows 2000 Development for Open Inventor Date: Mon, 12 Feb 2001 12:13:27 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hello I am currently charged with designing and developing an 3D tool to 'objectify' all the components that the company manufactures. We use Windows OS and apps exclusively. I want to steer my development team into using OpenGL as I have some experience in using it and in my opinion is the best 3D graphics language about. Recently I have been reading about Open Inventor and am very interested in what it has to offer. I understand there has been a Win32 port of it. The questions I have are:- 1. Will SGI continue to develop and support the Win32 port of Open Inventor? If so I will be very interested in using it for my application. 2. Where can I get a copy of the libraries etc? 3. Does SGI provide training on OpenGL in the UK? Thank you for your help :-) Best Regards Charles Bonello Senior IT Officer Portakabin Limited ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the mail administrator (mailto:postmaster@portakabin.com) Whilst every care has been taken to check this outgoing e-mail for viruses, it is seen as your responsibility to check and sweep it, and any attachments, for viruses on receipt. ********************************************************************** From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 11:26:36 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 11:26:26 -0800 Received: from moat.pweh.com ([192.54.250.131]:64942 "EHLO moat.pweh.com") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 11:26:08 -0800 Received: (from uucp@localhost) by moat.pweh.com (8.8.8/8.8.8) id OAA25214 for ; Mon, 12 Feb 2001 14:26:06 -0500 (EST) Received: from drawbridge.eh.pweh.com(191.29.71.250) by moat.pweh.com via smap (4.1) id xma025120; Mon, 12 Feb 01 14:26:01 -0500 Received: (from uucp@localhost) by drawbridge.eh.pweh.com (8.8.8/8.8.8) id OAA00695 for ; Mon, 12 Feb 2001 14:26:00 -0500 (EST) Received: from motors.pratt-whitney.com(192.168.4.72) by drawbridge.eh.pweh.com via smap (4.0a) id xma000570; Mon, 12 Feb 01 14:25:37 -0500 Received: (from uucp@localhost) by motors.pratt-whitney.com (8.10.0/8.10.0) id f1CJPWw19175 for ; Mon, 12 Feb 2001 14:25:32 -0500 (EST) Received: from unknown(191.29.171.2) by motors.pratt-whitney.com via smap (V5.5) id xma018599; Mon, 12 Feb 01 14:24:29 -0500 Received: from ehposrv5.eh.pweh.com by pweh711.eh.pweh.com (SMI-8.6/SMI-SVR4) id OAA08829; Mon, 12 Feb 2001 14:24:26 -0500 Received: by ehposrv5.eh.pweh.com with Internet Mail Service (5.5.2650.21) id ; Mon, 12 Feb 2001 14:24:25 -0500 Message-ID: From: "Connolly, Steven V." To: "'info-inventor-dev@oss.sgi.com'" Subject: Re: OpenInventor on SUN, X error Date: Mon, 12 Feb 2001 14:24:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Thanks very much to all who responded. Here is the current status. First, getting back to the original problem: - Upon execution of "SceneViewer", the following crash occurs: 273% ./SceneViewer X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 91 (X_QueryColors) Value in failed request: 0xc3b2ae Serial number of failed request: 624 Current serial number in output stream: 624 - I believe the problem has been narrowed down to use of the Overlay Planes on SUN, as Mike (mmh@tgs.com) had suggested: "XQueryColors is used to get the value of a color table entry. That suggests ... or, more likely, there is a problem trying to use overlay planes, which are always indexed (try disabling the overlay planes code in SoXt)." - I can create an SoXtExaminerViewer with an SoCube in it which looks fine as long as the viewer's constructor arg "buildFlag" is set to: "SoXtViewer::BUILD_NONE" or "SoXtViewer::BUILD_DECORATION" The viewer dies with the above X error when "buildFlag" is set to: "SoXtViewer::BUILD_ALL" or "SoXtViewer::BUILD_POPUP" In otherwords, as long as the popup menu's are not created, the viewer works (except for some problem with translation using the middle mouse where the displayed objects go shooting off the screen). Rotation with the leftmouse, the thumbwheels, and the buttons (home, perspective, seek, etc.) all work. I event tried drawing in hidden line mode and that works. Yeah! Further, I previously tried "componentTest" in "inventor/apps/samples/widgets" as suggested by Jonathan Lim (jlim@kinabalu.csd.sgi.com). Of the 6 components you can select, only 2 didnt work. The material editor dies with the same error as before in the following location: SoXtMaterialEditor::SoXtMaterialEditor(...) // constructor SoXtMaterialEditor::buildWidget(...); SoXtMaterialEditor::buildPulldownMenu(...); SoXt::getPopupArgs(...) ; // does alot of visual searching. pulldown = XmCreatePulldownMenu(...); <------- dies here! My guess is that OpenInventor is trying to create the pop up menus in the Overlay Planes so it wont cause a redraw in the main window. Apparently "...there are some unique "gotchas" with overlays on Solaris" (Mike, mmh@tgs.com). It would be nice if there was a switch to not use Overlay Planes for the pop up menus. With my limited knowledge of X, at best, I can try to hack a quick fix to get this running on the SUN's. I dont know if my solution (if I can come up with one) would be a good one to translate back to the original version. We could be very close! It would be great if some one implemented such a switch. At least some insight on how to proceed would help. I going to start by grep'ing for "overlay planes". Thanks again for the help. --------------------------- Steven Connolly CSC/Pratt & Whitney connolsv@pweh.com --------------------------- From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 11:56:57 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 11:56:47 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:28435 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 11:56:27 -0800 Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA26332 for ; Mon, 12 Feb 2001 11:55:25 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id LAA32546; Mon, 12 Feb 2001 11:54:41 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200102121954.LAA32546@kinabalu.csd.sgi.com> Subject: Re: Windows 2000 Development for Open Inventor To: charles.bonello@portakabin.com (Bonello Charles) Date: Mon, 12 Feb 2001 11:54:41 -0800 (PST) Cc: info-inventor-dev@oss.sgi.com ('info-inventor-dev@oss.sgi.com') In-Reply-To: <9245622B95E6D111A31200A0C942F118012FA325@enterprise_1.portakabin.com> from "Bonello Charles" at Feb 12, 2001 12:13:27 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Mon Feb 12 04:13:27 2001, charles.bonello@portakabin.com wrote: > > best 3D graphics language about. Recently I have been reading about Open > Inventor and am very interested in what it has to offer. I understand there > has been a Win32 port of it. The questions I have are:- > > 1. Will SGI continue to develop and support the Win32 port of Open Inventor? > If so I will be very interested in using it for my application. SGI has never developed a Win32 port of Open Inventor, though there are third-party companies who have done so. Since SGI has open-sourced the software in August of last year, we've left the development of any Win32 ports up to the open-source community, and it will be up to the authors of such ports to support their work. > 2. Where can I get a copy of the libraries etc? One such port is available at http://www.cg.tuwien.ac.at/hostings/openinventor/ > 3. Does SGI provide training on OpenGL in the UK? Yes; please contact the UK sales office at http://www.sgi.com/global/uk/howtobuy.html > Thank you for your help :-) Thanks for your interest. > Best Regards > > Charles Bonello > Senior IT Officer > Portakabin Limited Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 12:22:57 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 12:22:47 -0800 Received: from [64.148.184.186] ([64.148.184.186]:593 "EHLO sight.tgs.com") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 12:22:35 -0800 Received: from DECnet-Mail11.sight.tgs.com by sight.tgs.com (8.8.8/1.1.10.5/07Jul98-0113PM) id MAA0000013627; Mon, 12 Feb 2001 12:21:30 -0800 (PST) Date: Mon, 12 Feb 2001 12:21:30 -0800 (PST) Message-Id: <200102122021.MAA0000013627@sight.tgs.com> Mime-Version: 1.0 From: mmh@tgs.com (Mike Heck) To: SMTP@tgs.com Cc: "info-inventor-dev@oss.sgi.com"@tgs.com Subject: RE: Windows 2000 Development for Open Inventor Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing > I am currently charged with designing and developing an 3D tool to > 'objectify' all the components that the company manufactures. We use > Windows OS and apps exclusively. I want to steer my development team into > using OpenGL as I have some experience in using it and in my opinion is the > best 3D graphics language about. Recently I have been reading about Open > Inventor and am very interested in what it has to offer. I understand there > has been a Win32 port of it. The questions I have are:- > > 1. Will SGI continue to develop and support the Win32 port of Open Inventor? > If so I will be very interested in using it for my application. > 2. Where can I get a copy of the libraries etc? > 3. Does SGI provide training on OpenGL in the UK? FYI, TGS sells an enhanced and fully supported version of Open Inventor for Windows platforms. This version is used in many commercial applications. See our web site for details. -Mike TGS Inc, http://www.tgs.com From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 12:27:56 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 12:27:47 -0800 Received: from jalon.able.es ([212.97.163.2]:36745 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 12:27:26 -0800 Received: from correo.able.es ([212.97.170.106]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G8NVI900.7Q1; Mon, 12 Feb 2001 21:27:45 +0100 Date: Mon, 12 Feb 2001 21:27:11 +0100 From: "J . A . Magallon" To: "Connolly, Steven V." Cc: "'info-inventor-dev @ oss . sgi . com'" Subject: Re: OpenInventor on SUN, X error Message-ID: <20010212212711.C1587@werewolf.able.es> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from connolsv@pweh.com on Mon, Feb 12, 2001 at 20:24:16 +0100 X-Mailer: Balsa 1.1.1 Content-Length: 1441 Lines: 36 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.12 "Connolly, Steven V." wrote: > > In otherwords, as long as the popup menu's are not created, the viewer > works (except for some problem with translation using the middle mouse where > the displayed objects go shooting off the screen). Rotation with the > leftmouse, the thumbwheels, and the buttons (home, perspective, seek, etc.) > all work. I event tried drawing in hidden line mode and that works. Yeah! > > SoXt::getPopupArgs(...) ; // does alot of visual > searching. > pulldown = XmCreatePulldownMenu(...); <------- dies > here! > > My guess is that OpenInventor is trying to create the pop up menus in the > Overlay Planes so it wont cause a redraw in the main window. > Apparently "...there are some unique "gotchas" with overlays on Solaris" > (Mike, mmh@tgs.com). > AFAIK, that is not responsibility of Inventor. It is your window manager who decides if menus go to the main planes or to overlays (to avoid screen redraws). In SGI boxes, the 4Dwm windown manager has a resource that says if this is done or not: 4Dwm*SG_visualType: overlay Look for something similar in your wm (mwm or dtwm, as you say it is a Solaris box). -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.1-ac10 #1 SMP Sun Feb 11 23:36:46 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 12:31:56 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 12:31:47 -0800 Received: from jalon.able.es ([212.97.163.2]:43913 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Mon, 12 Feb 2001 12:31:30 -0800 Received: from correo.able.es ([212.97.170.106]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G8NVP500.7Q2; Mon, 12 Feb 2001 21:31:53 +0100 Date: Mon, 12 Feb 2001 21:31:18 +0100 From: "J . A . Magallon" To: "J . A . Magallon" Cc: "Connolly, Steven V." , "'info-inventor-dev @ oss . sgi . com'" Subject: Re: OpenInventor on SUN, X error Message-ID: <20010212213118.E1587@werewolf.able.es> References: <20010212212711.C1587@werewolf.able.es> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20010212212711.C1587@werewolf.able.es>; from jamagallon@able.es on Mon, Feb 12, 2001 at 21:27:11 +0100 X-Mailer: Balsa 1.1.1 Content-Length: 648 Lines: 20 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.12 J . A . Magallon wrote: > > AFAIK, that is not responsibility of Inventor. It is your window manager who > decides if menus go to the main planes or to overlays (to avoid screen > redraws). > > In SGI boxes, the 4Dwm windown manager has a resource that says if this is > done or not: > 4Dwm*SG_visualType: overlay > Mmmmmm, answering to myself, perhaps this is only for own window manager menus.... -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.1-ac10 #1 SMP Sun Feb 11 23:36:46 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Mon Feb 12 12:47:56 2001 Received: by oss.sgi.com id ; Mon, 12 Feb 2001 12:47:47 -0800 Received: from trh.sim.no ([195.1.220.136]:32762 "HELO sim.no") by oss.sgi.com with SMTP id ; Mon, 12 Feb 2001 12:47:24 -0800 Received: (qmail 22481 invoked by uid 2000); 12 Feb 2001 20:47:20 -0000 Date: Mon, 12 Feb 2001 21:47:20 +0100 From: "Lars J. Aas" To: Jonathan Lim Cc: Bonello Charles , "'info-inventor-dev@oss.sgi.com'" Subject: Re: Windows 2000 Development for Open Inventor Message-ID: <20010212214720.A22415@sim.no> References: <9245622B95E6D111A31200A0C942F118012FA325@enterprise_1.portakabin.com> <200102121954.LAA32546@kinabalu.csd.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102121954.LAA32546@kinabalu.csd.sgi.com>; from jlim@kinabalu.csd.sgi.com on Mon, Feb 12, 2001 at 11:54:41AM -0800 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Mon, Feb 12, 2001 at 11:54:41AM -0800, Jonathan Lim wrote: : On Mon Feb 12 04:13:27 2001, charles.bonello@portakabin.com wrote: : > 1. Will SGI continue to develop and support the Win32 port of Open Inventor? : > If so I will be very interested in using it for my application. : : SGI has never developed a Win32 port of Open Inventor, though there are : third-party companies who have done so. : : Since SGI has open-sourced the software in August of last year, we've left : the development of any Win32 ports up to the open-source community, and it : will be up to the authors of such ports to support their work. Coin compiles out-of-the-box on Windows w/Cygwin. For those who don't want to install Cygwin or compile the sources themselves, there are some pre- compiled SDK installers (beta status) at ftp://ftp.coin3d.org/pub/coin/bin/win32/new-beta/ Cheers, Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' From owner-info-inventor-dev@oss.sgi.com Tue Feb 13 02:51:25 2001 Received: by oss.sgi.com id ; Tue, 13 Feb 2001 02:51:15 -0800 Received: from charybdis.rus.uni-stuttgart.de ([129.69.1.58]:23976 "EHLO charybdis.rus.uni-stuttgart.de") by oss.sgi.com with ESMTP id ; Tue, 13 Feb 2001 02:50:58 -0800 Received: from ifp.uni-stuttgart.de (sensor.ifp.uni-stuttgart.de [141.58.125.33]) by charybdis.rus.uni-stuttgart.de with ESMTP id LAA29080; Tue, 13 Feb 2001 11:50:56 +0100 (MET) env-from (jan.boehm@ifp.uni-stuttgart.de) Received: from ifp.uni-stuttgart.de (keil [141.58.125.13]) by ifp.uni-stuttgart.de (8.8.8/8.8.8) with ESMTP id LAA23807; Tue, 13 Feb 2001 11:50:33 +0100 (MET) Message-ID: <3A89118F.6D020077@ifp.uni-stuttgart.de> Date: Tue, 13 Feb 2001 11:50:55 +0100 From: Jan =?iso-8859-1?Q?B=F6hm?= X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: de, en MIME-Version: 1.0 To: "Connolly, Steven V." CC: "'info-inventor-dev@oss.sgi.com'" Subject: Re: OpenInventor on SUN, X error References: Content-Type: multipart/mixed; boundary="------------FAF3B492B549DBB700EA1E96" Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing This is a multi-part message in MIME format. --------------FAF3B492B549DBB700EA1E96 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Unfortunatley, I haven't gotten as far as you in compiling, so I can not try for myself: Isn't it that ffbconfig controls the overlay visulas on Sun? > ffbconfig -defoverlay false will disable overlays, resulting in > ffbconfig -propt --- OpenWindows Configuration for /dev/fbs/ffb0 --- OWconfig: machine Video Mode: 1152x900x76 Default Visual: Non-Linear Normal Visual Visual Ordering: Linear Visuals are last Overlay Visuals are last OpenGL Visual Expansion: enabled Server Overlay Visuals: disabled Extended Overlay: disabled Allocated WIDs: 32 Gamma Correction Value: 2.220000 Gamma Correction Table: Available Jan -- ----------------------------------------------------------------- _/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc. _/_/_/ _/ _/_/ Institut fuer Photogrammetrie _/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart _/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24 _/ _/ D-70174 Stuttgart ----------------------------------------------------------------- Tel : +49-711-121-4110 Email : jan.boehm@ifp.uni-stuttgart.de Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de ----------------------------------------------------------------- --------------FAF3B492B549DBB700EA1E96 Content-Type: text/x-vcard; charset=us-ascii; name="jan.boehm.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jan Böhm Content-Disposition: attachment; filename="jan.boehm.vcf" begin:vcard n:Böhm;Jan tel;fax:+49 711 121 3297 tel;work:+49 711 121 4110 x-mozilla-html:FALSE org:University of Stuttgart;Institute for Photogrammetry version:2.1 email;internet:Jan.Boehm@ifp.uni-stuttgart.de title:Dipl.-Inform. M.Sc. adr;quoted-printable:;;Geschwister-Scholl-Str. 24=0D=0A=0D=0A;70174 Stuttgart;;;Germany x-mozilla-cpt:;25128 fn:Jan Böhm end:vcard --------------FAF3B492B549DBB700EA1E96-- From owner-info-inventor-dev@oss.sgi.com Tue Feb 13 14:16:49 2001 Received: by oss.sgi.com id ; Tue, 13 Feb 2001 14:16:39 -0800 Received: from moat.pweh.com ([192.54.250.131]:46240 "EHLO moat.pweh.com") convert rfc822-to-8bit by oss.sgi.com with ESMTP id ; Tue, 13 Feb 2001 14:16:24 -0800 Received: (from uucp@localhost) by moat.pweh.com (8.8.8/8.8.8) id RAA22065; Tue, 13 Feb 2001 17:16:13 -0500 (EST) Received: from drawbridge.eh.pweh.com(191.29.71.250) by moat.pweh.com via smap (4.1) id xma022022; Tue, 13 Feb 01 17:15:59 -0500 Received: (from uucp@localhost) by drawbridge.eh.pweh.com (8.8.8/8.8.8) id RAA19776; Tue, 13 Feb 2001 17:15:55 -0500 (EST) Received: from engines.pratt-whitney.com(192.168.4.71) by drawbridge.eh.pweh.com via smap (4.0a) id xma019725; Tue, 13 Feb 01 17:15:38 -0500 Received: (from uucp@localhost) by engines.pratt-whitney.com (8.10.0/8.10.0) id f1DMFak22121; Tue, 13 Feb 2001 17:15:36 -0500 (EST) Received: from unknown(191.29.171.2) by engines.pratt-whitney.com via smap (V5.5) id xma021948; Tue, 13 Feb 01 17:15:24 -0500 Received: from ehposrv5.eh.pweh.com by pweh711.eh.pweh.com (SMI-8.6/SMI-SVR4) id RAA23671; Tue, 13 Feb 2001 17:15:21 -0500 Received: by ehposrv5.eh.pweh.com with Internet Mail Service (5.5.2650.21) id ; Tue, 13 Feb 2001 17:15:21 -0500 Message-ID: From: "Connolly, Steven V." To: =?iso-8859-1?Q?=27Jan_B=F6hm=27?= Cc: "'info-inventor-dev@oss.sgi.com'" Subject: RE: OpenInventor on SUN, X error Date: Tue, 13 Feb 2001 17:15:20 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Thanks for the input. I guess I'm more comfortable with an application (vs system) fix for the problem though. I have had luck implementing a software fix for the 'overlay plane' problem. When compiled with a newly created "NO_OVERLAY_PLANES" flag, OpenInventor does not create the popup menus in the overlay planes. Now all the functionality of the viewers (decorations, popup menus, thumbwheels, etc.) appear to work with one exception. When using the middle mouse button to translate the scene in the X or Y direction, the object zooms out of view very quickly as though the translation amounts are accumulating exponentially. I'll bet this is a common thing for those who have experience with X and Motif interfaces. If you have any ideas, please let me know. Thanks. For those interested in the details for the "NO_OVERLAY_PLANES" flag... Taking from the example on p. 366 of Mark Kilgard's "OpenGL Programming for the X Window System" which I somehow miraculously found, In the methods: "SoXtFullViewer::buildPopupMenu()" "SoXtFullViewer::buildFunctionsSubmenu()" "SoXtFullViewer::buildDrawStyleSubmenu()" "SoXtMtlEdit::buildPulldownMenu()" I made a change along the lines of: #ifdef NO_OVERLAY_PLANES // my addition. // this line replaces the lines below (see last // two args! popupWidget = XmCreatePopupMenu(mgrWidget, "menu", NULL, 0); // <-my add! #endif // my addition. #ifndef NO_OVERLAY_PLANES // my addition // the following lines up to the last #endif are // untouched from the original source. // create popup and register routine to pop the menu n = 0; #ifdef MENUS_IN_POPUP SoXt::getPopupArgs(XtDisplay(mgrWidget), SCREEN(mgrWidget), args, &n); #endif popupWidget = XmCreatePopupMenu(mgrWidget, "menu", args, n); #ifdef MENUS_IN_POPUP // register callbacks to load/unload the pulldown //colormap when the pulldown menu is posted. SoXt::registerColormapLoad(popupWidget, SoXt::getShellWidget(mgrWidget)); #endif #endif // no overlay planes. - NOTE: SoXtRenderArea has a bunch of methods for rendering into the overlay planes. I did not alter these. --------------------------- Steven Connolly CSC/Pratt & Whitney connolsv@pweh.com --------------------------- > ---------- > From: Jan Böhm[SMTP:jan.boehm@ifp.uni-stuttgart.de] > Sent: Tuesday, February 13, 2001 5:50 AM > To: Connolly, Steven V. > Cc: 'info-inventor-dev@oss.sgi.com' > Subject: Re: OpenInventor on SUN, X error > > <> > Unfortunatley, I haven't gotten as far as you in compiling, so I can not > try for myself: Isn't it that ffbconfig controls the overlay visulas on > Sun? > > > ffbconfig -defoverlay false > > will disable overlays, resulting in > > ffbconfig -propt > > --- OpenWindows Configuration for /dev/fbs/ffb0 --- > OWconfig: machine > Video Mode: 1152x900x76 > Default Visual: Non-Linear Normal Visual > Visual Ordering: Linear Visuals are last > Overlay Visuals are last > OpenGL Visual Expansion: enabled > Server Overlay Visuals: disabled > Extended Overlay: disabled > Allocated WIDs: 32 > Gamma Correction Value: 2.220000 > Gamma Correction Table: Available > > > Jan > > > -- > ----------------------------------------------------------------- > _/_/_/ _/ _/ Jan Boehm Dipl.-Inform. M.Sc. > _/_/_/ _/ _/_/ Institut fuer Photogrammetrie > _/_/_/ _/ _/_/ _/ _/ Universitaet Stuttgart > _/_/_/ _/ _/ _/_/ Geschwister-Scholl-Str. 24 > _/ _/ D-70174 Stuttgart > ----------------------------------------------------------------- > Tel : +49-711-121-4110 Email : jan.boehm@ifp.uni-stuttgart.de > Fax : +49-711-121-3297 WWW : www.ifp.uni-stuttgart.de > ----------------------------------------------------------------- > From owner-info-inventor-dev@oss.sgi.com Sat Feb 24 21:53:16 2001 Received: by oss.sgi.com id ; Sat, 24 Feb 2001 21:53:06 -0800 Received: from spade.pacific.net.sg ([203.120.90.71]:19670 "EHLO spade.pacific.net.sg") by oss.sgi.com with ESMTP id ; Sat, 24 Feb 2001 21:52:41 -0800 Received: from pop2.pacific.net.sg (pop2.pacific.net.sg [203.120.90.86]) by spade.pacific.net.sg with ESMTP id f1P5qbL09556 for ; Sun, 25 Feb 2001 13:52:37 +0800 (SGT) Received: from pacific.net.sg (ppp245.dyn86.pacific.net.sg [210.24.86.245]) by pop2.pacific.net.sg with ESMTP id NAA20703 for ; Sun, 25 Feb 2001 13:52:36 +0800 (SGT) Message-ID: <3A989E3A.3A7A8684@pacific.net.sg> Date: Sun, 25 Feb 2001 13:55:06 +0800 From: Ang Bodhi X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: info-inventor-dev@oss.sgi.com Subject: Open Inventor with Gtk+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hi Inventors, I'm porting Open Inventor's libInventorXt library to Gtk+. The new library libInventorGtk is now able to compile and run with most of the sample and demo applications. You can get more information and the source from http://www.geocities.com/angbodhi/download/ The steps to build everything: 1. Build and install the required libraries. glib-1.2.8.tgz gtk+-1.2.8.tgz libgtkgl-1.2.2.tgz 2. Apply a patch to add SoGdkWindowElement to libInventor.so $ cd $IVROOT $ patch -p1 ; Mon, 26 Feb 2001 08:16:20 -0800 Received: from trh.sim.no ([195.1.220.136]:40942 "HELO sim.no") by oss.sgi.com with SMTP id ; Mon, 26 Feb 2001 08:16:02 -0800 Received: (qmail 7937 invoked by uid 2000); 26 Feb 2001 16:14:34 -0000 Date: Mon, 26 Feb 2001 17:14:34 +0100 From: "Lars J. Aas" To: Ang Bodhi Cc: info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ Message-ID: <20010226171434.A7708@sim.no> References: <3A989E3A.3A7A8684@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A989E3A.3A7A8684@pacific.net.sg>; from angbodhi@pacific.net.sg on Sun, Feb 25, 2001 at 01:55:06PM +0800 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Sun, Feb 25, 2001 at 01:55:06PM +0800, Ang Bodhi wrote: : Hi Inventors, Ditto, I just want to point out that there's also another SoGtk out there (LGPL) at http://www.coin3d.org/. Install by running "configure --with-inventor" (--with-inventor= in case your Inventor isn't installed in a default place) and then "make install". CVS direct with cvs -d :pserver:cvs@cvs.coin3d.org/export/cvsroot login (password "cvs") cvs -d :pserver:cvs@cvs.coin3d.org/export/cvsroot co SoGtk or get the latest nightly snapshot at ftp://ftp.coin3d.org/pub/snapshots/SoGtk-latest.tar.gz This SoGtk also requires the gtkglarea widget. Cheers, Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' From owner-info-inventor-dev@oss.sgi.com Mon Feb 26 11:36:32 2001 Received: by oss.sgi.com id ; Mon, 26 Feb 2001 11:36:23 -0800 Received: from jalon.able.es ([212.97.163.2]:23433 "EHLO jalon.able.es") by oss.sgi.com with ESMTP id ; Mon, 26 Feb 2001 11:36:09 -0800 Received: from correo.able.es ([212.97.169.185]) by jalon.able.es (Netscape Messaging Server 4.15) with SMTP id G9DQEO00.DQP; Mon, 26 Feb 2001 20:35:12 +0100 Date: Mon, 26 Feb 2001 20:34:24 +0100 From: "J . A . Magallon" To: "Lars J . Aas" Cc: Ang Bodhi , info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ Message-ID: <20010226203424.A2354@werewolf.able.es> References: <3A989E3A.3A7A8684@pacific.net.sg> <20010226171434.A7708@sim.no> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20010226171434.A7708@sim.no>; from larsa@sim.no on Mon, Feb 26, 2001 at 17:14:34 +0100 X-Mailer: Balsa 1.1.1 Content-Length: 744 Lines: 19 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On 02.26 Lars J. Aas wrote: > > I just want to point out that there's also another SoGtk out there (LGPL) > at http://www.coin3d.org/. Install by running "configure --with-inventor" > (--with-inventor= in case your Inventor isn't installed in a default > place) and then "make install". > What would be nicer is to have only a common SoGUI interface and choose at compile time. If people can point me to all the gui implementations that exist now, I can try to extract a common interface to all of them. -- J.A. Magallon $> cd pub mailto:jamagallon@able.es $> more beer Linux werewolf 2.4.2-ac4 #2 SMP Mon Feb 26 00:21:23 CET 2001 i686 From owner-info-inventor-dev@oss.sgi.com Mon Feb 26 12:31:53 2001 Received: by oss.sgi.com id ; Mon, 26 Feb 2001 12:31:43 -0800 Received: from trh.sim.no ([195.1.220.136]:56817 "HELO sim.no") by oss.sgi.com with SMTP id ; Mon, 26 Feb 2001 12:31:37 -0800 Received: (qmail 10394 invoked by uid 2000); 26 Feb 2001 20:31:31 -0000 Date: Mon, 26 Feb 2001 21:31:31 +0100 From: "Lars J. Aas" To: "J . A . Magallon" Cc: Ang Bodhi , info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ Message-ID: <20010226213131.A10082@sim.no> References: <3A989E3A.3A7A8684@pacific.net.sg> <20010226171434.A7708@sim.no> <20010226203424.A2354@werewolf.able.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010226203424.A2354@werewolf.able.es>; from jamagallon@able.es on Mon, Feb 26, 2001 at 08:34:24PM +0100 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Mon, Feb 26, 2001 at 08:34:24PM +0100, J . A . Magallon wrote: : On 02.26 Lars J. Aas wrote: : > I just want to point out that there's also another SoGtk out there (LGPL) : > at http://www.coin3d.org/. Install by running "configure --with-inventor" : > (--with-inventor= in case your Inventor isn't installed in a default : > place) and then "make install". : : What would be nicer is to have only a common SoGUI interface and choose : at compile time. : If people can point me to all the gui implementations that exist now, I : can try to extract a common interface to all of them. It's a nice idea (I've thought about it myself), but implementing it will be a mess (what can you expect - it's C++ :-/). I'm therefore using kind of the opposite approach for GUI-agnostic applications - writing "Autoconf-templatized" code with substitution keywords in the code (I write e.g. @Gui@ instead of Xt/Gtk/Qt). It's an extra effort to set up, more cludgy to write, but then I don't have to worry about using a lowest common denominator interface that doesn't really fully support inheritance with virtual method overloading like it ought to do and which is always less advanced than the least developed supported toolkit, and since there isn't an interface that has to support the toolkit I don't have to worry about that either. Anyways, if you still want to try, you have SoQt, SoGtk, SoXt and an almost functional SoWin at www.coin3d.org. You have SGI's SoXt (which TGS probably have worked further on and should be considered a separate branch), TGS' SoWin, Ang Bodhi's SoGtk, and there is also an SoXt implementation for another Inventor clone called Scene (but I think it's safe to consider that project dead now). There are probably more, and the family will expand even further in the future... Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' From owner-info-inventor-dev@oss.sgi.com Mon Feb 26 16:54:03 2001 Received: by oss.sgi.com id ; Mon, 26 Feb 2001 16:53:53 -0800 Received: from sunny.pacific.net.sg ([203.120.90.127]:56008 "EHLO sunny.pacific.net.sg") by oss.sgi.com with ESMTP id ; Mon, 26 Feb 2001 16:53:45 -0800 Received: from pop1.pacific.net.sg (pop1.pacific.net.sg [203.120.90.85]) by sunny.pacific.net.sg with ESMTP id f1R0rdA22137; Tue, 27 Feb 2001 08:53:39 +0800 (SGT) Received: from pacific.net.sg (ppp19.dyn88.pacific.net.sg [210.24.88.19]) by pop1.pacific.net.sg with ESMTP id IAA07688; Tue, 27 Feb 2001 08:53:35 +0800 (SGT) Message-ID: <3A9AFB20.56A49B8A@pacific.net.sg> Date: Tue, 27 Feb 2001 08:56:00 +0800 From: Ang Bodhi X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Lars J. Aas" CC: "J . A . Magallon" , info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ References: <3A989E3A.3A7A8684@pacific.net.sg> <20010226171434.A7708@sim.no> <20010226203424.A2354@werewolf.able.es> <20010226213131.A10082@sim.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing "Lars J. Aas" wrote: > I'm therefore using kind of the opposite approach for GUI-agnostic > applications - writing "Autoconf-templatized" code with substitution > keywords in the code (I write e.g. @Gui@ instead of Xt/Gtk/Qt). It's an > extra effort to set up, more cludgy to write, but then I don't have to > worry about using a lowest common denominator interface that doesn't > really fully support inheritance with virtual method overloading like it > ought to do and which is always less advanced than the least developed > supported toolkit, and since there isn't an interface that has to > support the toolkit I don't have to worry about that either. Just to point out the difference. I've noticed Coin's SoGtk source which as Lars J.Aas say, is partially templatized, and is an independent effort to write an So@Gui@ before OI source is available. But after looking at SGI's SoXt's source, I think it is not very difficult to write a SoGtk basing on it. So I experimented with this approach and it work. The new libSoGtk is the result. The disadvantage is this becomes an independent branch and has to be maintained separately. I figure that SGI's SoXt is quite mature now, and it should be possible to use cvs to track delta changes to SoXt tree so similar changes can be applied to the SoGtk code. The SoGtk actually mirror SoXt quite closely. I've also been thinking of writing native OI gtk widgets, eg. GtkExaminerViewer widget which can be created with function gtk_examiner_viewer_new(). But this will mix C with C++, and it require more work. > Anyways, if you still want to try, you have SoQt, SoGtk, SoXt and an > almost functional SoWin at www.coin3d.org. You have SGI's SoXt (which > TGS probably have worked further on and should be considered a separate > branch), TGS' SoWin, Ang Bodhi's SoGtk, and there is also an SoXt > implementation for another Inventor clone called Scene (but I think it's > safe to consider that project dead now). There are probably more, and > the family will expand even further in the future... Scene is my previous effort to clone OI, well, it is now stopped. There were an SoXt and SoGtk lib then, but there is no point to use them now. The experience of wrting an SoGtk for Scene is used to write this current SoGtk lib, with a little code reuse too :-) Besides the libSoGtk, the sample and demos are also converted to Gtk, I think these sample apps should be usable with any SoGtk (perhaps with a little tweak). Cheers, From owner-info-inventor-dev@oss.sgi.com Tue Feb 27 03:22:40 2001 Received: by oss.sgi.com id ; Tue, 27 Feb 2001 03:22:30 -0800 Received: from trh.sim.no ([195.1.220.136]:38139 "HELO sim.no") by oss.sgi.com with SMTP id ; Tue, 27 Feb 2001 03:22:21 -0800 Received: (qmail 16291 invoked by uid 2000); 27 Feb 2001 11:22:18 -0000 Date: Tue, 27 Feb 2001 12:22:18 +0100 From: "Lars J. Aas" To: Ang Bodhi Cc: "J . A . Magallon" , info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ Message-ID: <20010227122218.A16129@sim.no> References: <3A989E3A.3A7A8684@pacific.net.sg> <20010226171434.A7708@sim.no> <20010226203424.A2354@werewolf.able.es> <20010226213131.A10082@sim.no> <3A9AFB20.56A49B8A@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A9AFB20.56A49B8A@pacific.net.sg>; from angbodhi@pacific.net.sg on Tue, Feb 27, 2001 at 08:56:00AM +0800 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Tue, Feb 27, 2001 at 08:56:00AM +0800, Ang Bodhi wrote: : "Lars J. Aas" wrote: : > Anyways, if you still want to try, you have SoQt, SoGtk, SoXt and an : > almost functional SoWin at www.coin3d.org. You have SGI's SoXt (which : > TGS probably have worked further on and should be considered a separate : > branch), TGS' SoWin, Ang Bodhi's SoGtk, and there is also an SoXt : > implementation for another Inventor clone called Scene (but I think it's : > safe to consider that project dead now). There are probably more, and : > the family will expand even further in the future... : : Scene is my previous effort to clone OI, well, it is now stopped. There : were an SoXt and SoGtk lib then, but there is no point to use them now. : The experience of wrting an SoGtk for Scene is used to write this : current SoGtk lib, with a little code reuse too :-) Right. I confused you with Guy Barrand who is the author of SoFree (yet another Open Inventor clone). SoFree also comes with an SoGtk library :) (which is why I was confused) amongst others, and I believe he even has it running on Windows. It seems like the SoFree effort may have stopped too, though. Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy' From owner-info-inventor-dev@oss.sgi.com Tue Feb 27 06:21:10 2001 Received: by oss.sgi.com id ; Tue, 27 Feb 2001 06:21:01 -0800 Received: from asa.lal.in2p3.fr ([134.158.91.28]:48392 "EHLO asa.lal.in2p3.fr") by oss.sgi.com with ESMTP id ; Tue, 27 Feb 2001 06:20:43 -0800 Received: from pc-gbp.lal.in2p3.fr (IDENT:barrand@pc-89026.lal.in2p3.fr [134.158.89.26]) by asa.lal.in2p3.fr (8.9.3/8.9.1) with ESMTP id PAA1101965; Tue, 27 Feb 2001 15:20:17 +0100 (CET) Date: Tue, 27 Feb 2001 15:25:10 +0100 (CET) From: Guy Barrand To: "Lars J. Aas" cc: Ang Bodhi , "J . A . Magallon" , info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor with Gtk+ In-Reply-To: <20010227122218.A16129@sim.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Tue, 27 Feb 2001, Lars J. Aas wrote: > On Tue, Feb 27, 2001 at 08:56:00AM +0800, Ang Bodhi wrote: > : "Lars J. Aas" wrote: > : > Anyways, if you still want to try, you have SoQt, SoGtk, SoXt and an > : > almost functional SoWin at www.coin3d.org. You have SGI's SoXt (which > : > TGS probably have worked further on and should be considered a separate > : > branch), TGS' SoWin, Ang Bodhi's SoGtk, and there is also an SoXt > : > implementation for another Inventor clone called Scene (but I think it's > : > safe to consider that project dead now). There are probably more, and > : > the family will expand even further in the future... > : > : Scene is my previous effort to clone OI, well, it is now stopped. There > : were an SoXt and SoGtk lib then, but there is no point to use them now. > : The experience of wrting an SoGtk for Scene is used to write this > : current SoGtk lib, with a little code reuse too :-) > > Right. I confused you with Guy Barrand who is the author of SoFree (yet > another Open Inventor clone). SoFree also comes with an SoGtk library :) > (which is why I was confused) amongst others, and I believe he even has > it running on Windows. It seems like the SoFree effort may have stopped > too, though. For info ; SoFree (and coworking SoGtk, SoQt, SoAwt packages) are still alive. The plan is to pass our software (we do visualization for high energy physic experiments) that uses SoFree to the free SGI Inventor when possible. The problem is that with SoFree I am able to install/run fluently on Windows and a bunch of UNIXes (Linux, OSF1, SunOS, HP-UX) along with the support of a bunch of GUI (Xm, Win32, gtk, Qt and now java/awt (a hell to have that !)). Our plan will be to migrate our software to something else, but we must check that we are able to run in same conditions that what we have today (especially on Windows)... The idea will be to migrate first to a more free richer kernel (the non GUI things) than the SoFree one (our things run already with the SGI Inventor kernel on Linux) and then, in a second step, to migrate perhaps to other gtk, qt, Win32, java GUI front end ; my guess is that probably one year will be needed for us before waving goodbye to SoFree and coworking packages. About the gtk, Qt, Win32 (and java ?) GUI front ends, it is clear that I strongly support any other tentative that will be included in the SGI Inventor distrib ; it will be less work for me in the future... Regards Guy Barrand ------------------------------------------------------------- Guy Barrand e-mail: barrand@lal.in2p3.fr LAL Tel: +33 (1) 64 46 84 17 Universite de Paris-Sud Fax: +33 (1) 69 07 94 04 B.P 34 91898 ORSAY CEDEX France CERN Tel: 41 22 76 78696 (B02-R013) ------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Wed Feb 28 01:29:49 2001 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 01:29:29 -0800 Received: from asa.lal.in2p3.fr ([134.158.91.28]:25873 "EHLO asa.lal.in2p3.fr") by oss.sgi.com with ESMTP id ; Wed, 28 Feb 2001 01:29:10 -0800 Received: from pc-gbp.lal.in2p3.fr (IDENT:barrand@pc-89026.lal.in2p3.fr [134.158.89.26]) by asa.lal.in2p3.fr (8.9.3/8.9.1) with ESMTP id KAA1201642 for ; Wed, 28 Feb 2001 10:29:08 +0100 (CET) Date: Wed, 28 Feb 2001 10:34:02 +0100 (CET) From: Guy Barrand To: info-inventor-dev@oss.sgi.com Subject: Open Inventor / GUI / widgets In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Hello Inventors In the previous mails about handling GUI front ends for Inventor, someone mention the writting of specific widgets for Inventor (I think it was Lars about having a GtkExaminerViewer for gtk+). In fact, I think that this is the right way to proceed. In general, people want to use GUI builder to build they own GUI and then dedicated widgets for Inventor viewers are needed anyway. When writting a widget (for example an Xt, a Gtk or a Qt one) someone quickly discover that the "SoXt, SoGtk,..." binding induces an unnecessary layer of software. In fact what is needed is to be able to isolate the code that handles the "scene" management logic attached to viewers (for example animation, camera finding/setting) that are in the SoXtViewer, SoXtExaminerviewer classes and is then duplicated when doing the SoGtk, SoQt versions. Then I think that something like some "SoViewerManager, SoExaminerViewerManager,..." classes. to handle "viewer scene management" would be very welcome and would ease the development of the various widgets for Xt, gtk+, qt, Windows, awt etc... Regards Guy Barrand ------------------------------------------------------------- Guy Barrand e-mail: barrand@lal.in2p3.fr LAL Tel: +33 (1) 64 46 84 17 Universite de Paris-Sud Fax: +33 (1) 69 07 94 04 B.P 34 91898 ORSAY CEDEX France CERN Tel: 41 22 76 78696 (B02-R013) ------------------------------------------------------------- From owner-info-inventor-dev@oss.sgi.com Wed Feb 28 02:56:08 2001 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 02:55:49 -0800 Received: from www.faw.uni-ulm.de ([134.60.100.4]:64373 "HELO www.faw.uni-ulm.de") by oss.sgi.com with SMTP id ; Wed, 28 Feb 2001 02:55:23 -0800 Received: (qmail 13651 invoked from network); 28 Feb 2001 10:55:17 -0000 Received: from ultra2.faw.uni-ulm.de (HELO mailserv.faw.uni-ulm.de) (134.60.101.174) by www-intern.faw.uni-ulm.de with SMTP; 28 Feb 2001 10:55:17 -0000 Received: (qmail 4147 invoked by uid 0); 28 Feb 2001 10:55:16 -0000 Received: from dialin10.faw.uni-ulm.de (HELO faw.uni-ulm.de) (corsepiu@172.18.1.10) by mailserv.faw.uni-ulm.de with SMTP; 28 Feb 2001 10:55:16 -0000 Message-ID: <3A9CD9D9.C872BDE7@faw.uni-ulm.de> Date: Wed, 28 Feb 2001 11:58:33 +0100 From: Ralf Corsepius Reply-To: corsepiu@faw.uni-ulm.de Organization: Ralf Corsepius X-Mailer: Mozilla 4.76 [de] (X11; U; Linux 2.2.18-SMP i686) X-Accept-Language: de-DE, en MIME-Version: 1.0 To: Guy Barrand CC: info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor / GUI / widgets References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing Guy Barrand wrote: > > Hello Inventors > > In the previous mails about handling > GUI front ends for Inventor, someone mention > the writting of specific widgets for Inventor > (I think it was Lars about having a GtkExaminerViewer > for gtk+). > > In fact, I think that this is the right way to proceed. Whole-heartly agreed. > In fact what is needed is to be able to isolate the code > that handles the "scene" management logic attached > to viewers (for example animation, camera finding/setting) > that are in the SoXtViewer, SoXtExaminerviewer classes > and is then duplicated when doing the SoGtk, SoQt versions. SIM's (Lars) SoAny* classes are sort of an attempt into this direction, but .. > Then I think that something like some "SoViewerManager, > SoExaminerViewerManager,..." > classes. to handle "viewer scene management" would be very welcome > and would ease the development of the various widgets for Xt, gtk+, qt, > Windows, awt etc... Excellent proposal. FWIW: IMO, it's long overdue to start such an effort and to bring together all the different and competing InventorXt ports. Ralf -- Ralf Corsepius Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW) Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690 mailto:corsepiu@faw.uni-ulm.de FAX: +49/731/501-999 http://www.faw.uni-ulm.de From owner-info-inventor-dev@oss.sgi.com Wed Feb 28 04:39:39 2001 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 04:39:29 -0800 Received: from trh.sim.no ([195.1.220.136]:21751 "HELO sim.no") by oss.sgi.com with SMTP id ; Wed, 28 Feb 2001 04:39:06 -0800 Received: (qmail 30335 invoked by uid 2000); 28 Feb 2001 12:38:59 -0000 Date: Wed, 28 Feb 2001 13:38:59 +0100 From: "Lars J. Aas" To: Guy Barrand Cc: info-inventor-dev@oss.sgi.com Subject: Re: Open Inventor / GUI / widgets Message-ID: <20010228133859.A30171@sim.no> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barrand@lal.in2p3.fr on Wed, Feb 28, 2001 at 10:34:02AM +0100 Sender: owner-info-inventor-dev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-dev-outgoing On Wed, Feb 28, 2001 at 10:34:02AM +0100, Guy Barrand wrote: : Hello Inventors : : In the previous mails about handling : GUI front ends for Inventor, someone mention : the writting of specific widgets for Inventor : (I think it was Lars about having a GtkExaminerViewer : for gtk+). It wasn't me, but I've also thought that native widgets is a better solution than the SoGui components for a long time. They won't beat the convenience of the typical 5-lines-of-code examples you can make with the current API, but that's about the one thing the current design is really excellent at. Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes, `The Hudsucker Proxy'