delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/28/04:35:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ptsekov AT syntrex DOT com>
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 <abdelasi AT enel DOT ucalgary DOT ca>
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>

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" <ptsekov AT syntrex DOT com>
> To: "Tamer Samy abdelazim" <abdelasi AT enel DOT ucalgary DOT ca>
> Cc: <cygwin AT cygwin DOT com>
> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019