I gather you are considering using the "call-module" interface, so you need the DX executive, which is C code. I would think that you'd go ahead and compile it using the normal C compiler, then in your C++ code, you'd declare the entry points extern "C" to keep C++ from mangling the names.
Another possibility you might consider is to use the DXLink interface. That'd allow you to program the 3D aspects of your app in the visual programming environment and to connect to your app as an external process through sockets via the DXLink library calls (which you'd also extern "C"). Greg Stephen Dzurenko <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 06/02/2000 10:45:33 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: [opendx-dev] Does DX compile with C++?? Hi Folks, I sent out a message regarding this a few days ago. Noone responded, so I'll try once more. We have been evaluating DX for a sonar mapping system we are creating. We had hoped to use DX module calls to provide our system with the 3D viewing capability it requires. Our application will be written in C++ and we must make the DX module calls from within C++ objects. We were not able to get DX to compile with either GNU g++ 2.8.1 or Solaris C++ 5.0. Both compilers are reporting the same errors. I can send the exact errors if need be, but first off, I would like to know if anyone is using the DX module API from within C++ code. Also, does anyone know whether or not this should or should not be possible? Thanks again. -Steve -- Stephen Dzurenko Research Engineer / Scientist Associate Advanced Sonar Division / Advanced Technology Laboratory Applied Research Laboratories The University of Texas at Austin P.O. Box 8029 Austin, Texas 78713-8029 10000 Burnet Road 78758-4423
