[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem building octave-forge -2006.07.09 with octave-2.9.9
From: |
Riccardo Corradini |
Subject: |
Problem building octave-forge -2006.07.09 with octave-2.9.9 |
Date: |
Thu, 14 Dec 2006 15:49:02 +0100 (CET) |
Hello all,
I tried to install octave-forge -2006.07.09 with octave-2.9.9 on ubuntu edgy
but unfortunately I have a big problem with mex section
When I type
~/octave-forge-2006.07.09/extra/mex mkoctfile-2.9.9 mex.cc
I obtain the following output
mex.cc:308: error: redefinition of class mxArray
/usr/include/octave-2.9.9/octave/mxarray.h:122: error: previous definition of class mxArray
mex.cc: In member function virtual octave_value mxArray::as_octave_value() const:
mex.cc:450: error: isstr was not declared in this scope
mex.cc:452: error: nr was not declared in this scope
mex.cc:452: error: nc was not declared in this scope
mex.cc:455: error: pr was not declared in this scope
mex.cc:458: error: pmap was not declared in this scope
mex.cc:462: error: pi was not declared in this scope
mex.cc:464: error: nr was not declared in this scope
mex.cc:464: error: nc was not declared in this
scope
mex.cc:466: error: pr was not declared in this scope
mex.cc:469: error: pr was not declared in this scope
mex.cc:471: error: nr was not declared in this scope
mex.cc:471: error: nc was not declared in this scope
mex.cc: In member function mxArray* mex::make_value(const octave_value&):
mex.cc:537: error: class mxArray has no member named is_string
mex.cc:538: error: class mxArray has no member named real
mex.cc:539: error: class mxArray has no member named imag
mex.cc:540: error: class mxArray has no member named map
mex.cc:541: error: class mxArray has no member named rows
mex.cc:542: error: class mxArray has no member named columns
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char* mxArray::name is private
mex.cc:543: error: within this context
mex.cc:543: error: value->mxArray::name cannot be used as a function
mex.cc: In member function mxArray*
mex::make_value(int, int, int):
mex.cc:555: error: class mxArray has no member named real
mex.cc:556: error: class mxArray has no member named imag
mex.cc:557: error: class mxArray has no member named imag
mex.cc:558: error: class mxArray has no member named rows
mex.cc:559: error: class mxArray has no member named columns
mex.cc:560: error: class mxArray has no member named is_string
mex.cc:561: error: class mxArray has no member named map
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char* mxArray::name is private
mex.cc:562: error: within this context
mex.cc:562: error: value->mxArray::name cannot be used as a function
mex.cc: In member function mxArray* mex::make_value(int, int, const string_vector&):
mex.cc:588: error: class mxArray has no member named rows
mex.cc:589: error: class mxArray has no member named columns
mex.cc:590: error: class mxArray has no member
named map
mex.cc: In member function void mex::free_value(mxArray*):
mex.cc:598: error: class mxArray has no member named real
mex.cc:599: error: class mxArray has no member named imag
mex.cc: In member function void mex::persistent(mxArray*):
mex.cc:606: error: class mxArray has no member named real
mex.cc:607: error: class mxArray has no member named imag
mex.cc: In function octave_value_list call_mex(callstyle, const octave_value_list&, int):
mex.cc:447: error: virtual octave_value mxArray::as_octave_value() const is protected
mex.cc:680: error: within this context
mex.cc: In function int mexCallMATLAB(int, mxArray**, int, const mxArray**, const char*):
mex.cc:447: error: virtual octave_value mxArray::as_octave_value() const is protected
mex.cc:759: error: within this context
mex.cc: In function int mxIsChar(const mxArray*):
mex.cc:812: error: const class mxArray has no member named
is_string
mex.cc: In function void* mxGetPr(const mxArray*):
mex.cc:819: error: const class mxArray has no member named real
mex.cc: In function void* mxGetPi(const mxArray*):
mex.cc:820: error: const class mxArray has no member named imag
mex.cc: In function int mxGetM(const mxArray*):
mex.cc:821: error: const class mxArray has no member named rows
mex.cc: In function int mxGetN(const mxArray*):
mex.cc:822: error: const class mxArray has no member named columns
mex.cc: In function int mxGetNumberOfDimensions(const mxArray*):
mex.cc:823: error: const class mxArray has no member named dims
mex.cc: In function int mxGetNumberOfElements(const mxArray*):
mex.cc:824: error: const class mxArray has no member named rows
mex.cc:824: error: const class mxArray has no member named columns
mex.cc: In function void mxSetM(mxArray*, int):
mex.cc:825: error: class mxArray has no member named
rows
mex.cc: In function void mxSetN(mxArray*, int):
mex.cc:826: error: class mxArray has no member named columns
mex.cc: In function void mxSetPr(mxArray*, void*):
mex.cc:827: error: class mxArray has no member named real
mex.cc: In function void mxSetPi(mxArray*, void*):
mex.cc:828: error: class mxArray has no member named imag
mex.cc: In function double mxGetScalar(const mxArray*):
mex.cc:831: error: const class mxArray has no member named real
mex.cc: In function int mxGetString(const mxArray*, char*, int):
mex.cc:838: error: const class mxArray has no member named is_string
mex.cc:840: error: const class mxArray has no member named rows
mex.cc:841: error: const class mxArray has no member named columns
mex.cc:843: error: const class mxArray has no member named real
mex.cc:845: error: array subscript is not an integer
mex.cc: In function char* mxArrayToString(const
mxArray*):
mex.cc:854: error: const class mxArray has no member named rows
mex.cc:855: error: const class mxArray has no member named columns
mex.cc: In function mxArray* mxCreateString(const char*):
mex.cc:867: error: class mxArray has no member named is_string
mex.cc:869: error: class mxArray has no member named real
mex.cc: In function mxArray* mxCreateCharMatrixFromStrings(int, const char**):
mex.cc:887: error: class mxArray has no member named is_string
mex.cc:891: error: class mxArray has no member named real
/usr/include/octave-2.9.9/octave/mxarray.h: In function int mexPutArray(mxArray*, const char*):
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char* mxArray::name is private
mex.cc:902: error: within this context
mex.cc:902: error: ptr->mxArray::name cannot be used as a function
mex.cc:447: error: virtual octave_value mxArray::as_octave_value() const is
protected
mex.cc:905: error: within this context
mex.cc:447: error: virtual octave_value mxArray::as_octave_value() const is protected
mex.cc:910: error: within this context
/usr/include/octave-2.9.9/octave/mxarray.h: In function mxArray* mexGetArray(const char*, const char*):
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char* mxArray::name is private
mex.cc:945: error: within this context
mex.cc:945: error: ptr->mxArray::name cannot be used as a function
/usr/include/octave-2.9.9/octave/mxarray.h: In function const char* mxGetName(const mxArray*):
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char* mxArray::name is private
mex.cc:962: error: within this context
mex.cc:962: error: ptr->mxArray::name cannot be used as a function
/usr/include/octave-2.9.9/octave/mxarray.h: In function void mxSetName(mxArray*, const char*):
/usr/include/octave-2.9.9/octave/mxarray.h:321: error: char*
mxArray::name is private
mex.cc:967: error: within this context
mex.cc:967: error: ptr->mxArray::name cannot be used as a function
mex.cc: In function mxArray* mxGetField(const mxArray*, int, const char*):
mex.cc:979: error: const class mxArray has no member named field
mex.cc: In function void mxSetField(mxArray*, int, const char*, mxArray*):
mex.cc:983: error: class mxArray has no member named field
mex.cc: In function int mxGetNumberOfFields(const mxArray*):
mex.cc:985: error: const class mxArray has no member named num_keys
mex.cc: In function const char* mxGetFieldNameByNumber(const mxArray*, int):
mex.cc:989: error: const class mxArray has no member named key
mex.cc: In function int mxGetFieldNumber(const mxArray*, const char*):
mex.cc:993: error: const class mxArray has no member named key
mex.cc: In function mxArray* mxGetFieldByNumber(const mxArray*, int, int):
mex.cc:997: error:
const class mxArray has no member named field
mex.cc: In function void mxSetFieldByNumber(mxArray*, int, int, mxArray*):
mex.cc:1001: error: class mxArray has no member named field
mex.cc:1001: error: return-statement with a value, in function returning 'void'
How could I fix it?
Thanks a lot
Riccardo
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it
- Problem building octave-forge -2006.07.09 with octave-2.9.9,
Riccardo Corradini <=