Mike,Below, I'm listing two patches that I'd like for you to try. I've applied these on several systems and there seems to be no ill effects. The problem seems to be that your compiler doesn't like the fact that no fuction is defined for the virtual function. Although this is valid, just having the virtual code inline a call to the parent should produce the same results as what other compilers do. I also fixed the other warning you had. Apply the two diffs and see if it solves your problem. If so, I will submit it to cvs.
David Index: SelectorPulldownInteractor.h =================================================================== RCS file: /src/master/dx/src/uipp/dxui/SelectorPulldownInteractor.h,v retrieving revision 1.4 diff -r1.4 SelectorPulldownInteractor.h 64,65c64,65 < virtual void layoutInteractorHorizontally(); < virtual void layoutInteractorVertically(); ---
virtual void layoutInteractorHorizontally() { Interactor::layoutInteractorHorizontally() }; virtual void layoutInteractorVertically() { Interactor::layoutInteractorVertically() };
Index: Dictionary.h =================================================================== RCS file: /src/master/dx/src/uipp/base/Dictionary.h,v retrieving revision 1.5 diff -r1.5 Dictionary.h 51c51 < friend DictionaryIterator; ---
friend class DictionaryIterator;
David
I'm having trouble building dx-4.0.9 on a DEC Alpha, Digital Unix 4.0, using the Digital Unix cc and cxx. Errors about unresolved SelectorPulldownInteractor items. The mail archives had a post about this back in Oct, but I did not see any resolution. (I tried gcc/c++ but that c++ just died with other problems) Thanks for any help. Tail of gmake follows (errors at end here):/usr/bin/cxx -DHAVE_CONFIG_H -I. -I. -I../../../include -I../base -I../../../include -I../dxuilib -Dalphax -g -c ToolPanelCommand.C /usr/bin/cxx -DHAVE_CONFIG_H -I. -I. -I../../../include -I../base -I../../../include -I../dxuilib -Dalphax -g -c ViewControlWhichCameraCommand.C cxx: Warning: ../base/Dictionary.h, line 51: The "class" keyword is missing in this friend declaration.friend DictionaryIterator; ----^/usr/bin/cxx -DHAVE_CONFIG_H -I. -I. -I../../../include -I../base -I../../../include -I../dxuilib -Dalphax -g -c Main.C /usr/bin/cxx -g -o dxui ColormapDefinition.o ColormapNode.o ComputeDefinition.o ComputeNode.o DXLInputDefinition.o DXLInputNode.o DXLOutputDefinition.o DXLOutputNode.o DeleteNodeCommand.o DialInteractor.o DisplayDefinition.o DisplayNode.o DrivenDefinition.o DrivenNode.o EchoDefinition.o EchoNode.o FileSelectorDefinition.o FileSelectorInteractor.o FileSelectorNode.o GlobalLocalDefinition.o GlobalLocalNode.o ImageDefinition.o ImageNode.o Interactor.o InteractorDefinition.o InteractorNode.o MacroDefinition.o MacroNode.o MacroParameterDefinition.o MacroParameterNode.o ModuleMessagingNode.o Node.o NodeDefinition.o NodeList.o NondrivenInteractorNode.o ParameterDefinition.o PickDefinition.o PickNode.o PrintDefinition.o PrintNode.o ProbeDefinition.o ProbeNode.o ReceiverDefinition.o ReceiverNode.o ResetDefinition.o ResetNode.o ScalarDefinition.o ScalarInteractor.o ScalarListDefinition.o ScalarListInteractor.o ScalarListNode.o ScalarNode.o SelectionNode.o SelectorDefinition.o SelectorInteractor.o SelectorListDefinition.o SelectorListInteractor.o SelectorListNode.o SelectorListToggleInteractor.o SelectorNode.o SelectorRadioInteractor.o SequencerDefinition.o SequencerNode.o ShadowedOutputNode.o SliderInteractor.o StepperInteractor.o StreaklineDefinition.o StreaklineNode.o ToggleDefinition.o ToggleInteractor.o ToggleNode.o ToggleToggleInteractor.o TransmitterDefinition.o TransmitterNode.o UniqueNameNode.o ValueDefinition.o ValueInteractor.o ValueListDefinition.o ValueListInteractor.o ValueListNode.o ValueNode.o VectorDefinition.o VectorListDefinition.o AccessNetworkPanelsCommand.o ColormapEditCommand.o ColormapFileCommand.o ConfirmedExitCommand.o ConfirmedQuitCommand.o DisconnectFromServerCommand.o ExecCommandDialog.o ImageApproxCommand.o ImageConstraintCommand.o ImageFormatCommand.o ImageHardwareCommand.o ImageLookCommand.o ImagePerspectiveCommand.o ImageRedoCommand.o ImageResetCommand.o ImageSetModeCommand.o ImageSetViewCommand.o ImageSoftwareCommand.o ImageUndoCommand.o NewCommand.o NoUndoAnchorCommand.o NoUndoDXAppComm and.o NoUndoImageCommand.o NoUndoJavaNetCommand.o NoUndoNetworkCommand.o NoUndoPanelCommand.o OpenCommand.o SaveMacroCommand.o ToolPanelCommand.o ViewControlWhichCameraCommand.o Main.o ../dxuilib/libDXUI.a ../base/libBASE.a ../widgets/libWIDGETS.a -L/usr/X11R6/lib -L/usr/local/lib -lm -lXm -lXmu -lXt -lX11 -lXext -lz -lg++ -lSM -lICEld: Unresolved:__vtbl_26SelectorPulldownInteractor Make sure that the first noninlined virtual member function of 'SelectorPulldownInteractor' is defined. __vtbl_4Base11UIComponent18WorkSpaceComponent10Interactor26SelectorPulldownInteractor Make sure that the first noninlined virtual member function of 'SelectorPulldownInteractor' is defined. __vtbl_12DXDragSource10Interactor26SelectorPulldownInteractor Make sure that the first noninlined virtual member function of 'SelectorPulldownInteractor' is defined. gmake[3]: *** [dxui] Error 1 gmake[3]: Leaving directory `/tmp_mnt/net/rtp8/zeleznik/soft/dx/dx-4.0.9/src/uipp/dxui'gmake[2]: *** [all-recursive] Error 1gmake[2]: Leaving directory `/tmp_mnt/net/rtp8/zeleznik/soft/dx/dx-4.0.9/src/uipp'gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp_mnt/net/rtp8/zeleznik/soft/dx/dx-4.0.9/src' gmake: *** [all-recursive] Error 1
-- ............................................................................. David L. Thompson The University of Montana mailto:[EMAIL PROTECTED] Computer Science Department http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812 Work Phone : (406)257-8530
