Welcome, Guest. Please Login or Register.
OpenDX User Forum
09/08/10 at 04:06:57


Pages: 1
OpenDX 4.4 Source Code now available. (Read 10394 times)
David Thompson
OpenDX Forum Administrator
OpenDX Moderators
OpenDX Power Users
*****


OpenDX-My
Visualization System
of Choice!

Posts: 198
OpenDX 4.4 Source Code now available.
01/20/06 at 11:20:10
 
I'm pleased to announce the new 4.4 release of OpenDX. It is now available from www.opendx.org. For those that compile their own software, please download and report any problems.
Back to top
 
 
WWW David Thompson opendxpert   IP Logged
elisee
Forum Newbie
*


Got Viz?

Posts: 1
Re: OpenDX 4.4 Source Code now available.
Reply #1 - 03/02/06 at 01:42:35
 
callm_xinit.c:18:19: error: Xm/Xm.h: No such file or directory
callm_xinit.c:24: error: syntax error before 'appcontext'
callm_xinit.c:24: warning: type defaults to 'int' in declaration of 'appcontext'
callm_xinit.c:24: warning: initialization makes integer from pointer without a cast
callm_xinit.c:24: warning: data definition has no type or storage class
callm_xinit.c:27: error: syntax error before 'app'
callm_xinit.c: In function 'DXInitializeXMainLoop':
callm_xinit.c:29: error: 'app' undeclared (first use in this function)
callm_xinit.c:29: error: (Each undeclared identifier is reported only once
callm_xinit.c:29: error: for each function it appears in.)
callm_xinit.c: At top level:
callm_xinit.c:35: error: syntax error before 'XtPointer'
callm_xinit.c:35: warning: no semicolon at end of struct or union
callm_xinit.c:37: error: syntax error before '}' token
callm_xinit.c:37: warning: type defaults to 'int' in declaration of 'MyEvent'
callm_xinit.c:37: warning: data definition has no type or storage class
callm_xinit.c:40: error: syntax error before '_rihProc'
callm_xinit.c:40: error: syntax error before 'client'
callm_xinit.c:41: warning: return type defaults to 'int'
callm_xinit.c: In function '_rihProc':
callm_xinit.c:42: error: 'mev' undeclared (first use in this function)
callm_xinit.c:42: error: syntax error before ')' token
callm_xinit.c: In function '_dxf_RegisterInputHandlerX':
callm_xinit.c:49: error: 'mev' undeclared (first use in this function)
callm_xinit.c:49: error: syntax error before ')' token
callm_xinit.c:52: error: 'XtPointer' undeclared (first use in this function)
callm_xinit.c:52: error: syntax error before 'arg'
callm_xinit.c:54: warning: implicit declaration of function 'XtAppAddInput'
callm_xinit.c:54: error: syntax error before 'XtInputReadMask'
make[4]: *** [callm_xinit.lo] Error 1
make[4]: Leaving directory `/usr/local/dx-4.4.0/src/exec/libdx'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/usr/local/dx-4.4.0/src/exec/libdx'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/dx-4.4.0/src/exec'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/dx-4.4.0/src'
make: *** [install-recursive] Error 1
 
i'm try to install Opendx on my laptop in unbuntu.
When i'm run make i'm obtain this message. Whath the matter?
Back to top
 
 
Email   IP Logged
David Thompson
OpenDX Forum Administrator
OpenDX Moderators
OpenDX Power Users
*****


OpenDX-My
Visualization System
of Choice!

Posts: 198
Re: OpenDX 4.4 Source Code now available.
Reply #2 - 03/02/06 at 09:51:22
 
You need to install Motif (preferrably OpenMotif).
Back to top
 
 
WWW David Thompson opendxpert   IP Logged
christopher_wolf
Forum Newbie
*


Got Viz?

Posts: 2
Re: OpenDX 4.4 Source Code now available.
Reply #3 - 03/30/06 at 19:13:26
 
creating libLIBDX.la
(cd .libs && rm -f libLIBDX.la && ln -s ../libLIBDX.la libLIBDX.la)
sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include  -Dlinux  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -INONE  -g -O2 -INONE -D_GNU_SOURCE -c -o callm_xinit.lo callm_xinit.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -Dlinux -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -INONE -g -O2 -INONE -D_GNU_SOURCE -c callm_xinit.c -o callm_xinit.o
callm_xinit.c:18:19: error: Xm/Xm.h: No such file or directory
callm_xinit.c:24: error: syntax error before 'appcontext'
callm_xinit.c:24: warning: initialization makes integer from pointer without a cast
callm_xinit.c:24: warning: data definition has no type or storage class
callm_xinit.c:27: error: syntax error before 'app'
callm_xinit.c: In function 'DXInitializeXMainLoop':
callm_xinit.c:29: error: 'app' undeclared (first use in this function)
callm_xinit.c:29: error: (Each undeclared identifier is reported only once
callm_xinit.c:29: error: for each function it appears in.)
callm_xinit.c: At top level:
callm_xinit.c:35: error: syntax error before 'XtPointer'
callm_xinit.c:35: warning: no semicolon at end of struct or union
callm_xinit.c:37: error: syntax error before '}' token
callm_xinit.c:37: warning: data definition has no type or storage class
callm_xinit.c:40: error: syntax error before '_rihProc'
callm_xinit.c:40: error: syntax error before 'client'
callm_xinit.c: In function '_rihProc':
callm_xinit.c:42: error: 'mev' undeclared (first use in this function)
callm_xinit.c:42: error: syntax error before ')' token
callm_xinit.c: In function '_dxf_RegisterInputHandlerX':
callm_xinit.c:49: error: 'mev' undeclared (first use in this function)
callm_xinit.c:49: error: syntax error before ')' token
callm_xinit.c:52: error: 'XtPointer' undeclared (first use in this function)
callm_xinit.c:52: error: syntax error before 'arg'
callm_xinit.c:54: error: syntax error before 'XtInputReadMask'
make[4]: *** [callm_xinit.lo] Error 1
 
I think I am having pretty much the same error as the second poster except I already have installed OpenMotif; are there any other libraries that need to be included for this to work? This is also in Ubuntu.
 
EDIT: A bit of an update, I removed the lesstif libs and the make changed slightly, but it eventually reached the same point; namely, exiting with errors as shown above.  
 
Thanks alot. Smiley
Back to top
 
 
  IP Logged
David Thompson
OpenDX Forum Administrator
OpenDX Moderators
OpenDX Power Users
*****


OpenDX-My
Visualization System
of Choice!

Posts: 198
Re: OpenDX 4.4 Source Code now available.
Reply #4 - 03/31/06 at 00:00:56
 
You're going to have to add the directory that includes the Xm includes to your CPPFLAGS
 
export CPPFLAGS=/usr/X11R6/include
 
or where-ever Xm is.
 
Then you will need to reconfigure dx.
Back to top
 
 
WWW David Thompson opendxpert   IP Logged
davidm
Forum Newbie
*


Got Viz?

Posts: 15
Re: OpenDX 4.4 Source Code now available.
Reply #5 - 03/31/06 at 13:25:48
 
The dx-4.4.0.tar.gz tartball contains dx-4.4.0/include/dxconfig.h.  This file is generated by configure, so it should be excluded from the tarball.  The presence of this file in the source tree can cause problems if the top of your build tree differs from the top of the source tree.
 
Dave
Back to top
 
 
  IP Logged
David Thompson
OpenDX Forum Administrator
OpenDX Moderators
OpenDX Power Users
*****


OpenDX-My
Visualization System
of Choice!

Posts: 198
Re: OpenDX 4.4 Source Code now available.
Reply #6 - 03/31/06 at 14:54:15
 
So what do I need to change? We still want dxconfig.h installed into $installdir/dx/include. If I just remove dxconfig.h in the Makefile.am will it still get installed?
Back to top
 
 
WWW David Thompson opendxpert   IP Logged
christopher_wolf
Forum Newbie
*


Got Viz?

Posts: 2
Re: OpenDX 4.4 Source Code now available.
Reply #7 - 03/31/06 at 15:40:18
 
Well, I tried both and they don't seem to work; Hmmm, perhaps I am missing somthing.  
 
I also did  export CPPFLAGS=/usr/X11R6/include in the command line and now I can't reconfigure it.Is that an addition to the path or a replacement? I should add it, correct?
 
UPDATE: I think I have gotten it to progress in the make somewhat; I now get this
 
In file included from superwinX.c:13:
/usr/X11R6/include/Xm/Xm.h:59:34: error: X11/extensions/Print.h: No such file or directory
In file included from superwinX.c:13:
/usr/X11R6/include/Xm/Xm.h:827: error: syntax error before 'XPContext'
/usr/X11R6/include/Xm/Xm.h:827: warning: no semicolon at end of struct or union
/usr/X11R6/include/Xm/Xm.h:830: error: syntax error before '}' token
/usr/X11R6/include/Xm/Xm.h:830: warning: data definition has no type or storage class
Back to top
 
 
  IP Logged
davidm
Forum Newbie
*


Got Viz?

Posts: 15
Re: OpenDX 4.4 Source Code now available.
Reply #8 - 03/31/06 at 16:59:43
 
Here's a patch (also attached) that I think will fix the "dxconfig.h-in-tarball" problem...
 
Index: include/Makefile.am
===================================================================
RCS file: /src/master/dx/include/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- include/Makefile.am 29 Jun 2001 13:08:15 -0000      1.6
+++ include/Makefile.am 31 Mar 2006 23:07:55 -0000
@@ -1,3 +1,4 @@
 dxincdir = $(prefix)/dx/include
 SUBDIRS = dx
-dxinc_HEADERS = dxl.h dxconfig.h dxstereo.h
+dxinc_HEADERS = dxl.h dxstereo.h
+nodist_dxinc_HEADERS = dxconfig.h
 
Dave
Back to top
 
  IP Logged
eew
Forum Newbie
*


Got Viz?

Posts: 5
Re: OpenDX 4.4 Source Code now available.
Reply #9 - 04/04/06 at 09:54:33
 
For the (Ubuntu/Debian) people with Xm.h or Print.h problems, you need libmotif-dev and libxp-dev installed.  
 
Install apt-file to use in searching for any other headers which OpenDX needs.
 
It would be nice if the configure script halted with an error when any of the needed headers are missing.
Back to top
 
 
  IP Logged
davidknight
Forum Newbie
*


Got Viz?

Posts: 12
Re: OpenDX 4.4 Source Code now available.
Reply #10 - 05/01/06 at 15:15:03
 
I've been having the same problem as some others.  I have openmotif installed.  I get the following error message when trying to compile dx-4.4.0.  
 
Thanks, Dave Knight
 
callm_xinit.c:18:19: error: Xm/Xm.h: No such file or directory
callm_xinit.c:24: error: syntax error before 'appcontext'
callm_xinit.c:24: warning: initialization makes integer from pointer without a cast
callm_xinit.c:24: warning: data definition has no type or storage class
callm_xinit.c:27: error: syntax error before 'app'
callm_xinit.c: In function 'DXInitializeXMainLoop':
callm_xinit.c:29: error: 'app' undeclared (first use in this function)
callm_xinit.c:29: error: (Each undeclared identifier is reported only once
callm_xinit.c:29: error: for each function it appears in.)
callm_xinit.c: At top level:
callm_xinit.c:35: error: syntax error before 'XtPointer'
callm_xinit.c:35: warning: no semicolon at end of struct or union
callm_xinit.c:37: error: syntax error before '}' token
callm_xinit.c:37: warning: data definition has no type or storage class
callm_xinit.c:40: error: syntax error before '_rihProc'
callm_xinit.c:40: error: syntax error before 'client'
callm_xinit.c: In function '_rihProc':
callm_xinit.c:42: error: 'mev' undeclared (first use in this function)
callm_xinit.c:42: error: syntax error before ')' token
callm_xinit.c: In function '_dxf_RegisterInputHandlerX':
callm_xinit.c:49: error: 'mev' undeclared (first use in this function)
callm_xinit.c:49: error: syntax error before ')' token
callm_xinit.c:52: error: 'XtPointer' undeclared (first use in this function)
callm_xinit.c:52: error: syntax error before 'arg'
callm_xinit.c:54: error: syntax error before 'XtInputReadMask'
make[4]: *** [callm_xinit.lo] Error 1
make[4]: Leaving directory `/home/dknight/Documents/dx-4.4.0_mod/src/exec/libdx'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/dknight/Documents/dx-4.4.0_mod/src/exec/libdx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dknight/Documents/dx-4.4.0_mod/src/exec'
make[1]: *** [all-recursive] Error 1                                    
Back to top
 
 
Email   IP Logged
DSDunbar
Forum Newbie
*


