[MacPorts] #26267: coin demo program has difficulty accessing
#26267: coin demo program has difficulty accessing -------------------------------------+-------------------------------------- Reporter: davidh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- To demo a functional installation of Coin3d, I attempted to run the demo in the front of the "Inventor Mentor" book. Source and Makefile are attached. The program compiles and links OK, but fails using widgets. As a test of x11 configuration, I ran xfig OK. The messages from xterm and term window are the same. Is there some X11 configuration or demo program change I need to make under macports? wilder-hendersons-macbook-pro-2:coincone davidh$ ./Redcone Warning: Widget must be a VendorShell. Error: attempt to add non-widget child "dsm" to parent "Redcone" which supports only widgets -- Ticket URL: <http://trac.macports.org/ticket/26267> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26267: coin demo program has difficulty accessing -------------------------------------+-------------------------------------- Reporter: davidh@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: Coin -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * port: => Coin Old description:
To demo a functional installation of Coin3d, I attempted to run the demo in the front of the "Inventor Mentor" book. Source and Makefile are attached.
The program compiles and links OK, but fails using widgets. As a test of x11 configuration, I ran xfig OK.
The messages from xterm and term window are the same. Is there some X11 configuration or demo program change I need to make under macports?
wilder-hendersons-macbook-pro-2:coincone davidh$ ./Redcone Warning: Widget must be a VendorShell. Error: attempt to add non-widget child "dsm" to parent "Redcone" which supports only widgets
New description: To demo a functional installation of Coin3d, I attempted to run the demo in the front of the "Inventor Mentor" book. Source and Makefile are attached. The program compiles and links OK, but fails using widgets. As a test of x11 configuration, I ran xfig OK. The messages from xterm and term window are the same. Is there some X11 configuration or demo program change I need to make under macports? {{{ wilder-hendersons-macbook-pro-2:coincone davidh$ ./Redcone Warning: Widget must be a VendorShell. Error: attempt to add non-widget child "dsm" to parent "Redcone" which supports only widgets }}} -- -- Ticket URL: <http://trac.macports.org/ticket/26267#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26267: coin demo program has difficulty accessing -------------------------------------+-------------------------------------- Reporter: davidh@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: Coin -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => css@… -- Ticket URL: <http://trac.macports.org/ticket/26267#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26267: coin demo program has difficulty accessing -------------------------------------+-------------------------------------- Reporter: davidh@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: Coin -------------------------------------+-------------------------------------- Changes (by css@…): * status: new => assigned Comment: I recommend trying the [http://hg.sim.no/IvExamples/default/ IvExamples] repository from SIM, as it contains the Inventor Mentor and Inventor Toolmaker examples already configured to work with Coin3D. -- Ticket URL: <http://trac.macports.org/ticket/26267#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26267: coin demo program has difficulty accessing -------------------------------------+-------------------------------------- Reporter: davidh@… | Owner: css@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: Coin -------------------------------------+-------------------------------------- Comment(by dgh@…): Replying to [comment:3 css@…]:
I recommend trying the [http://hg.sim.no/IvExamples/default/ IvExamples] repository from SIM, as it contains the Inventor Mentor and Inventor Toolmaker examples already configured to work with Coin3D.
I downloaded the repository, attempted to compile it, and it gets compile errors. Should I switch to the aqua version of coin? wilder-hendersons-macbook-pro-2:default-e379ec3b028c davidh$ ./configure --enable-darwin-x11 --with-soxt --with-inventor-xt=/opt/local make /opt/local/include/Inventor/Xt/SoXtObject.h:37: warning: ‘class SoXtObject’ has virtual functions but non-virtual destructor g++ -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -L/opt/local/lib -arch i386 -L/usr/X11R6/lib -L/usr/X11R6/lib -o 10.5.SelectionCB 10.5.SelectionCB.o -lGLU -lSoXt -lXm -lCoin -lGL -lXext -lSM -lICE -lX11 -lpthread -lXt -lXp -lXi -lXmu -lXpm if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/opt/local/include/Inventor/annex -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -g -O2 -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -MT 10.6.PickFilterTopLevel.o -MD -MP -MF ".deps/10.6.PickFilterTopLevel.Tpo" \ -c -o 10.6.PickFilterTopLevel.o `test -f '10.6.PickFilterTopLevel.cpp' || echo './'`10.6.PickFilterTopLevel.cpp; \ then mv -f ".deps/10.6.PickFilterTopLevel.Tpo" ".deps/10.6.PickFilterTopLevel.Po"; \ else rm -f ".deps/10.6.PickFilterTopLevel.Tpo"; exit 1; \ fi /opt/local/include/Inventor/Xt/SoXtObject.h:37: warning: ‘class SoXtObject’ has virtual functions but non-virtual destructor 10.6.PickFilterTopLevel.cpp: In function ‘int main(int, char**)’: 10.6.PickFilterTopLevel.cpp:93: error: ‘s’ was not declared in this scope make[3]: *** [10.6.PickFilterTopLevel.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- Ticket URL: <http://trac.macports.org/ticket/26267#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts