[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connect Octave to Fantom Driver library on Windows?

From: Michael Goffioul
Subject: Re: connect Octave to Fantom Driver library on Windows?
Date: Mon, 18 Apr 2011 07:58:35 +0100

On Sun, Apr 17, 2011 at 7:16 PM, Michele Chabot <address@hidden> wrote:
> Hello,
> I would like to operate my Lego NXT robot using Octave and the Fantom Driver
> library ( on
> Windows.
> RWTH ( (GPL) does this already with
> MatLab in place of Octave, but it relies on MatLab features not available in
> Octave (calllib) to access the Fantom library.
> To accesses the fantom driver from Octave using OCT files, I could create
> .cc wrapper files to link with the fantom library, but since fantom supplies
> only Microsoft-compatible (header,lib and dll) files for windows, I assume
> this would not work.

Not necessarily. MinGW is able to use MSVC .lib files to compile code
(just try to include a .lib file to the link command). The main problem is
if the Fantom driver library is C++, that's not gonna work as MinGW and
MSVC are binary incompatible for C++ code. Should work fine with C code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]