help-octave
[Top][All Lists]
Advanced

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

Re: Compiled oct files with MSVC would not load in Octave: API version e


From: Michael Goffioul
Subject: Re: Compiled oct files with MSVC would not load in Octave: API version error
Date: Tue, 1 Oct 2013 09:42:40 -0400

On Mon, Sep 30, 2013 at 11:07 PM, Daniel <address@hidden> wrote:
Hello Friends of Octave,

I am currently trying to compile a simple Cpp-function for Octave by using
MSVC 10.0, but the created DLL would not load in Octave. The error message
is:

error: API version p§ù♠api-v48+ found in .oct file function '8§ù♠matServer'
       does not match the running Octave (API version api-v48+)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file
error: failed to install .oct file function 'matServer'

This seems very odd to me, since the very same file compiles and runs well
by calling mkoctfile. Moreover, the message somehow indicates, that the used
API is correct. I already checked both binaries with dependency Viewer and
the function signatures are identical.

Does someone know how to proceed? I'd really prefer compiling with MSVC, due
to debugging ability!

How did you compile the "DLL" (I guess you mean oct-file here)? Do you have multiple versions of octave installed?

Michael.


reply via email to

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