Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C551B2D.8070901@syntrex.com> Date: Mon, 28 Jan 2002 10:34:37 +0100 From: Pavel Tsekov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Tamer Samy abdelazim CC: cygwin AT cygwin DOT com Subject: Re: help matlab References: <000e01c1a7a1$ba2cdc80$737b9f88 AT tsamy> <3C551648 DOT 70709 AT syntrex DOT com> <006d01c1a7e5$f39a4e50$c57c9f88 AT tsamy> Content-Type: text/plain; charset=windows-1256; format=flowed Content-Transfer-Encoding: 7bit Hi, Tamer :) You can't to use solaris, linux or any other platform targeted libraries to link with cygwin gcc. To link a program with cygwin tools you need cygwin targeted library or an cygwin import lib built from a windows native dll (you can find info about this on the mailing list). So I suggest you to find out more information on what kind of windows library the Mathlab folks provide and then come back to this list. Tamer Samy abdelazim wrote: > Hi pavel, > Very thanks for your fast reply ... libmat.a is a library contains all the > matlab calls like engEvalString it is distributed by mathworks > ftp://ftp.mathworks.com/pub/mathworks/extern/lib/ > ftp://ftp.mathworks.com/pub/mathworks/extern/include > and it is exisist in the saple of matlab mcc samples ........... > ....but i do not know which one (Linux x86 solaris windows) I tried all and > no one give me any result who is used for cygwin :( also the gcc doesnot > feel it ... always error .The last thing this code is compiled on unix sun > solaris and pass it > > > ----- Original Message ----- > From: "Pavel Tsekov" > To: "Tamer Samy abdelazim" > Cc: > Sent: Monday, January 28, 2002 1:13 AM > Subject: Re: help matlab > > > >>Hello, Tamer :) >> >>Tamer Samy abdelazim wrote: >> >> >>>>Dear Sir; >>>> i use cygwin for windows (gcc) and i try to call matlab >>>>engine from C under cygwin ... always errors (the error is under) >>>>can you help ...thanks in advance >>>> >>>>ERROR >>>>$ make >>>>gcc -o TPSS_ML main.o run_matlab.o msg.o strace.o libmat.a -lm >>>> >> >> >>What is libmat.a ? Is this the library supposed to containg the >>"engEvalString", "engGetMatrix" and others for which you get >>undefined references ? Is this library built for cygwin ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/