view bugs.m @ 102:7af23be30765

Bug installing Rice Wavelet
author vemiya <valentin.emiya@inria.fr>
date Tue, 12 Apr 2011 15:58:51 +0200
parents e829f7ef8418
children 228ece3184c1
line wrap: on
line source
% I encountered an error while running SMALL_solver_test_Audio :

%??? Error using ==>
%problems\private\completeOps>@(x)reshape(data.B(x,1),data.signalSize)
%Too many input arguments.
%Error in ==> SMALL_playAudio at 17
%SMALL.solver.reconstructed  = SMALL.Problem.reconstruct(SMALL.solver.solution);
%Error in ==> SMALL_solver_test_Audio at 96
%SMALL_playAudio(SMALL);
 

% version of Matlab used: 7.9.0.529  - 64 bits



%%%%%%%%%%%%%%%%%
% bug by Valentin
%%%%%%%%%%%%%%%%%
% In SMALLboxSetup.m
% On Windows XP, 32 bits, Matlab R2010a
% 
% > SMALLboxSetup
% ...
% Compiling the Rice Wavelet Toolbox MEX interfaces...Error mdwt.c: 39  undeclared identifier `intptr_t' 
% Warning mdwt.c: 39  Statement has no effect 
% Error mdwt.c: 39  syntax error; found `m' expecting `;' 
% Error mdwt.c: 39  undeclared identifier `m' 
% Error mdwt.c: 39  undeclared identifier `n' 
% Error mdwt.c: 39  undeclared identifier `h_col' 
% Error mdwt.c: 39  undeclared identifier `h_row' 
% Error mdwt.c: 39  undeclared identifier `lh' 
% Error mdwt.c: 39  undeclared identifier `L' 
% Error mdwt.c: 39  undeclared identifier `i' 
% Error mdwt.c: 39  undeclared identifier `po2' 
% Error mdwt.c: 39  undeclared identifier `j' 
% Warning mdwt.c: 39  Statement has no effect 
% Error mdwt.c: 40  illegal statement termination 
% Error mdwt.c: 40  skipping `double' 
% Error mdwt.c: 40  undeclared identifier `mtest' 
% Error mdwt.c: 40  undeclared identifier `ntest' 
% Warning mdwt.c: 40  Statement has no effect 
% Error mdwt.c: 62  operands of * have illegal types `int' and `pointer to double' 
% Warning mdwt.c: 39   possible usage of po2 before definition 
% Warning mdwt.c: 39   possible usage of intptr_t before definition 
% Warning mdwt.c: 38  local `pointer to double Lf' is not referenced 
% Error mdwt.c: 106  missing parameter type 
% Error mdwt.c: 106  syntax error; found `m' expecting `)' 
% Error mdwt.c: 106  skipping `m' `,' `intptr_t' `n' `,' 
% Error mdwt.c: 106  syntax error; found `double' expecting `{' 
% Error mdwt.c: 106  too many errors 
%  
%   C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'mdwt.c' failed. 
%  
% Warning: Could not compile Rice Wavelet Toolbox MEX interfaces.\n 
% > In SMALLboxSetup at 365
% 
%  ******************************************************************
% 
%  Initialising SMALLbox Examples Setup
%  ******************************************************************
% 
%  SMALLbox Installation Complete!
% 
%  For more information on the installed toolboxes see
% 
%  Sparco: http://www.cs.ubc.ca/labs/scl/sparco/
% 
%  SPGL1: http://www.cs.ubc.ca/labs/spgl1/?n=HomePage
% 
%  SparseLab: http://sparselab.stanford.edu/   (PLEASE REGISTER SPARSELAB!)
% 
%  Sparsify: http://www.see.ed.ac.uk/~tblumens/sparsify/sparsify.html
% 
%  GPSR: http://www.lx.it.pt/~mtf/GPSR/
% 
%  OMPbox and KSVDBox: http://www.cs.technion.ac.il/~ronrubin/
% 
% 
%  Would you like to run a demo: ([y]/n)? 
% 
%  1 to run SMALL_solver_test 
%  2 to run Dictionary Learning for Image Denoising demo 
%  q to quit: 1
% 
%  Running SMALL_solver_test problem
% 
% Example test of SMALL solvers against their counterparts on Sparco problems.
% 
% ??? Undefined function or method 'mdwt' for input arguments of type
% 'double'.
% 
% Error in ==> opWavelet>opWavelet_intrnl at 55
%       [y,l] = mdwt(reshape(x,[m,n]), h, levels);
% 
% Error in ==>
% opWavelet>@(x,mode)opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode)
% at 37
% op = @(x,mode)
% opWavelet_intrnl(m,n,family,filter,levels,type,h,x,mode);
% 
% Error in ==> prob006 at 67
% data.x0              = data.op.Daubechies(data.signal,2);
% 
% Error in ==> generateProblem at 101
% [data] = eval(sprintf('prob%03d(varargin{:});',index));
% 
% Error in ==> SMALL_solver_test at 61
% SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024,
% 'show');
% 
% Error in ==> SMALLboxSetup at 416
%     SMALL_solver_test;
%