Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problem in Configuring VL_Feat Code

Subject: Problem in Configuring VL_Feat Code

From: Khalid Iqbal

Date: 6 Nov, 2012 18:41:08

Message: 1 of 2

Dear Friends
I am trying to execute vl_feat matlab codes, but basic step is to configure properly for calling of .m files.
I have placed VL_FEAT codes in Matlab directory and folder name is VLFEATROOT.
C:\Program Files\MATLAB\VLFEATROOT
In this directory, a toolbox folder is provided.

I am getting the following errors, How can i fix this problem?
--------------------------------------------
>> vl_root

ans =

C:\Program Files\MATLAB\VLFEATROOT
---------------------------------------------------
>> vl_setup

Attempt to execute SCRIPT addpath as a function:
C:\Program Files\MATLAB\R2012a\bin\ensemble toolbox\addpath.m

Error in vl_setup (line 63)
addpath(fullfile(root,'toolbox' )) ;
------------------------------------------------------------------
>> vl_compile

vl_compile: assuming that Visual C++ is the active compiler
vl_compile: compiling for PCWIN (32 bit)
MEX C:\Program Files\MATLAB\VLFEATROOT\toolbox\aib\vl_aib.c
lcc preprocessor warning: C:\Program Files\MATLAB\VLFEATROOT\vl\host.h:234 C:\Program Files\MATLAB\VLFEATROOT\vl\generic.h:17 C:\Program Files\MATLAB\VLFEATROOT\toolbox\mexutils.h:18 C:\Program Files\MATLAB\VLFEATROOT\toolbox\aib\vl_aib.c:16 #warning directive: "LCC support is experimental!"
Error C:\Program Files\MATLAB\VLFEATROOT\toolbox\aib\vl_aib.c: C:\Program Files\MATLAB\VLFEATROOT\vl\random.h: 81 compiler error in _kids--Bad rule number 0
 
  C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: Compile of 'C:\Program Files\MATLAB\VLFEATROOT\toolbox\aib\vl_aib.c' failed.
 
Error using mex (line 206)
Unable to complete successfully.

Error in vl_compile (line 140)
    mex(cmd{:}) ;
----------------------------

Thanking you in advance

Khalid

Subject: Problem in Configuring VL_Feat Code

From: Steven_Lord

Date: 6 Nov, 2012 22:14:44

Message: 2 of 2



"Khalid Iqbal" <mykhalidiqbal@gmail.com> wrote in message
news:k7blk4$rlc$1@newscl01ah.mathworks.com...
> Dear Friends
> I am trying to execute vl_feat matlab codes, but basic step is to
> configure properly for calling of .m files.
> I have placed VL_FEAT codes in Matlab directory and folder name is
> VLFEATROOT.
> C:\Program Files\MATLAB\VLFEATROOT
> In this directory, a toolbox folder is provided.
>
> I am getting the following errors, How can i fix this problem?
> --------------------------------------------
>>> vl_root
>
> ans =
>
> C:\Program Files\MATLAB\VLFEATROOT
> ---------------------------------------------------
>>> vl_setup
>
> Attempt to execute SCRIPT addpath as a function:
> C:\Program Files\MATLAB\R2012a\bin\ensemble toolbox\addpath.m

1) You should not install toolboxes inside the directories named bin or
toolbox under the MATLAB root directory.

2) This "ensemble toolbox" is overriding the ADDPATH function included with
MATLAB with its own script file of the same name. Remove this toolbox from
the path, contact the authors, and suggest that they rename their script
file or make it a function that behaves the same way the ADDPATH function
included with MATLAB behaves.

http://www.mathworks.com/help/matlab/ref/addpath.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us