From owner-inventor@oss.sgi.com Sat Nov 4 13:45:10 2000 Received: by oss.sgi.com id ; Sat, 4 Nov 2000 13:44:51 -0800 Received: from mail.cs.tu-berlin.de ([130.149.17.13]:3802 "EHLO mail.cs.tu-berlin.de") by oss.sgi.com with ESMTP id ; Sat, 4 Nov 2000 13:44:22 -0800 Received: from freno.cs.tu-berlin.de (haykel@freno.cs.tu-berlin.de [130.149.17.167]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id WAA21573; Sat, 4 Nov 2000 22:33:54 +0100 (MET) Received: (from haykel@localhost) by freno.cs.tu-berlin.de (8.9.3/8.9.0) id WAA22747; Sat, 4 Nov 2000 22:33:52 +0100 (MET) Date: Sat, 4 Nov 2000 22:33:52 +0100 From: Haykel ben Jemia To: info-inventor@oss.sgi.com Cc: Haykel ben Jemia Subject: Strange behavior of SoXt:init or am I missing something? Message-ID: <20001104223352.A22278@freno.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Hi, I'm learning to program with X Windows and OpenInventor and I encountered the following problem: * the following test programs test1 and test2 both compile, but while test2 is working fine, I receive the following error message with test1: Error: attempt to add non-widget child "DropSiteManager" to parent "test1" which supports only widgets * I noticed after some experiments that I can make test1 work if I add a widget library to link the program with when compiling (like: -lXm, -lXaw or -lXaw3d), without even changing the code. Is this normal?? Why is test2 working even if I don't link with one of these widget libs?? Why is the code compiling if one of these libraries is needed?? And what I REALLY DON'T understand is: AREN'T BOTH PROGRMAS DOING EXACTLY THE SAME THING??? My System: Linux Mandrake 7.2 RC-1 Kernel: 2.2.17-21mdk Inventor: sgi-OpenInventor-devel-2.1.5-6.i386.rpm X Server: XFree86-server-4.0.1-26mdk Graphics chip: NVIDIA TNT2 --------------------- test1 ----------------------------- #include #include #include #include int main(int argc, char *argv[]) { XtAppContext appContext; cout << "Test 1: XtAppInitialize + SoXt::init(widget)" << endl; Widget mainApp = XtAppInitialize(&appContext, "TestClass", NULL, 0, (int *) &argc, argv, NULL, NULL ,0); SoXt::init(mainApp); SoXtExaminerViewer *view = new SoXtExaminerViewer(mainApp); view->setSceneGraph(new SoCone); view->show(); SoXt::show(mainApp); SoXt::mainLoop(); return 0; } --------------------- test1 ----------------------------- --------------------- test2 ----------------------------- #include #include #include #include int main(int argc, char *argv[]) { cout << "Test 2: SoXt::init(argv[0]) only" << endl; Widget mainApp = SoXt::init(argv[0], "TestClass"); SoXtExaminerViewer *view = new SoXtExaminerViewer(mainApp); view->setSceneGraph(new SoCone); view->show(); SoXt::show(mainApp); SoXt::mainLoop(); return 0; } --------------------- test2 ----------------------------- --------------------- Makefile -------------------------- all: test1 test2 test1: test1.c++ g++ -o test1 test1.c++ -I/usr/X11R6/include -lInventorXt \ # -L/usr/X11R6/lib -lXaw # Uncomment the line above to make test1 work! Why ???? test2: test2.c++ g++ -o test2 test2.c++ -I/usr/X11R6/include -lInventorXt # test2 doesn't need such a line!! --------------------- Makefile -------------------------- Please send a copy of your answer to me directly. Thank you for your help, Haykel -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Haykel Ben Jemia _/_/_/_/_/ _/ Mail : Haykel@cs.tu-berlin.de _/ _/ Voice : ++49-030-306 28 85 _/_/ _/ ICQ : 5130782_/_/_/_/_/_/_/_/_/_/ _/_/_/_/_/_/_/_/ From owner-inventor@oss.sgi.com Mon Nov 6 22:12:06 2000 Received: by oss.sgi.com id ; Mon, 6 Nov 2000 22:11:56 -0800 Received: from foofoo.demon.nl ([212.238.104.35]:37381 "EHLO marx.") by oss.sgi.com with ESMTP id ; Mon, 6 Nov 2000 22:11:45 -0800 Received: from localhost (root@localhost) by marx. (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id HAA20786; Mon, 6 Nov 2000 07:10:00 +0100 Date: Mon, 6 Nov 2000 07:09:59 +0100 (CET) From: Johan Jansson X-Sender: root@marx. To: Jonathan Lim cc: info-inventor@oss.sgi.com Subject: Re: Updates In-Reply-To: <200010302237.OAA16540@kinabalu.csd.sgi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Mon, 30 Oct 2000, Jonathan Lim wrote: > Hi all, > > I've uploaded new RPM and tar files incorporating the latest fixes in the tree > to the FTP area. Please let me know if there are any problems. Thanks. > Very nice. I got the source from CVS (I don't think the source distribution in the FTP is updated?) and tried compiling it again. There were only two errors this time: SoText2.c++:780: passing `const char **' as argument 2 of `iconv(void *, char **, size_t *, char **, size_t *)' discards qualifiers SoText2.c++: In method `GLubyte * SoBitmapFontCache::createUniFontList(const char *, float)': make[5]: *** [SoText2.o] Error 1 SoText3.c++:2269: passing `const char **' as argument 2 of `iconv(void *, char **, size_t *, char **, size_t *)' discards qualifiers make[5]: *** [SoText3.o] Error 1 and they can be fixed by removing "const" from the cast. I have to say I'm a bit confused by these kinds of errors, do different compilers (and different versions of gcc) really treat const errors so differently? Anyway, I suppose these are pretty minor issues. I also had some problems compiling and running the apps relying on libGLw (GL widgets), but I think this problem is on my end. As far as I can see, that library (with accompanying headers) is supposed to be included with Mesa. I think it's because I use the utah-glx GL libraries that it's not included. I've tried installing libGLw separately, but then I get some missing symbols when linking. Is anyone else having problems with this? Johan From owner-inventor@oss.sgi.com Tue Nov 7 00:43:47 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 00:43:38 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:89 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 00:43:35 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id AAA25558 for ; Tue, 7 Nov 2000 00:35:45 -0800 (PST) mail_from (flynnt@engr.sgi.com) Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id AAA30381 for ; Tue, 7 Nov 2000 00:41:49 -0800 (PST) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id AAA20629; Tue, 7 Nov 2000 00:38:32 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Tue, 7 Nov 2000 00:38:32 -0800 From: Tom Flynn To: Johan Jansson cc: info-inventor@oss.sgi.com Subject: Re: Updates In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Mon, 6 Nov 2000, Johan Jansson wrote: > and they can be fixed by removing "const" from the cast. I have to say I'm > a bit confused by these kinds of errors, do different compilers (and > different versions of gcc) really treat const errors so > differently? Anyway, I suppose these are pretty minor issues. I wouldn't be surprised. > I also had some problems compiling and running the apps relying on libGLw > (GL widgets), but I think this problem is on my end. As far as I can see, > that library (with accompanying headers) is supposed to be included with > Mesa. I think it's because I use the utah-glx GL libraries that it's not > included. I've tried installing libGLw separately, but then I get some > missing symbols when linking. Is anyone else having problems with this? I've seen some strangeness with getting something like 'glwMDrawingAreaWidgetClass' as an undefined reference. If I #define glwMDrawingAreaWidgetClass to glwDrawingAreaWidgetClass, it links fine. I don't see this problem on my SGI-230 / SGI-330. hope that helps, tom -- "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-inventor@oss.sgi.com Tue Nov 7 07:45:20 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 07:45:11 -0800 Received: from Post-Office.UH.EDU ([129.7.1.20]:55312 "EHLO Post-Office.UH.EDU") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 07:44:47 -0800 Received: from CONVERSION-DAEMON by Post-Office.UH.EDU (PMDF V5.2-32 #40812) id <0G3N00301VONGX@Post-Office.UH.EDU> for info-inventor@oss.sgi.com; Tue, 7 Nov 2000 09:43:59 -0600 (CST) Received: from CS.UH.EDU (zeus.cs.uh.edu [129.7.192.1]) by Post-Office.UH.EDU (PMDF V5.2-32 #40812) with SMTP id <0G3N003KMVOBZU@Post-Office.UH.EDU> for info-inventor@oss.sgi.com; Tue, 07 Nov 2000 09:43:30 -0600 (CST) Received: from pegasus (pegasus.cs.uh.edu) by CS.UH.EDU (COSC/UH-zeus) id AA08616; Tue, 07 Nov 2000 09:42:10 -0600 (CST) Date: Tue, 07 Nov 2000 09:41:50 -0600 (CST) From: Simon Su Subject: Help installing OpenInventor for RH7.0 X-Sender: ssu@pegasus To: info-inventor@oss.sgi.com Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Greetings, When I tried to install OpenInventor using the RPM downloaded from the sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 Any suggestion what other package to install? Thanks Simon From owner-inventor@oss.sgi.com Tue Nov 7 11:11:40 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 11:11:31 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:26657 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 11:11:08 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA24907 for ; Tue, 7 Nov 2000 11:03:18 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA27827 for ; Tue, 7 Nov 2000 11:10:37 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id LAA49431; Tue, 7 Nov 2000 11:08:34 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011071908.LAA49431@kinabalu.csd.sgi.com> Subject: Re: Updates To: j.jansson@io.tudelft.nl (Johan Jansson) Date: Tue, 7 Nov 2000 11:08:33 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: from "Johan Jansson" at Nov 06, 2000 07:09:59 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Sun Nov 5 22:09:59 2000, j.jansson@io.tudelft.nl wrote: > > Very nice. I got the source from CVS (I don't think the source > distribution in the FTP is updated?) and tried compiling it again. There Oops. I missed that ... will create an updated tar file soon. > were only two errors this time: > > SoText2.c++:780: passing `const char **' as argument 2 of `iconv(void *, > char **, size_t *, char **, size_t *)' discards qualifiers > SoText2.c++: In method `GLubyte * > SoBitmapFontCache::createUniFontList(const char *, float)': > make[5]: *** [SoText2.o] Error 1 > > SoText3.c++:2269: passing `const char **' as argument 2 of `iconv(void *, > char **, size_t *, char **, size_t *)' discards qualifiers > make[5]: *** [SoText3.o] Error 1 The messages above don't seem to be complete. For example, the call to iconv() is not in SoBitmapFontCache::createUniFontList() as the error seems to suggest. > and they can be fixed by removing "const" from the cast. I have to say I'm > a bit confused by these kinds of errors, do different compilers (and > different versions of gcc) really treat const errors so > differently? Anyway, I suppose these are pretty minor issues. According to iconv.h from glibc-devel-2.1.3-15, the second argument to iconv() is 'const char**'. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Tue Nov 7 11:17:40 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 11:17:30 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:16164 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 11:17:21 -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 LAA26228 for ; Tue, 7 Nov 2000 11:09:31 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id LAA45071; Tue, 7 Nov 2000 11:15:23 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011071915.LAA45071@kinabalu.csd.sgi.com> Subject: Re: Help installing OpenInventor for RH7.0 To: ssu@cs.uh.edu (Simon Su) Date: Tue, 7 Nov 2000 11:15:22 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: from "Simon Su" at Nov 07, 2000 09:41:50 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Tue Nov 7 07:41:50 2000, ssu@CS.UH.EDU wrote: > > Greetings, > > When I tried to install OpenInventor using the RPM downloaded from the > sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 > and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 libvga.so.1 is a symbolic link to /usr/lib/libvga.so.?.?.? which is included in the svgalib-* package. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Tue Nov 7 12:35:01 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 12:34:51 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:35910 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 12:34:33 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA12477 for ; Tue, 7 Nov 2000 12:26:38 -0800 (PST) mail_from (flynnt@engr.sgi.com) Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id MAA43051 for ; Tue, 7 Nov 2000 12:33:57 -0800 (PST) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id MAA21340; Tue, 7 Nov 2000 12:30:55 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Tue, 7 Nov 2000 12:30:55 -0800 From: Tom Flynn To: Simon Su cc: info-inventor@oss.sgi.com Subject: Re: Help installing OpenInventor for RH7.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Tue, 7 Nov 2000, Simon Su wrote: > Greetings, > > When I tried to install OpenInventor using the RPM downloaded from the > sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 > and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 > > Any suggestion what other package to install? We don't use libvga anywhere...not sure why rpm listed that as a dependency. You should be able to install with: rpm -Uvh --nodeps I'll take a look into this. If all else fails, we'll explicitly list our dependencies in the spec file rather than have rpm figure it out when we're building the rpm. My guess though is that -lvga is on a link line for some sample somewhere and it doesn't need to be. -tom -- "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-inventor@oss.sgi.com Tue Nov 7 12:47:01 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 12:46:42 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:26187 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 12:46:29 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA14750 for ; Tue, 7 Nov 2000 12:38:39 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id MAA10337 for ; Tue, 7 Nov 2000 12:45:58 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) for info-inventor@oss.sgi.com id MAA50338; Tue, 7 Nov 2000 12:44:28 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011072044.MAA50338@kinabalu.csd.sgi.com> Subject: Re: Help installing OpenInventor for RH7.0 To: info-inventor@oss.sgi.com Date: Tue, 7 Nov 2000 12:44:27 -0800 (PST) In-Reply-To: from "Tom Flynn" at Nov 07, 2000 12:30:55 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-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Tue Nov 7 12:30:55 2000, flynnt@engr.sgi.com wrote: > > On Tue, 7 Nov 2000, Simon Su wrote: > > > Greetings, > > > > When I tried to install OpenInventor using the RPM downloaded from the > > sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 > > and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 > > > > Any suggestion what other package to install? > > We don't use libvga anywhere...not sure why rpm listed that as a > dependency. You should be able to install with: rpm -Uvh --nodeps This comes from my using the Mesa library on my build machine (a.k.a libGL.so). Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Tue Nov 7 16:28:54 2000 Received: by oss.sgi.com id ; Tue, 7 Nov 2000 16:28:33 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:48932 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 7 Nov 2000 16:28:23 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA25335 for ; Tue, 7 Nov 2000 16:20:32 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id QAA49334 for ; Tue, 7 Nov 2000 16:26:37 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) for info-inventor@oss.sgi.com id QAA52969; Tue, 7 Nov 2000 16:23:49 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011080023.QAA52969@kinabalu.csd.sgi.com> Subject: Re: Help installing OpenInventor for RH7.0 To: info-inventor@oss.sgi.com Date: Tue, 7 Nov 2000 16:23:49 -0800 (PST) In-Reply-To: from "Simon Su" at Nov 07, 2000 09:41:50 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Tue Nov 7 07:41:50 2000, ssu@CS.UH.EDU wrote: > > When I tried to install OpenInventor using the RPM downloaded from the > sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 > and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 I've made the necessary changes for the Inventor DSO's to be independent of libvga.so.1. I've uploaded new RPM's and tar files to the FTP area. Let me know if there are any problems. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Wed Nov 8 18:29:32 2000 Received: by oss.sgi.com id ; Wed, 8 Nov 2000 18:29:23 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:5385 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Wed, 8 Nov 2000 18:29:05 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA11953 for ; Wed, 8 Nov 2000 18:21:15 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id SAA28833 for ; Wed, 8 Nov 2000 18:27:20 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id SAA56364; Wed, 8 Nov 2000 18:23:55 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011090223.SAA56364@kinabalu.csd.sgi.com> Subject: Re: Strange behavior of SoXt:init or am I missing something? To: haykel@cs.tu-berlin.de (Haykel ben Jemia) Date: Wed, 8 Nov 2000 18:23:54 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: <20001104223352.A22278@freno.cs.tu-berlin.de> from "Haykel ben Jemia" at Nov 04, 2000 10:33:52 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-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing This appears to be a DSO loading weirdness. I was able to reproduce the problem on Red Hat 6.2. Note that if a Motif function is called at the outset, the error does not appear, e.g. insert XmStringCreateSimple("") before appContext is declared. Also, the DSO's included in the RPM's are linked against the Motif 1.x DSO (libXm.so.1). Linking against the Motif 2.x DSO (libXm.so.2) will probably result in a runtime error. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA On Sat Nov 4 13:33:52 2000, haykel@cs.tu-berlin.de wrote: > > Hi, > I'm learning to program with X Windows and OpenInventor and I encountered the > following problem: > * the following test programs test1 and test2 both compile, but while test2 > is working fine, I receive the following error message with test1: > > Error: attempt to add non-widget child "DropSiteManager" to parent "test1" which supports only widgets > > * I noticed after some experiments that I can make test1 work if I add a > widget library to link the program with when compiling (like: -lXm, -lXaw or > -lXaw3d), without even changing the code. Is this normal?? Why is test2 > working even if I don't link with one of these widget libs?? Why is the code > compiling if one of these libraries is needed?? > > And what I REALLY DON'T understand is: AREN'T BOTH PROGRMAS DOING EXACTLY THE > SAME THING??? > > My System: > Linux Mandrake 7.2 RC-1 > Kernel: 2.2.17-21mdk > Inventor: sgi-OpenInventor-devel-2.1.5-6.i386.rpm > X Server: XFree86-server-4.0.1-26mdk > Graphics chip: NVIDIA TNT2 > > --------------------- test1 ----------------------------- > #include > #include > #include > #include > > int main(int argc, char *argv[]) { > XtAppContext appContext; > > cout << "Test 1: XtAppInitialize + SoXt::init(widget)" << endl; > > Widget mainApp = XtAppInitialize(&appContext, > "TestClass", > NULL, 0, > (int *) &argc, argv, > NULL, > NULL ,0); > SoXt::init(mainApp); > > SoXtExaminerViewer *view = new SoXtExaminerViewer(mainApp); > view->setSceneGraph(new SoCone); > view->show(); > > SoXt::show(mainApp); > > SoXt::mainLoop(); > return 0; > } > --------------------- test1 ----------------------------- > > --------------------- test2 ----------------------------- > #include > #include > #include > #include > > int main(int argc, char *argv[]) { > > cout << "Test 2: SoXt::init(argv[0]) only" << endl; > > Widget mainApp = SoXt::init(argv[0], "TestClass"); > > SoXtExaminerViewer *view = new SoXtExaminerViewer(mainApp); > view->setSceneGraph(new SoCone); > view->show(); > > SoXt::show(mainApp); > > SoXt::mainLoop(); > return 0; > } > --------------------- test2 ----------------------------- > > --------------------- Makefile -------------------------- > all: test1 test2 > > test1: test1.c++ > g++ -o test1 test1.c++ -I/usr/X11R6/include -lInventorXt \ > # -L/usr/X11R6/lib -lXaw > # Uncomment the line above to make test1 work! Why ???? > > test2: test2.c++ > g++ -o test2 test2.c++ -I/usr/X11R6/include -lInventorXt > # test2 doesn't need such a line!! > --------------------- Makefile -------------------------- From owner-inventor@oss.sgi.com Thu Nov 9 01:38:44 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 01:38:24 -0800 Received: from holyrood.ed.ac.uk ([129.215.16.14]:26034 "EHLO holyrood.ed.ac.uk") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 01:38:03 -0800 Received: from ed.ac.uk (yantom.psy.ed.ac.uk [129.215.50.17]) by holyrood.ed.ac.uk (8.8.7/8.8.7) with ESMTP id JAA02560 for ; Thu, 9 Nov 2000 09:38:00 GMT Message-ID: <3A0A6CFA.30E80F3A@ed.ac.uk> Date: Thu, 09 Nov 2000 09:23:06 +0000 From: mike allerhand Reply-To: michael.allerhand@ed.ac.uk Organization: Dept of Psychology X-Mailer: Mozilla 4.5 (Macintosh; I; PPC) MIME-Version: 1.0 To: info-inventor@oss.sgi.com Subject: compile error in SoText2.c Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Compiling inventor-2.1.5-6 under RH7.0 with gcc 2.96-54 stopped at SoText.c after a few warnings and an Error 1: cannot convert 'const char **' to 'char **' for argument 2 to iconv(...). From owner-inventor@oss.sgi.com Thu Nov 9 09:15:49 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 09:15:40 -0800 Received: from Post-Office.UH.EDU ([129.7.1.20]:43014 "EHLO Post-Office.UH.EDU") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 09:15:16 -0800 Received: from CONVERSION-DAEMON by Post-Office.UH.EDU (PMDF V5.2-32 #40812) id <0G3R00G01P92HL@Post-Office.UH.EDU> for info-inventor@oss.sgi.com; Thu, 9 Nov 2000 11:15:09 -0600 (CST) Received: from CS.UH.EDU (zeus.cs.uh.edu [129.7.192.1]) by Post-Office.UH.EDU (PMDF V5.2-32 #40812) with SMTP id <0G3R00IABP92XV@Post-Office.UH.EDU>; Thu, 09 Nov 2000 11:15:02 -0600 (CST) Received: from pegasus (pegasus.cs.uh.edu) by CS.UH.EDU (COSC/UH-zeus) id AA12554; Thu, 09 Nov 2000 11:13:49 -0600 (CST) Date: Thu, 09 Nov 2000 11:13:27 -0600 (CST) From: Simon Su Subject: Re: Help installing OpenInventor for RH7.0 In-reply-to: <200011071915.LAA45071@kinabalu.csd.sgi.com> X-Sender: ssu@pegasus To: Jonathan Lim Cc: flynnt@engr.sgi.com, info-inventor@oss.sgi.com Reply-to: Simon Su Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Jonathan, Tom, Thank you so much for your suggestions. I tried to look for the svgalib-* package that you mentioned below but failed to find it anywhere. I am using RH 7.0. The search with 'ls *vga*' in the RedHat directory on both installation disk did not return anything. But I also tried out Tom's suggestion and now I have OpenInventor running on my linux box. It feels great. Thanks Anyway, if it is not too much trouble, can you also point me to where I can get the svgalib-* package? - just in case some program decide to complain when I try to compile later. For now, the sample program compile and run without fatal complain. Now if only I can get my opengl driver work under GeForce2GTS chipset and performer running without segmentation fault, I am a very happy man..... ;) Thank you again and have a great day. Simon On Tue, 7 Nov 2000, Jonathan Lim wrote: > On Tue Nov 7 07:41:50 2000, ssu@CS.UH.EDU wrote: > > > > Greetings, > > > > When I tried to install OpenInventor using the RPM downloaded from the > > sgi ftp site, I get the message saying sgi-OpenInventor-clients-2.1.5-6 > > and sgi-OpenInventor-devel-2.1.5-6.i386 requires libvga.so.1 > > libvga.so.1 is a symbolic link to /usr/lib/libvga.so.?.?.? which is included in > the svgalib-* package. > > > Jonathan Lim _ Silicon Graphics _ Mountain View > GPS Graphics Computer Systems CA, USA > From owner-inventor@oss.sgi.com Thu Nov 9 10:51:19 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 10:51:10 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:46622 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 10:50:58 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA19392 for ; Thu, 9 Nov 2000 10:43:08 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id KAA23239 for ; Thu, 9 Nov 2000 10:50:28 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id KAA59313; Thu, 9 Nov 2000 10:48:36 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011091848.KAA59313@kinabalu.csd.sgi.com> Subject: Re: compile error in SoText2.c To: michael.allerhand@ed.ac.uk Date: Thu, 9 Nov 2000 10:48:35 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: <3A0A6CFA.30E80F3A@ed.ac.uk> from "mike allerhand" at Nov 09, 2000 09:23:06 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Thu Nov 9 01:23:06 2000, michael.allerhand@ed.ac.uk wrote: > > Compiling inventor-2.1.5-6 under RH7.0 with > gcc 2.96-54 stopped at SoText.c after a few warnings > and an Error 1: > cannot convert 'const char **' to 'char **' for argument 2 > to iconv(...). I'm using glibc-devel-2.1.3-15 and /usr/include/iconv.h declares the function as follows: extern size_t iconv __P ((iconv_t __cd, __const char **__restrict __inbuf, size_t *__restrict __inbytesleft, char **__restrict __outbuf, size_t *__restrict __outbytesleft)); I have gcc 2.96 (Red Hat 6.2) and don't get any warnings or errors. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Thu Nov 9 11:02:10 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 11:02:00 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:26147 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 11:01:38 -0800 Received: from nodin.corp.sgi.com (nodin.corp.sgi.com [192.26.51.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA21580 for ; Thu, 9 Nov 2000 10:53:47 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA65701 for ; Thu, 9 Nov 2000 11:01:07 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id KAA59973; Thu, 9 Nov 2000 10:57:49 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011091857.KAA59973@kinabalu.csd.sgi.com> Subject: Re: Help installing OpenInventor for RH7.0 To: ssu@cs.uh.edu Date: Thu, 9 Nov 2000 10:57:49 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: from "Simon Su" at Nov 09, 2000 11:13:27 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Thu Nov 9 09:13:27 2000, ssu@CS.UH.EDU wrote: > > Jonathan, Tom, > > Thank you so much for your suggestions. I tried to look for the > svgalib-* package that you mentioned below but failed to find it anywhere. > I am using RH 7.0. The search with 'ls *vga*' in the RedHat directory on > both installation disk did not return anything. > > But I also tried out Tom's suggestion and now I have OpenInventor > running on my linux box. It feels great. Thanks > > Anyway, if it is not too much trouble, can you also point me to where I > can get the svgalib-* package? - just in case some program decide to > complain when I try to compile later. For now, the sample program compile > and run without fatal complain. The new RPM's and tar files in the FTP download area no longer require svgalib. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Thu Nov 9 12:09:00 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 12:08:41 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:22341 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 12:08:26 -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 MAA06178 for ; Thu, 9 Nov 2000 12:00:35 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id MAA61297; Thu, 9 Nov 2000 12:06:07 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011092006.MAA61297@kinabalu.csd.sgi.com> Subject: Re: compile error in SoText2.c To: michael.allerhand@ed.ac.uk Date: Thu, 9 Nov 2000 12:06:07 -0800 (PST) Cc: info-inventor@oss.sgi.com, cht@wsicorp.com In-Reply-To: <3A0A6CFA.30E80F3A@ed.ac.uk> from "mike allerhand" at Nov 09, 2000 09:23:06 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Thu Nov 9 01:23:06 2000, michael.allerhand@ed.ac.uk wrote: > > Compiling inventor-2.1.5-6 under RH7.0 with > gcc 2.96-54 stopped at SoText.c after a few warnings > and an Error 1: > cannot convert 'const char **' to 'char **' for argument 2 > to iconv(...). In the interest of getting SoText[23].c++ to compile on IRIX and Linux (most recent distributions anyway, from what I've seen), I'm going to remove the cast to 'const char**' that I had put in place in revision 1.2 of SoText2.c++ and revision 1.3 of SoText3.c++. >From my tests, without the cast, egcs-2.91.66 will emit a warning and gcc 2.96 on Red Hat 6.2 will return an error. However, it appears that gcc 2.96-* on Red Hat 7.0 will proceed without error. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Thu Nov 9 13:36:30 2000 Received: by oss.sgi.com id ; Thu, 9 Nov 2000 13:36:20 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:54374 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 9 Nov 2000 13:36:01 -0800 Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id NAA22076 for ; Thu, 9 Nov 2000 13:28:10 -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 NAA23771; Thu, 9 Nov 2000 13:32:54 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Thu, 9 Nov 2000 13:32:54 -0800 From: Tom Flynn To: Simon Su cc: Jonathan Lim , info-inventor@oss.sgi.com Subject: Re: Help installing OpenInventor for RH7.0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing On Thu, 9 Nov 2000, Simon Su wrote: > Now if only I can get my opengl driver work under GeForce2GTS chipset > and performer running without segmentation fault, I am a very happy > man..... ;) The sw-only version of Mesa that redHat ships with RH7 is broken. You need Mesa-3.3-7. They should be up on Rawhide by now. I have a mirror on my web page (reality.sgi.com/flynnt). The new version will get rid of your segfault. Then, for installing the Geforce drivers, I recommend removing /usr/lib/libGL.* (don't remove libGLU), _then_ installing NVidia's driver. hope that helps, tom -- "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-inventor@oss.sgi.com Sun Nov 12 10:09:42 2000 Received: by oss.sgi.com id ; Sun, 12 Nov 2000 10:09:32 -0800 Received: from mail-out.chello.nl ([213.46.240.7]:6955 "EHLO amsmta04-svc.chello.nl") by oss.sgi.com with ESMTP id ; Sun, 12 Nov 2000 10:09:10 -0800 Received: from chello.nl ([213.93.58.229]) by amsmta04-svc.chello.nl (InterMail vK.4.02.00.10 201-232-116-110 license 1753790c58305fd3f286395c4a42fdc7) with ESMTP id <20001112181014.EKIG23927.amsmta04-svc@chello.nl>; Sun, 12 Nov 2000 19:10:14 +0100 Message-ID: <3A0EDE03.1995B298@chello.nl> Date: Sun, 12 Nov 2000 19:14:27 +0100 From: "b.stolk" X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: info-inventor@oss.sgi.com CC: jlim@kinabalu.csd.sgi.com Subject: Re: Help installing OpenInventor for RH7.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 525 Lines: 20 Tom wrote: >rid of your segfault. Then, for installing the Geforce drivers, I >recommend removing /usr/lib/libGL.* (don't remove libGLU), _then_ >installing NVidia's driver. The nVidia docs list a nr of files that should be deleted prior to installing nvidia's xserver, being: /usr/X11R6/lib/modules/extensions/libGLcore* /usr/X11R6/lib/modules/extensions/libglx* /usr/lib/libGL* /usr/X11R6/lib/libGL* I always delete these after a XFree86 4.01 install, and before an nvidia glx install. It works. Bram From owner-inventor@oss.sgi.com Sun Nov 12 10:17:42 2000 Received: by oss.sgi.com id ; Sun, 12 Nov 2000 10:17:32 -0800 Received: from mail-out.chello.nl ([213.46.240.7]:15121 "EHLO amsmta05-svc.chello.nl") by oss.sgi.com with ESMTP id ; Sun, 12 Nov 2000 10:17:21 -0800 Received: from chello.nl ([213.93.58.229]) by amsmta05-svc.chello.nl (InterMail vK.4.02.00.10 201-232-116-110 license 1753790c58305fd3f286395c4a42fdc7) with ESMTP id <20001112181833.GCOR4662.amsmta05-svc@chello.nl> for ; Sun, 12 Nov 2000 19:18:33 +0100 Message-ID: <3A0EDFEF.C2D8BD31@chello.nl> Date: Sun, 12 Nov 2000 19:22:39 +0100 From: "b.stolk" X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: info-inventor@oss.sgi.com Subject: Strange behavior by Inventor client programs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 1266 Lines: 40 Hello, I stumbled onto something strange with Inventor for linux: the iv apps work, except ivview, which crashes and complains about the dynamic linker. OpenGL|Performer's perfly, however, works just fine, and is able to view .iv files. (also apps like ivinfo work OK). sidonia:/usr/share/Performer/data# ivinfo windmill.iv ivinfo: data format is ASCII ivinfo: number of nodes under root is 108 Created by Paul S. Strauss, Silicon Graphics sidonia:/usr/share/Performer/data# ivview windmill.iv BUG IN DYNAMIC LINKER ld.so: dl-version.c: 217: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! sidonia:/usr/share/Performer/data# perfly windmill.iv [The windmill is properly displayed] I know that the dyn linker bug has been mentioned before on this mailing list (more than once), but there is no mention of a solution to this problem in the mailing list's archive. Any thoughts? Thanks, Bram Stolk PS: I'm on debian, and I am using debs that were created from their rpm counterparts: sgi-OpenInventor-clients-2.1.5-6.i386.rpm sgi-OpenInventor-data-2.1.5-6.i386.rpm sgi-OpenInventor-devel-2.1.5-6.i386.rpm sgi-openinventor-clients_2.1.5-7_i386.deb sgi-openinventor-data_2.1.5-7_i386.deb sgi-openinventor-devel_2.1.5-7_i386.deb From owner-inventor@oss.sgi.com Sun Nov 12 20:45:07 2000 Received: by oss.sgi.com id ; Sun, 12 Nov 2000 20:44:47 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:20569 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 12 Nov 2000 20:44:40 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id UAA10239 for ; Sun, 12 Nov 2000 20:36:48 -0800 (PST) mail_from (flynnt@engr.sgi.com) Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id UAA36817 for ; Sun, 12 Nov 2000 20:42:53 -0800 (PST) Received: from localhost (flynnt@localhost) by boeing.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id UAA30776; Sun, 12 Nov 2000 20:38:10 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Sun, 12 Nov 2000 20:38:10 -0800 From: Tom Flynn To: "b.stolk" cc: info-inventor@oss.sgi.com Subject: Re: Strange behavior by Inventor client programs In-Reply-To: <3A0EDFEF.C2D8BD31@chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 1036 Lines: 29 On Sun, 12 Nov 2000, b.stolk wrote: > sidonia:/usr/share/Performer/data# ivview windmill.iv > BUG IN DYNAMIC LINKER ld.so: dl-version.c: 217: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! As the error message suggests, it is a bug in the dynamic linker. I've seen this when an app was compiled against a libGL that links aginst libpthread and then moves to a machine that has a libGL that doesn't link against libpthread. That may or may not be the case here. It may be a more generic than that. Who knows. I'd chase down the pthread idea in one of two ways: 1) compile ivview on your machine with your libGL. or 2) if you're using sw-only Mesa, you can re-compile Mesa without pthreads. Look in the Mesa READMEs / Makefiles for how to do this I'm willing to bet that #1 will work for ya. let us know if that helps, tom -- "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-inventor@oss.sgi.com Sun Nov 12 21:04:07 2000 Received: by oss.sgi.com id ; Sun, 12 Nov 2000 21:03:47 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:28508 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 12 Nov 2000 21:03:20 -0800 Received: from boeing.engr.sgi.com (boeing.engr.sgi.com [130.62.55.185]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id UAA11927 for ; Sun, 12 Nov 2000 20:55:23 -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 VAA30917; Sun, 12 Nov 2000 21:00:12 -0800 (PST) X-Authentication-Warning: boeing.engr.sgi.com: flynnt owned process doing -bs Date: Sun, 12 Nov 2000 21:00:12 -0800 From: Tom Flynn To: "b.stolk" cc: info-inventor@oss.sgi.com Subject: Re: Strange behavior by Inventor client programs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 680 Lines: 15 I gave this a little more thought. I'm guessing you're using NVidia's drivers (given that you added to the suggestion on how to install NVidia's drivers in a previous thread). I know that starting with either 0.94 or 0.95 they no longer linked libGL with libpthread. So, the pthread thing is probably what you're running into. Temporarily, that can be fixed by compiling ivview on your machine. We'll take a closer look internally at the libGL we compile Inventor with on our build machine. -tom -- "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-inventor@oss.sgi.com Sun Nov 12 23:36:17 2000 Received: by oss.sgi.com id ; Sun, 12 Nov 2000 23:36:07 -0800 Received: from mta.sara.nl ([145.100.16.144]:48856 "EHLO mta.sara.nl") by oss.sgi.com with ESMTP id ; Sun, 12 Nov 2000 23:35:40 -0800 Received: from mailgate.sara.nl (mailgate.sara.nl [145.100.16.130]) by mta.sara.nl (8.10.1/8.10.1) with ESMTP id eAD7b1D00217; Mon, 13 Nov 2000 08:37:01 +0100 (MET) Received: from chello.nl (speech.vc.sara.nl [145.100.15.136]) by mailgate.sara.nl (8.8.8/8.8.8) with ESMTP id IAA16364; Mon, 13 Nov 2000 08:35:34 +0100 (MET) Message-ID: <3A0F9834.1561DC33@chello.nl> Date: Mon, 13 Nov 2000 08:28:52 +0100 From: Bram Stolk X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.3.99-pre3 i686) X-Accept-Language: en MIME-Version: 1.0 To: Tom Flynn CC: info-inventor@oss.sgi.com Subject: Re: Strange behavior by Inventor client programs References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 1040 Lines: 28 Tom Flynn wrote: > > I gave this a little more thought. I'm guessing you're using NVidia's > drivers (given that you added to the suggestion on how to install > NVidia's drivers in a previous thread). I know that starting with either > 0.94 or 0.95 they no longer linked libGL with libpthread. So, the pthread > thing is probably what you're running into. Temporarily, that can be > fixed by compiling ivview on your machine. We'll take a closer look > internally at the libGL we compile Inventor with on our build machine. Err, I take it then, that on your build machine, you have linked ivview differently from the other iv apps, like ivinfo? Is ivview the only iv app that is linked against libGL ? I wish I could examine the iv binaries better, but even 'ldd ivview' fails with the DYN LINK error. I'll build my own then. Bram > -tom > > -- > "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-inventor@oss.sgi.com Mon Nov 13 11:16:32 2000 Received: by oss.sgi.com id ; Mon, 13 Nov 2000 11:16:22 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:43073 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Mon, 13 Nov 2000 11:16:08 -0800 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA04127 for ; Mon, 13 Nov 2000 11:08:17 -0800 (PST) mail_from (jlim@kinabalu.csd.sgi.com) Received: from kinabalu.csd.sgi.com (kinabalu.csd.sgi.com [150.166.1.88]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA05676 for ; Mon, 13 Nov 2000 11:14:22 -0800 (PST) Received: by kinabalu.csd.sgi.com (980427.SGI.8.8.8/911001.SGI) id LAA74332; Mon, 13 Nov 2000 11:12:24 -0800 (PST) From: jlim@kinabalu.csd.sgi.com (Jonathan Lim) Message-Id: <200011131912.LAA74332@kinabalu.csd.sgi.com> Subject: Re: Strange behavior by Inventor client programs To: b.stolk@chello.nl (Bram Stolk) Date: Mon, 13 Nov 2000 11:12:24 -0800 (PST) Cc: info-inventor@oss.sgi.com In-Reply-To: <3A0F9834.1561DC33@chello.nl> from "Bram Stolk" at Nov 13, 2000 08:28:52 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 1527 Lines: 35 On Sun Nov 12 23:28:52 2000, b.stolk@chello.nl wrote: > > Tom Flynn wrote: > > > > I gave this a little more thought. I'm guessing you're using NVidia's > > drivers (given that you added to the suggestion on how to install > > NVidia's drivers in a previous thread). I know that starting with either > > 0.94 or 0.95 they no longer linked libGL with libpthread. So, the pthread > > thing is probably what you're running into. Temporarily, that can be > > fixed by compiling ivview on your machine. We'll take a closer look > > internally at the libGL we compile Inventor with on our build machine. > > Err, I take it then, that on your build machine, you have linked ivview > differently from the other iv apps, like ivinfo? Nope. > Is ivview the only iv app that is linked against libGL ? They're all linked the same way: ... -lInventorXt -lInventor ... > I wish I could examine the iv binaries better, but even 'ldd ivview' > fails with the DYN LINK error. I believe Tom's suggestion regarding libpthread.so is correct. I recompiled Mesa on my build machine without -lpthread and got the same ldd error quoted earlier on those Inventor executables and DSO's which had not been rebuilt. As soon as I recompiled those binaries, the error went away. So it looks like it's a libpthread.so incompatibility issue. I have some changes to check in and will create new RPM's and tar files. Jonathan Lim _ Silicon Graphics _ Mountain View GPS Graphics Computer Systems CA, USA From owner-inventor@oss.sgi.com Tue Nov 14 10:22:58 2000 Received: by oss.sgi.com id ; Tue, 14 Nov 2000 10:22:38 -0800 Received: from dutos1.tudelft.nl ([130.161.172.2]:2438 "EHLO dutos1.tudelft.nl") by oss.sgi.com with ESMTP id ; Tue, 14 Nov 2000 10:22:08 -0800 Received: from io.tudelft.nl ([130.161.174.134]) by dutos1.tudelft.nl (Post.Office MTA v3.1.2 release (PO203-101c) ID# 0-36353U700L200S0) with ESMTP id AAA5613; Tue, 14 Nov 2000 19:22:04 +0100 Message-ID: <3A1182C9.34E266E2@io.tudelft.nl> Date: Tue, 14 Nov 2000 19:22:01 +0100 From: J.Jansson@io.tudelft.nl (jansson) X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "b.stolk" CC: info-inventor@oss.sgi.com Subject: Re: Strange behavior by Inventor client programs References: <3A0EDFEF.C2D8BD31@chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 1138 Lines: 30 "b.stolk" wrote: > > Hello, > > I stumbled onto something strange with Inventor for linux: > > the iv apps work, except ivview, which crashes and complains > about the dynamic linker. OpenGL|Performer's perfly, however, > works just fine, and is able to view .iv files. (also apps like > ivinfo work OK). > > sidonia:/usr/share/Performer/data# ivinfo windmill.iv > ivinfo: data format is ASCII > ivinfo: number of nodes under root is 108 > Created by Paul S. Strauss, Silicon Graphics > > sidonia:/usr/share/Performer/data# ivview windmill.iv > BUG IN DYNAMIC LINKER ld.so: dl-version.c: 217: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! Hi Bram, I got this exact message initially, but I managed to fix it (somehow, I never found out the meaning of the error). I saw someone mention several versions of Mesa as a problem, and that was it. I had at least two versions in various places (/usr/lib/ and /usr/X11R6/lib/), so I removed every libGL* I could find and reinstalled the most recent version, and then it worked. Maybe the cause is an old version of Mesa, I don't know. I'm also running Debian. Johan From owner-inventor@oss.sgi.com Tue Nov 14 12:25:50 2000 Received: by oss.sgi.com id ; Tue, 14 Nov 2000 12:25:40 -0800 Received: from trh.sim.no ([195.1.220.136]:9000 "HELO sim.no") by oss.sgi.com with SMTP id ; Tue, 14 Nov 2000 12:25:29 -0800 Received: (qmail 18398 invoked by uid 2000); 14 Nov 2000 20:25:22 -0000 Date: Tue, 14 Nov 2000 21:25:22 +0100 From: "Lars J. Aas" To: info-inventor@oss.sgi.com Subject: Reminder: The Coin Free Software Programming Competition Message-ID: <20001114212522.A18393@sim.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 854 Lines: 19 I just want to ensure that everyone has heard of the Coin Free Software Programming Competition. Coin is another implementation of Open Inventor (also LGPL). We haven't been run down with submission intents yet, so chances are good that *your* submission will be awarded if you enter, and the awards are pretty good I might say. The deadline for registering is 2000-11-15, 23:59, Pacific time. That's Wednesday night. You register by sending an email to stating your name, email adress and your intention to submit an entry in the competition. A brief description of your entry and target platform(s) will be appreciated, but is not mandatory. The final competition deadline is 2001-01-01, 23:59, Pacific Time. All the relevant information can be located at http://www.coin3d.org/. Hope to hear from you, Lars J From owner-inventor@oss.sgi.com Mon Nov 27 12:22:13 2000 Received: by oss.sgi.com id ; Mon, 27 Nov 2000 12:21:53 -0800 Received: from mail.cg.tuwien.ac.at ([128.131.166.76]:15110 "EHLO christl.cg.tuwien.ac.at") by oss.sgi.com with ESMTP id ; Mon, 27 Nov 2000 12:21:41 -0800 Received: from fsck.cg.tuwien.ac.at (TK150125.tuwien.teleweb.at [195.34.150.125]) by christl.cg.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id VAA10209; Mon, 27 Nov 2000 21:21:28 +0100 Message-Id: <4.3.2.7.0.20001127211945.00b76d90@mail.cg.tuwien.ac.at> X-Sender: hesina@mail.cg.tuwien.ac.at X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 27 Nov 2000 21:21:18 +0100 To: info-inventor@oss.sgi.com, info-inventor-dev@oss.sgi.com From: Gerd Hesina Subject: [ANN] OSS SGI OpenInventor port to WINDOWS Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-inventor@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;info-inventor-outgoing Content-Length: 499 Lines: 19 Hi inventors, I ported the open-source version of SGI OpenInventor to the Microsoft Windows family. It uses SoQt (from SIM, systems in Motion http://www.sim.no) for the GUI bindings. Get more information from the README file. ftp://ftp.cg.tuwien.ac.at/pub/openinventor/README The archive is located at: ftp://ftp.cg.tuwien.ac.at/pub/openinventor/inventor_winport_1.0.zip Best Regards, Gerd Hesina hesina@cg.tuwien.ac.at Institute of Computer Graphics Vienna University of Technology, Austria