Got Viz?

Posts: 1
Re: OpenDX 4.4 Source Code now available.
Reply #11 - 07/28/06 at 07:28:48
 
I'm attempting to install OpenDX on a MacBook Pro.  The make gets pretty far before it chokes on the following:  
 
jar cf ../dx.jar imageWindow.class CaptionLabels.class Status.class dx layout || exit 1
 
I get a series of error messages like:
 
==================
./dx/net/WRLApplication.java:12: package netscape.javascript does not exist
import netscape.javascript.JSObject;
                          ^
./dx/net/WRLApplication.java:14: package vrml.external.field does not exist
import vrml.external.field.*;
^
./dx/net/WRLApplication.java:15: package vrml.external does not exist
import vrml.external.Node;
 
./dx/net/WRLApplication.java:20: package vrml.external.field does not exist
    extends DXLinkApplication implements vrml.external.field.EventOutObserver {
                                                           ^
./dx/net/WRLApplication.java:23: cannot find symbol
symbol  : class EventOutSFVec3f
location: class dx.net.WRLApplication
    private EventOutSFVec3f hitPointEO;
 
... more of the same
==================
 
I'm not sure if this is an environment variable issue or if I'm missing some libraries.  Xcode is up to date.
 
Any suggestions?
 
Don Dunbar
Back to top
 
 
Email   IP Logged
Pages: 1