|
From: | Said Benaissa |
Subject: | Re: nan-3.0.1 package |
Date: | Wed, 23 Mar 2016 15:39:28 +0100 |
when I use pkg install -forge nanI have this message>> pkg install -forge nanls: /usr/local/: No such file or directorylinear.cpp: In function 'int save_model(const char*, const model*)':linear.cpp:1900:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]for(i=0; i<model_->nr_class; i++)^linear.cpp: In function 'void get_labels(const model*, int*)':linear.cpp:2201:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]for(int i=0;i<model_->nr_class;i++)^make: cc: Command not foundmake: *** [svm.o] Error 127make: Entering directory `/tmp/oct-hXp05A/NaN/src'C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "histo_mex.cpp"C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "covm_mex.cpp"C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "kth_element.cpp"C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "sumskipnan_mex.cpp"C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp "str2array.cpp"g++ -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c tron.cppg++ -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c linear.cppenv CC=g++ C:/Octave/Octave-4.0.0/bin/mkoctfile-4.0.0.exe --mex -lgomp -lblas train.c tron.o linear.o linear_model_matlab.ccc -fopenmp -Wall -Wextra -Wconversion -O2 -fopenmp -c svm.cppmake: Leaving directory `/tmp/oct-hXp05A/NaN/src'pkg: error running `make' for the nan package.error: called from 'configure_make' in file C:\Octave\Octave-4.0.0\share\octave\4.0.0\m\pkg\private\configure_make.m near line 96, column 9--On Wed, Mar 16, 2016 at 4:38 PM, Nicholas Jankowski <address@hidden> wrote:On Wed, Mar 16, 2016 at 11:36 AM, Nicholas Jankowski <address@hidden> wrote:On Wed, Mar 16, 2016 at 11:34 AM, Said Benaissa <address@hidden> wrote:Dear,I want to install the package nan-3.0.1,
I use pkg install -forge nan-3.0.1.tar.gz
but I have the following error
error: cellfun: C must be a cell array
error: called from
get_forge_pkg at line 72 column 14
get_forge_download at line 26 column 12
pkg at line 393 column 29
Please, what should I do to install the package?
Thanks
Best regards,Saidjust dopkg install -forge nanIt will get the latest version. If instead you download the file to your computer, then you would change to that folder and run:pkg install nan-3.0.1.tar.gzI recommend the first option.Also, don't forget to use the package you have to load it after opening Octave:pkg load nan"help pkg" can show you more options.BENAISSA SaidEngineer researcheremail : address@hiddenTel :+212 678 34 47 68 (Morocco)Tel : +32465510686 (Belgium)
[Prev in Thread] | Current Thread | [Next in Thread] |