www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT cygwin DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT cygwin DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT cygwin DOT com> |
List-Help: | <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT cygwin DOT com |
X-Originating-IP: | [136.159.123.75] |
From: | "Tamer Samy abdelazim" <tasamy2000 AT hotmail DOT com> |
To: | <cygwin-apps AT cygwin DOT com> |
Subject: | call matlab from C |
Date: | Tue, 29 Jan 2002 04:38:21 -0800 |
MIME-Version: | 1.0 |
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: | <OE68vFnciebfCrxZ3mF0001c083@hotmail.com> |
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial><FONT size=3D2>Hi All ;</FONT></FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2> &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)</FONT></DIV> <DIV><FONT face=3DArial size=3D2> I do not know which libmat.a or = which=20 liberary i can use.Can you help ?...thanks in advance.</FONT></DIV> <DIV><FONT face=3DArial size=3D6><U></U></FONT> </DIV> <DIV><FONT face=3DArial size=3D6><U>ERROR</U></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2>$ make<BR>gcc -o TPSS_ML = main.o=20 run_matlab.o msg.o strace.o libmat.a=20 -lm<BR>run_matlab.o(.text+0x25):run_matlab.c: undefined reference to=20 `engEvalString'<BR>run_matlab.o(.text+0x3b):run_matlab.c: undefined = reference to=20 `engGetMatrix'<BR>run_matlab.o(.text+0x4f):run_matlab.c: undefined = reference to=20 `mxGetPr'<BR>collect2: ld returned 1 exit status<BR>make: *** [TPSS_ML] = Error=20 1</FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> <DIV><FONT face=3DArial size=3D2>Tamer mohamed samy abdelazim=20 Mellik<BR>Home (+1 403) (2614630)<BR>Office (+1 403)=20 (2206077)<BR>Lab. (+1 403) (2109545)<BR><A=20 href=3D"http://www.enel.ucalgary.ca/~abdelasi/">http://www.enel.ucalgary.= ca/~abdelasi/</A><BR>#1203,=20 505 6 St. SW<BR>T2P 1X5<BR>Calgary=20 AB<BR>Canada</FONT></DIV></DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_0048_01C1A87E.C78D81D0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |