Mex error while running vl_compile in vl-feat - matlab-compiler

I have recently tried vl-feat in matlab. While i am trying to compile vl_compile the following error is showing up
Error using mex C:\Users\NAME\AppData\Local\Temp\mex_25970338003646_3984\vl_covdet.obj:vl_covdet.c:(.rdata$.refptr.vlCovdetMethods[.refptr.vlCovdetMethods]+0x0): undefined reference to `vlCovdetMethods'
collect2.exe: error: ld returned 1 exit status
Error in vl_compile (line 140)
mex(cmd{:}) ;
It would be very helpful if anyone can guide me how to solve this issue.
Thank you.

If the problem is, that VL_FEAT does not work with matlab on Windows.
Without compiling (only matlab setup) vl_sift in Matlab told me: "... vcomp100.dll required by ...".
I tried to properly recompile and got the same error message as posted in the question.
In the end recompiling didn't not work for me. This is what worked:
I looked into C:\Windows\System32 and found that vcomp120.dll and vcomp140.dll existed. I simply copied the vcomp120.dll and renamed it to vcomp100.dll.
Then without compiling (only matlab setup), vl_sift worked in matlab.

Related

Fatal error (13): No program entry point with XDS Modula-2?

I'm using the current bundled binaries from https://github.com/excelsior-oss/xds (as of 12/6/2020) with just the most basic Hello World MOD file:
MODULE HelloWorld;
FROM STextIO IMPORT WriteLn, WriteString;
BEGIN
WriteString("Hello, World!");
WriteLn;
END HelloWorld.
xc HelloWorld.mod works fine for compiling it to object. However, I'm not clear on the exact syntax for xlink on a standalone MOD file. xlink HelloWorld.obj will at least get it to try with my object file, but as the error shows, it doesn't know the entrypoint. I've tried setting the entry point with the /ENTRY switch, but no luck doing it by module name. I've also tried setting the /SYS to console, but again, no luck there.
I feel there's some trivial linker option or program directive needed, but I'm just not finding it via Google...
To build a binary, use: xc =a =make HelloWorld.mod
The above is found in https://github.com/excelsior-oss/xds/blob/master/Sources/Doc/Comp/src/usage.tex .
It is unfortunate that XDS did not put PDFs of their documentation on github. I suggest building the documentation from their LaTeX files.
Edit: I since learnt that the Wayback Machine has archived the XDS documentation here: https://web.archive.org/web/20060705213825/http://www.excelsior-usa.com/xdsdoc.html

ST Bluenrg-ms example codes

there
Has anyone tried any one of the 4 sample codes provided by ST for their Bluenrg-MS evaluation board ?
https://www.st.com/en/wireless-transceivers-mcus-and-modules/bluenrg-ms.html
The sample codes were downloaded from here:
https://www.st.com/en/embedded-software/stsw-stlkt01.html
I've tried to use stm32cubeide, AC6 and atollic truestudio to open the sample projects, but all of them are giving me the error message such as:
An internal error occurred during: "Build Project".
java.lang.NullPointerException
Basically, there are too much unresolved inclusions and variables that it seems to me that the debug/release configuration is not correct. Even 'uint32_t' is unresolved. I've tried the same thing on different PC and getting the same result.
Has any one tried to use these sample codes ? Or is there any other sample codes that are good starting point for this board ?
Thanks.
Eric
As soon as I upgraded to the recent-release STM32CubeIDE 1.0.4 and the STSW-STLKT01_V2.4.0, everything works fine. I guess this is a bug of the old versions.

Closuer compiler having error like "namespace never provided'

I am compiling ES6 modules into ES3 via clouser compiler but getting error,
What am i doing wrong?
see this issue i've posted on github
https://github.com/google/closure-compiler/issues/2139
fixed is using **/*.js
(which cause all files be included in compiler)

Mediatek Linkit One Error when compiling in Arduino IDE 1.6.6: arm-none-eabi-g++: no such file or directory

So, as you can see in the title, I am having a problem with my Linkit One. I am using Arduino IDE 1.6.6, and I am using the Linkit One SDK 1.1.17 through the Arduino board's manager. When I compile anything, even a simple bare minimum Arduino program, I get this error:
arm-none-eabi-g++: error: ~My System Path\Temp\build3694385943597424511.tmp/syscalls_mtk.c.o: No such file or directory Error compiling.
I have searched long and hard for an answer to this problem, and I have found nothing. Please inform me if I need to provide extra information.
Thanks, Fiske
I got it to work by editing platform.txt
and adding core/ so that it reads:
{build.path}/core/syscalls_mtk.c.o
instead of
{build.path}/syscalls_mtk.c.o
platform.txt was located in:
/Users/awootton/Library/Arduino15/packages/LinkIt/hardware/arm/1.1.17
Okay: Here is what I did. First of all, I switched to IDE 1.6.5, like you said. Then I followed the tutorial here: https://www.hackster.io/seeyouu/smart-city-bus-network-9f4cb0. FINALLY I got the linkit to work. You have no idea how long that took.
Try v1.6.5 of the ide. Seemed to fix the issue for us!

Why can't I get any .m file to work in octave?

I am desperately trying to run octave in a VirtualBox of Ubuntu 12.04. I have made a file called ANGRY.m which has lines as follows:
%How badly does octave suck?
OCTAVESUCKS=5
That is it. When I try to run it (i.e. enter ANGRY into the command line I get this error message:
error: `ANRGY' undefined near line 1 column 1
I've had things running better than this in octave and have absolutely no clue why it is doing this or how to fix it or how to go about trying to search for what is wrong. I am sorry I cannot be more helpful. But I really can't. Please aim any answer at a total moron. I'm really not a programmer.
You misspelled ANGRY when you put it into the terminal...
Do you see your file ANGRY.m when you type
ls
in Octave? Check the working dir with "pwd"!