getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Problem installing getfem toolbox for Matlab 7.1


From: Mirko Windhoff
Subject: Re: [Getfem-users] Problem installing getfem toolbox for Matlab 7.1
Date: Mon, 20 Sep 2010 20:13:47 +0200

Dear Arvind,

did you try to follow this (Ubuntu) how to?
http://windhoff.net/wiki/how_to/build_getfem_matlab_toolbox_on_ubuntu_linux

Regards,
Mirko

2010/9/20 Arvind Ajoy <address@hidden>:
> Dear Users,
>
> I have been using getfem happily for the last year and a half on my
> PC. I run Debian 5.0 + Matlab 7.4 on this system.
>
> I intend to use getfem on a computer with better resources.
> Unfortunately, this machine has only Matlab7.1 installed on it. I do
> not have permission to change the version of Matlab on this system.
>
> Using gcc-4.1.2 and Matlab 7.1.0.183 (R14), with the following
>
> ./configure --prefix=/sfs1/phd/ee06d006/tools/getfem-4.0.0
> --enable-matlab --enable-shared --with-pic
>
> I get the following error when compiling getfem-matlab on this system ...
>
> mex -largeArrayDims -output gf_matlab -g CDEBUGFLAGS="-O3" LD="g++" \
>        -I. -I./.. -DMATLAB_RELEASE=14 \
>        ./gfm_mex.c ./gfm_common.c ./../gfi_array.c \
>        ../.libs/libgetfemint.a ../../../src/.libs/libgetfem.a  -lblas
> -llapack   || (rm gf_matlab.mexa64; false)
> ./gfm_common.c: In function ‘mxarray_to_gfi_array’:
> ./gfm_common.c:66: error: ‘mwSize’ undeclared (first use in this function)
> ./gfm_common.c:66: error: (Each undeclared identifier is reported only once
> ./gfm_common.c:66: error: for each function it appears in.)
> ./gfm_common.c:66: error: expected ‘;’ before ‘n2’
> ./gfm_common.c:67: error: ‘n2’ undeclared (first use in this function)
> ./gfm_common.c:72: error: expected ‘;’ before ‘i’
> ./gfm_common.c:76: error: ‘i’ undeclared (first use in this function)
> ./gfm_common.c:134: error: ‘mwIndex’ undeclared (first use in this function)
> ./gfm_common.c:134: error: ‘ptr2’ undeclared (first use in this function)
> ./gfm_common.c:213: error: ‘pm’ undeclared (first use in this function)
> ./gfm_common.c:217: error: expected expression before ‘)’ token
> ./gfm_common.c: In function ‘gfi_array_to_mxarray’:
> ./gfm_common.c:238: error: ‘mwSize’ undeclared (first use in this function)
> ./gfm_common.c:238: error: expected ‘;’ before ‘ndim2’
> ./gfm_common.c:243: error: ‘ndim2’ undeclared (first use in this function)
> ./gfm_common.c:244: error: ‘dim2’ undeclared (first use in this function)
> ./gfm_common.c:297: error: expected ‘;’ before ‘j’
> ./gfm_common.c:300: error: ‘j’ undeclared (first use in this function)
> ./gfm_common.c:301: error: expected ‘)’ before ‘mwSize’
> ./gfm_common.c:307: error: expected ‘)’ before ‘mwSize’
> ./gfm_common.c:309: error: ‘i2’ undeclared (first use in this function)
> ./gfm_common.c:312: error: expected ‘)’ before ‘mwSize’
> ./gfm_common.c:322: error: ‘mwIndex’ undeclared (first use in this function)
> ./gfm_common.c:322: error: expected ‘;’ before ‘d1’
> ./gfm_common.c:323: error: ‘pr2’ undeclared (first use in this function)
> ./gfm_common.c:325: error: ‘d1’ undeclared (first use in this function)
> ./gfm_common.c:326: error: ‘d2’ undeclared (first use in this function)
> ./gfm_common.c:327: error: ‘nnz’ undeclared (first use in this function)
>
>    mex: compile of './gfm_common.c' failed.
>
> rm: cannot remove `gf_matlab.mexa64': No such file or directory
> make[5]: *** [gf_matlab.mexa64] Error 1
> make[5]: Leaving directory
> `/sfs1/phd/ee06d006/tools/getfem-4.0.0/interface/src/matlab'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/sfs1/phd/ee06d006/tools/getfem-4.0.0/interface/src/matlab'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/sfs1/phd/ee06d006/tools/getfem-4.0.0/interface/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/sfs1/phd/ee06d006/tools/getfem-4.0.0/interface'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sfs1/phd/ee06d006/tools/getfem-4.0.0'
> make: *** [all] Error 2
>
>
> I would be very happy if anyone has inputs on how I should proceed.
>
>
> Regards
>
> Arvind
>
> _______________________________________________
> Getfem-users mailing list
> address@hidden
> https://mail.gna.org/listinfo/getfem-users
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]