From scharver@evl.uic.edu Mon Apr 11 11:59:42 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 11 Apr 2005 11:59:48 -0700 (PDT) Received: from evl.evl.uic.edu (evl.evl.uic.edu [131.193.48.80]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j3BIxgM8032034 for ; Mon, 11 Apr 2005 11:59:42 -0700 Received: from [127.0.0.1] (greenberg.evl.uic.edu [131.193.48.207]) by evl.evl.uic.edu (8.9.3/8.9.3) with ESMTP id NAA09225 for ; Mon, 11 Apr 2005 13:59:40 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <200503110447.j2B4lp5J369835@kinabalu.csd.sgi.com> References: <200503110447.j2B4lp5J369835@kinabalu.csd.sgi.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <21101404c99a2e4290ec95285f11f5ff@evl.uic.edu> Content-Transfer-Encoding: 7bit From: Chris Scharver Subject: Re: g++-compiler Date: Mon, 11 Apr 2005 13:59:51 -0500 To: info-inventor-dev@oss.sgi.com X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: ClamAV 0.83/819/Sun Apr 10 17:01:27 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 137 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: scharver@evl.uic.edu Precedence: bulk X-list: info-inventor-dev On Mar 10, 2005, at 10:47 PM, Jonathan Lim wrote: > On Wed Mar 9 23:53:20 2005, Kai.Jaensch@gmx.net wrote: >> >> can OpenInventor 2.1.5-10 be compiled with g++ (gcc) version 3.3.1 or >> must I >> use gcc 2.96? > > Latest source in tree (http://oss.sgi.com/cgi-bin/cvsweb.cgi/inventor/) > compiles with gcc 3.2.2 (IA32) and 3.2.3 (IA64). RPM's yet to be > updated. I'm working on creating a built script for DarwinPorts, and the same problem arises on current versions of MacOS X. I'm running into trig precision errors using the CVS checkout and gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671). /usr/bin/g++ -D_DOUBLE_MATH_ONLY -I/usr/X11R6/include -I. -I../../lib/database/include -I../../lib/interaction/include -I../../lib/nodekits/include -I../../libSoXt/include -dynamic -fno-common -DIVPREFIX=\"/Volumes/cybertron/Users/Shared/darwinports/dports/ graphics/inventor/work/destroot\" -O -DNDEBUG -c ppp.c++ In file included from /usr/include/math.h:26, from ../../lib/database/include/Inventor/SbLinear.h:74, from ../../lib/database/include/Inventor/SbBox.h:63, from ../../lib/database/src/sb/SbBox.c++:57, from ../../lib/database/src/sb/Sb.c++:55, from ppp.c++:118: /usr/include/architecture/ppc/math.h:210: error: declaration of C function ` float acos(float)' conflicts with /usr/include/architecture/ppc/math.h:209: error: previous declaration `double acos(double)' here /usr/include/architecture/ppc/math.h:213: error: declaration of C function ` float asin(float)' conflicts with /usr/include/architecture/ppc/math.h:212: error: previous declaration `double asin(double)' here /usr/include/architecture/ppc/math.h:216: error: declaration of C function ` float atan(float)' conflicts with /usr/include/architecture/ppc/math.h:215: error: previous declaration `double atan(double)' here /usr/include/architecture/ppc/math.h:219: error: declaration of C function ` float atan2(float, float)' conflicts with /usr/include/architecture/ppc/math.h:218: error: previous declaration `double atan2(double, double)' here /usr/include/architecture/ppc/math.h:222: error: declaration of C function ` float cos(float)' conflicts with /usr/include/architecture/ppc/math.h:221: error: previous declaration `double cos(double)' here /usr/include/architecture/ppc/math.h:225: error: declaration of C function ` float sin(float)' conflicts with /usr/include/architecture/ppc/math.h:224: error: previous declaration `double sin(double)' here /usr/include/architecture/ppc/math.h:228: error: declaration of C function ` float tan(float)' conflicts with /usr/include/architecture/ppc/math.h:227: error: previous declaration `double tan(double)' here /usr/include/architecture/ppc/math.h:300: error: declaration of C function ` float pow(float, float)' conflicts with /usr/include/architecture/ppc/math.h:299: error: previous declaration `double pow(double, double)' here /usr/include/architecture/ppc/math.h:303: error: declaration of C function ` float sqrt(float)' conflicts with /usr/include/architecture/ppc/math.h:302: error: previous declaration `double sqrt(double)' here gnumake[2]: *** [ppp.o] Error 1 gnumake[1]: *** [install] Error 1 gnumake: *** [install] Error 1 Error: Target com.apple.configure returned: shell command "gnumake install DESTROOT=/Volumes/cybertron/Users/Shared/darwinports/dports/graphics/ inventor/work/destroot" returned error 2 Chris -- Chris Scharver Electronic Visualization Laboratory The University of Illinois at Chicago From scharver@evl.uic.edu Mon Apr 11 12:39:08 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Mon, 11 Apr 2005 12:39:14 -0700 (PDT) Received: from evl.evl.uic.edu (evl.evl.uic.edu [131.193.48.80]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j3BJd7II004242 for ; Mon, 11 Apr 2005 12:39:08 -0700 Received: from [127.0.0.1] (greenberg.evl.uic.edu [131.193.48.207]) by evl.evl.uic.edu (8.9.3/8.9.3) with ESMTP id OAA10180; Mon, 11 Apr 2005 14:39:07 -0500 (CDT) In-Reply-To: <12e38a78aaec65ba4ad1f578a4852f05@stockholm.bonet.se> References: <200503110447.j2B4lp5J369835@kinabalu.csd.sgi.com> <21101404c99a2e4290ec95285f11f5ff@evl.uic.edu> <12e38a78aaec65ba4ad1f578a4852f05@stockholm.bonet.se> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: info-inventor-dev@oss.sgi.com From: Chris Scharver Subject: Re: g++-compiler Date: Mon, 11 Apr 2005 14:39:28 -0500 To: Edward Patel X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: ClamAV 0.83/819/Sun Apr 10 17:01:27 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 138 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: scharver@evl.uic.edu Precedence: bulk X-list: info-inventor-dev On Apr 11, 2005, at 2:16 PM, Edward Patel wrote: > Don't know if my old script can helps > > Please try out my changes... > > http://www.memention.com/ivscript/ The -lmx was what was tripping me up. That fixed what I needed! I guess I just never rebuilt my old binaries from 10.2. Now I have to figure out an alternative way to patch the file paths. It's too bad that the demos are not using $(IVDEMODIR)! Thanks, Chris -- Chris Scharver Electronic Visualization Laboratory The University of Illinois at Chicago From scharver@evl.uic.edu Tue Apr 12 09:38:00 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Tue, 12 Apr 2005 09:38:06 -0700 (PDT) Received: from evl.evl.uic.edu (evl.evl.uic.edu [131.193.48.80]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j3CGbwwY031996 for ; Tue, 12 Apr 2005 09:38:00 -0700 Received: from [127.0.0.1] (greenberg.evl.uic.edu [131.193.48.207]) by evl.evl.uic.edu (8.9.3/8.9.3) with ESMTP id LAA02290 for ; Tue, 12 Apr 2005 11:37:52 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v619.2) Content-Transfer-Encoding: 7bit Message-Id: <766c1be2f55522425ccd55f32c1d1a16@evl.uic.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: info-inventor-dev@oss.sgi.com From: Chris Scharver Subject: [PATCH] MacOS X 10.3, build-before-install Date: Tue, 12 Apr 2005 11:38:13 -0500 X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: ClamAV 0.83/822/Mon Apr 11 21:55:55 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 139 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: scharver@evl.uic.edu Precedence: bulk X-list: info-inventor-dev In an effort to get OIV building for DarwinPorts, I had to make a series of patches. Most significantly, I needed to build the library before installing it. I needed to use plain 'make' before running 'make install'. The default makefiles aren't really set up to accommodate that, as they expect to the find libInventor in the installed location. I'm not sure if this makes a mess of linking, but perhaps using libtool with install_name could resolve problems? Anyhow, here are the changes that I made: * make/ivcommondefs: removed MATHDEFS for darwin, as apple-gcc 3.3 doesn't need them anymore (same as Edward Patel's patch) * make/localrules.apple: added -lmx for math library linking (same as Edward Patel's patch) * libFL/ang/flfreetype.h: new versions of freetype2 seem to require a different way to include the header * several GNUmakefiles: added LLDOPTS with $(IVDEPTH)/lib and $(IVDEPTH)/libSoXt so that in-place builds work Chris Index: apps/converters/ivdowngrade/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/converters/ivdowngrade/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/converters/ivdowngrade/GNUmakefile 18 Sep 2000 09:40:59 -0000 1.2 +++ apps/converters/ivdowngrade/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -22,6 +22,8 @@ SoText2V2.c++ \ SoText3V2.c++ +LLDOPTS += -L$(IVDEPTH)/lib + LLDLIBS = -lInventor all: all_ivbin Index: apps/demos/SceneViewer/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/SceneViewer/GNUmakefile,v retrieving revision 1.5 diff -u -r1.5 GNUmakefile --- apps/demos/SceneViewer/GNUmakefile 7 Jan 2005 12:49:28 -0000 1.5 +++ apps/demos/SceneViewer/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -6,7 +6,7 @@ CXXFILES = SceneViewer.c++ SoSceneViewer.c++ SvManipList.c++ -LLDOPTS += -L../../samples/widgets +LLDOPTS += -L../../samples/widgets -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt LLDLIBS = -lInventorWidget -lInventor -lInventorXt Index: apps/demos/drop/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/drop/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/demos/drop/GNUmakefile 18 Sep 2000 09:40:59 -0000 1.2 +++ apps/demos/drop/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -8,6 +8,8 @@ TsBlock.c++ TsPiece.c++ TsPieces.c++ TsField.c++ \ TsTrickle.c++ TsEvents.c++ TsRemoval.c++ TsViewer.c++ drop.c++ +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all: all_ivbin Index: apps/demos/gview/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/gview/GNUmakefile,v retrieving revision 1.6 diff -u -r1.6 GNUmakefile --- apps/demos/gview/GNUmakefile 1 Jun 2002 02:22:20 -0000 1.6 +++ apps/demos/gview/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -8,6 +8,8 @@ gview.c++ DisplayGraph.c++ Error.c++ FieldEditor.c++ \ GraphIcon.c++ GraphViewer.c++ NodeCreator.c++ +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all: all_ivbin Index: apps/demos/maze/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/maze/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/demos/maze/GNUmakefile 18 Sep 2000 09:41:00 -0000 1.2 +++ apps/demos/maze/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -8,6 +8,8 @@ CXXFILES = maze.c++ +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all: all_ivbin Index: apps/demos/noodle/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/noodle/GNUmakefile,v retrieving revision 1.5 diff -u -r1.5 GNUmakefile --- apps/demos/noodle/GNUmakefile 1 Jun 2002 02:22:20 -0000 1.5 +++ apps/demos/noodle/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -12,6 +12,8 @@ NoodleTextureGizmo.c++ noodle.c++ LineManipHilight.c++ \ profile.c++ +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = \ ../../nodes/GeneralizedCylinder/NurbMaker.o \ ../../nodes/GeneralizedCylinder/Triangulator.o \ Index: apps/demos/qmorf/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/qmorf/GNUmakefile,v retrieving revision 1.4 diff -u -r1.4 GNUmakefile --- apps/demos/qmorf/GNUmakefile 1 Jun 2002 02:22:20 -0000 1.4 +++ apps/demos/qmorf/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -6,6 +6,8 @@ CXXFILES = QuadThing.c++ Background.c++ FlashBackground.c++ +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all: all_ivbin Index: apps/demos/revo/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/revo/GNUmakefile,v retrieving revision 1.3 diff -u -r1.3 GNUmakefile --- apps/demos/revo/GNUmakefile 1 Jun 2002 02:22:20 -0000 1.3 +++ apps/demos/revo/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -8,7 +8,7 @@ CXXFILES = revo.c++ RevClass.c++ profile.c++ -LLDOPTS += -L../../samples/common +LLDOPTS += -L../../samples/common -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt LLDLIBS = -lcommon -lInventor -lInventorXt Index: apps/demos/textomatic/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/demos/textomatic/GNUmakefile,v retrieving revision 1.4 diff -u -r1.4 GNUmakefile --- apps/demos/textomatic/GNUmakefile 7 Jan 2005 12:49:28 -0000 1.4 +++ apps/demos/textomatic/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -6,7 +6,7 @@ CXXFILES = textomatic.c++ TextGraph.c++ TextWrapper.c++ -LLDOPTS += -L../../samples/common +LLDOPTS += -L../../samples/common -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt LLDLIBS = -lcommon -lInventor -lInventorXt Index: apps/nodes/BarChart/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/nodes/BarChart/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/nodes/BarChart/GNUmakefile 18 Sep 2000 09:41:01 -0000 1.2 +++ apps/nodes/BarChart/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,6 +5,10 @@ CXXFILES = BarChart.c++ +CXXDSOOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all install: all_ivbin Index: apps/nodes/Decal/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/nodes/Decal/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/nodes/Decal/GNUmakefile 18 Sep 2000 09:41:01 -0000 1.2 +++ apps/nodes/Decal/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,6 +5,10 @@ CXXFILES = Decal.c++ +CXXDSOOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all install: all_ivbin Index: apps/nodes/GeneralizedCylinder/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/nodes/GeneralizedCylinder/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/nodes/GeneralizedCylinder/GNUmakefile 18 Sep 2000 09:41:01 -0000 1.2 +++ apps/nodes/GeneralizedCylinder/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -7,6 +7,10 @@ GeneralizedCylinder.c++ Triangulator.c++ \ NurbMaker.c++ +CXXDSOOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + +LLDOPTS += -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt + LLDLIBS = -lInventor -lInventorXt all install: all_ivbin Index: apps/tools/ivcat/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/tools/ivcat/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/tools/ivcat/GNUmakefile 18 Sep 2000 09:41:03 -0000 1.2 +++ apps/tools/ivcat/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,6 +5,8 @@ CXXFILES = ivcat.c++ +LLDOPTS += -L$(IVDEPTH)/lib + LLDLIBS = -lInventor all: all_ivbin Index: apps/tools/ivfix/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/tools/ivfix/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/tools/ivfix/GNUmakefile 18 Sep 2000 09:41:03 -0000 1.2 +++ apps/tools/ivfix/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -22,6 +22,8 @@ IfTypes.c++ \ IfWeeder.c++ +LLDOPTS += -L$(IVDEPTH)/lib + LLDLIBS = -lInventor all: all_ivbin Index: apps/tools/ivinfo/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/tools/ivinfo/GNUmakefile,v retrieving revision 1.2 diff -u -r1.2 GNUmakefile --- apps/tools/ivinfo/GNUmakefile 18 Sep 2000 09:41:03 -0000 1.2 +++ apps/tools/ivinfo/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,7 +5,7 @@ CXXFILES = ivinfo.c++ -LLDLIBS = -lInventor +LLDLIBS = -L$(IVDEPTH)/lib -lInventor all: all_ivbin Index: apps/tools/ivview/GNUmakefile =================================================================== RCS file: /cvs/inventor/apps/tools/ivview/GNUmakefile,v retrieving revision 1.4 diff -u -r1.4 GNUmakefile --- apps/tools/ivview/GNUmakefile 7 Jan 2005 12:49:28 -0000 1.4 +++ apps/tools/ivview/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,7 +5,7 @@ CXXFILES = ivview.c++ -LLDOPTS += -L../../samples/widgets +LLDOPTS += -L../../samples/widgets -L$(IVDEPTH)/lib -L$(IVDEPTH)/libSoXt LLDLIBS = -lInventorWidget -lInventorXt -lInventor Index: doc/man/ivman/GNUmakefile =================================================================== RCS file: /cvs/inventor/doc/man/ivman/GNUmakefile,v retrieving revision 1.4 diff -u -r1.4 GNUmakefile --- doc/man/ivman/GNUmakefile 6 Mar 2002 21:32:26 -0000 1.4 +++ doc/man/ivman/GNUmakefile 12 Apr 2005 16:28:02 -0000 @@ -5,6 +5,8 @@ CXXFILES = Main.c++ ClassDef.c++ Man.c++ Reader.c++ Writer.c++ BuildIssues.c++ +LLDOPTS = -L$(IVDEPTH)/lib + LLDLIBS = -lInventor all install: $(PROGRAM) Index: libFL/ang/flfreetype.h =================================================================== RCS file: /cvs/inventor/libFL/ang/flfreetype.h,v retrieving revision 1.1 diff -u -r1.1 flfreetype.h --- libFL/ang/flfreetype.h 24 Mar 2001 02:34:24 -0000 1.1 +++ libFL/ang/flfreetype.h 12 Apr 2005 16:28:03 -0000 @@ -1,7 +1,8 @@ #ifndef __flfreetype_h_ #define __flfreetype_h_ -#include +#include +#include FT_FREETYPE_H #ifndef __fl_h_ #include "fl.h" Index: libSoXt/GNUmakefile =================================================================== RCS file: /cvs/inventor/libSoXt/GNUmakefile,v retrieving revision 1.5 diff -u -r1.5 GNUmakefile --- libSoXt/GNUmakefile 7 Jan 2005 12:49:29 -0000 1.5 +++ libSoXt/GNUmakefile 12 Apr 2005 16:28:03 -0000 @@ -3,7 +3,7 @@ LIBDSO = libInventorXt.so -LLDLIBS = \ +LLDLIBS = -L$(IVDEPTH)/lib \ -lXm -lXt -lXext -lXi -lX11 -lm \ -lInventor -lGLU -lGL Index: make/ivcommondefs =================================================================== RCS file: /cvs/inventor/make/ivcommondefs,v retrieving revision 1.11 diff -u -r1.11 ivcommondefs --- make/ivcommondefs 7 Jan 2005 13:47:05 -0000 1.11 +++ make/ivcommondefs 12 Apr 2005 16:28:03 -0000 @@ -117,8 +117,9 @@ ARFLAGS = vrs INSTALL = /usr/bin/install -LCXXDEFS += $(MATHDEFS) -LCDEFS += $(MATHDEFS) +# Don't use MATHDEFs with gcc 3.3+ +#LCXXDEFS += $(MATHDEFS) +#LCDEFS += $(MATHDEFS) DARWINOPTS = -dynamic -fno-common LCXXOPTS += $(DARWINOPTS) Index: make/localrules.apple =================================================================== RCS file: /cvs/inventor/make/localrules.apple,v retrieving revision 1.1 diff -u -r1.1 localrules.apple --- make/localrules.apple 11 Jul 2003 22:40:54 -0000 1.1 +++ make/localrules.apple 12 Apr 2005 16:28:03 -0000 @@ -4,7 +4,7 @@ ifeq ($(usingDarwin), 1) LIBDSO := $(LIBDSO:.so=.dylib) -LLDLIBS += -lXm -lXt -lX11 -lGLU -lGL -liconv -ldl -lcc_dynamic -lstdc++ +LLDLIBS += -lXm -lXt -lX11 -lGLU -lGL -liconv -ldl -lmx -lcc_dynamic -lstdc++ BUNDLE := $(DSO:.so=.bundle) DSO :=