From help-octave-request at bevo dot che dot wisc dot edu Mon Apr 17 08:37:07 2000 Subject: Re: C/C++ using Octave From: Ben Sapp To: viveks at me dot iitb dot ernet dot in CC: help-octave at bevo dot che dot wisc dot edu Date: Mon, 17 Apr 2000 07:36:32 -0600 viveks at me dot iitb dot ernet dot in wrote: > > Hello: > > I came across .oct files that may be written using Octave C++ classes and > called from withing octave environment just like any m-file. > > However, I would like to do it slightly differently. I would like to know > whether it is possible to use the potential of Octave C++ classes in a > regular C++ program. I searched the list archive, but could not find > anything exactly related to my question. Hi Vivek, It actually has been discussed some time in the last few months. You probably just missed the archive so I'll go over what I remember. It is possible to do this. I believe you can link with liboctave and libcruft without to much trouble. If you try to link with liboctinterp you will run into trouble if you do not also link with libreadline. jwe said he would like to get rid of these references in liboctinterp but it has not been done. I have not actually done this I only remember the discussion. If you want to view the original discussion go to the articles in the archive with the subject 'Using Octave from C++' -- Ben Sapp Los Alamos National Laboratory email: Phone: (505)667-3277 Fax: (505)665-7920 URL: http://www.neutrino.lanl.gov/ -- ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------