Opened 14 years ago

Last modified 8 years ago

#26267 new defect

coin demo program has difficulty accessing

Reported by: davidh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: Coin

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (2)

RedCone.cpp (1.5 KB) - added by davidh@… 14 years ago.
source from http://www-evasion.imag.fr/Membres/Francois.Faure/doc/inventorMentor/sgi_html/ch02.html#id64431
Makefile (122 bytes) - added by davidh@… 14 years ago.

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by davidh@…

Attachment: Makefile added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: Coin added

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to css@…

comment:3 Changed 14 years ago by cssdev

Status: newassigned

I recommend trying the IvExamples repository from SIM, as it contains the Inventor Mentor and Inventor Toolmaker examples already configured to work with Coin3D.

comment:4 in reply to:  3 Changed 14 years ago by dgh@…

Replying to css@…:

I recommend trying the 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

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from css@… to macports-tickets@…
Status: assignednew
Note: See TracTickets for help on using tickets.