Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com X-Originating-IP: [136.159.123.75] From: "Tamer Samy abdelazim" To: Subject: call matlab from C Date: Tue, 29 Jan 2002 04:38:21 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0048_01C1A87E.C78D81D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 29 Jan 2002 11:38:59.0713 (UTC) FILETIME=[8AF9D710:01C1A8B9] This is a multi-part message in MIME format. ------=_NextPart_000_0048_01C1A87E.C78D81D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All ; i am using cygwin for windows. I tried to call matlab = engine from C under cygwin under win2K ... I am always get errors from = gcc compiler (the error is under) I do not know which libmat.a or which liberary i can use.Can you help = ?...thanks in advance. ERROR $ make gcc -o TPSS_ML main.o run_matlab.o msg.o strace.o libmat.a -lm run_matlab.o(.text+0x25):run_matlab.c: undefined reference to = `engEvalString' run_matlab.o(.text+0x3b):run_matlab.c: undefined reference to = `engGetMatrix' run_matlab.o(.text+0x4f):run_matlab.c: undefined reference to `mxGetPr' collect2: ld returned 1 exit status make: *** [TPSS_ML] Error 1 Tamer mohamed samy abdelazim Mellik Home (+1 403) (2614630) Office (+1 403) (2206077) Lab. (+1 403) (2109545) http://www.enel.ucalgary.ca/~abdelasi/ #1203, 505 6 St. SW T2P 1X5 Calgary AB Canada ------=_NextPart_000_0048_01C1A87E.C78D81D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi All ;
          &nbs= p; i am=20 using cygwin for windows.  I tried to call matlab engine = from C=20 under cygwin under  win2K ... I am always get errors from gcc = compiler (the=20 error is under)
 I do not know which libmat.a or = which=20 liberary i can use.Can you help ?...thanks in advance.
 
ERROR
$ make
gcc  -o TPSS_ML = main.o=20 run_matlab.o msg.o strace.o  libmat.a=20 -lm
run_matlab.o(.text+0x25):run_matlab.c: undefined reference to=20 `engEvalString'
run_matlab.o(.text+0x3b):run_matlab.c: undefined = reference to=20 `engGetMatrix'
run_matlab.o(.text+0x4f):run_matlab.c: undefined = reference to=20 `mxGetPr'
collect2: ld returned 1 exit status
make: *** [TPSS_ML] = Error=20 1
 
Tamer mohamed samy abdelazim=20 Mellik
Home   (+1 403) (2614630)
Office (+1 403)=20 (2206077)
Lab.   (+1 403) (2109545)
http://www.enel.ucalgary.= ca/~abdelasi/
#1203,=20 505 6 St. SW
T2P 1X5
Calgary=20 AB
Canada
------=_NextPart_000_0048_01C1A87E.C78D81D0--