help-octave
[Top][All Lists]
Advanced

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

RE: "undefined reference" error message when using mkoctfile to create o


From: Yan Zhang
Subject: RE: "undefined reference" error message when using mkoctfile to create oct file
Date: Fri, 17 Feb 2017 10:31:23 -0800

I found an article online written by Adrian Henke:
https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/
and created a lib file from the dll file. Then when I tried using the lib file, 
I got the following message:

----------------------------------------------------------------
>> mkoctfile PowerMeter.cc -l NewpDll.lib
c:/users/yan/downloads/octave-4.0.0_0/octave-4.0.0/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe:
 cannot find -l-LC
:\Users\yan\Downloads\octave-4.0.0_0\octave-4.0.0\lib\octave\4.0.0
c:/users/yan/downloads/octave-4.0.0_0/octave-4.0.0/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe:
 cannot find -loct
interp
c:/users/yan/downloads/octave-4.0.0_0/octave-4.0.0/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe:
 cannot find -loct
ave
collect2.exe: error: ld returned 1 exit status
warning: mkoctfile exited with failure status
warning: called from
    mkoctfile at line 171 column 5
----------------------------------------------------------------

What does that mean and what should I do now?

Thanks,

Yan

-----Original Message-----
From: Help-octave [mailto:address@hidden On Behalf Of Marco Atzeri
Sent: Friday, February 17, 2017 10:04 AM
To: address@hidden
Subject: Re: "undefined reference" error message when using mkoctfile to create 
oct file

On 17/02/2017 18:53, Yan Zhang wrote:
> Hi Mike,
>
> Thank you for the response. I also found out later about what you just said. 
> I'll try convert the dll file to lib file then see how it works.
>
> Thanks,
>
> Yan

You can not convert it.
Together with the dll you should also have the equivalent import library.





_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave



reply via email to

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