Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » Problem with MatLab
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Sarah Keating


Posts: 413
Registered:
May 2004
Re: Problem with MatLab 22 Jun '06 03:04 Go to previous messageGo to previous message

Hi Andreas

This seems to be relating to the include structure; which has been an issue.

try replacing the line
XCPPFLAGS = $(CPPFLAGS) -I/usr/local/include

in the SBMLToolbox makefile with

XCPPFLAGS = $(CPPFLAGS) -I/usr/local/include -I/usr/local/include/sbml

which should then find the missing files.

I'm assuming you are building SBMLToolbox; or are you using the
libSBML --with-MATLAB

Sarah


----- Original Message -----
From: "Andreas Dräger" <andreas.draeger@uni-tuebingen.de>
To: "LibSBML Discussion List" <libsbml-discuss@caltech.edu>
Sent: Thursday, June 22, 2006 9:01 AM
Subject: Re: [libsbml-discuss] Problem with MatLab


> Hello Sarah,
>
> I still get an error message. However, the file common/extern.h and
> sbmlfwd.h does exist. What else could I change?
> Thank you a lot for your help!
>
> Andreas
>
> [root@rapc77 toolbox]# make
> mex -I/usr/local/include -L/usr/local/lib TranslateSBML.c -lsbml
> In file included from TranslateSBML.c:61:
> /usr/local/include/sbml/xml/ParseMessage.h:56:27: common/extern.h: No such
> file or directory
> /usr/local/include/sbml/xml/ParseMessage.h:156:28: common/sbmlfwd.h: No
> such file or directory
> TranslateSBML.c: In function `GetKineticLaw':
> TranslateSBML.c:1689: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c: In function `GetRule':
> TranslateSBML.c:2054: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c: In function `GetFunctionDefinition':
> TranslateSBML.c:2288: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c: In function `GetEvent':
> TranslateSBML.c:2411: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c:2416: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c: In function `GetEventAssignment':
> TranslateSBML.c:2566: warning: passing arg 1 of `LookForCSymbolTime'
> discards qualifiers from pointer target type
> TranslateSBML.c: In function `LookForCSymbolTime':
> TranslateSBML.c:2657: warning: assignment discards qualifiers from pointer
> target type
>
> mex: compile of 'TranslateSBML.c' failed.
>
> make: *** [TranslateSBML.mexglx] Error 1
>
>
> Sarah Keating wrote:
>
>> Hi Andreas
>>
>> The build problem in SBMLToolbox is a bug in TranslateSBML.c - my fault
>> as I'm a windows user :-)
>>
>> If you change the includes at the top of TranslateSBML.c to read
>>
>> #include "sbml/xml/ParseMessage.h"
>> #include "sbml/util/util.h"
>> that should sort it! Once you have built TranslateSBML from SBMLToolbox
>> or libSBML SBToolbox should be fine.
>>
>> Remember to add the directory where TranslateSBML.mexglx is to your path
>> in MATLAB. Your initial problem could have been caused by this!
>>
>> Hope this helps
>>
>> Sarah
>
> --
> Dipl.-Bioinform. Andreas Dräger
> Eberhard Karls University Tübingen
> Center for Bioinformatics (ZBIT)
> Phone: +49-7071-29-70436
> Fax: +49-7071-29-5091
>
>
>



      

SubjectPosterDate
Read Message   Problem with MatLab Andreas Dräger21 Jun '06 07:43
Read Message   Re: Problem with MatLab Sarah Keating21 Jun '06 10:55
Read Message   Re: Problem with MatLab Andreas Dräger22 Jun '06 01:01
Read Message   Re: Problem with MatLab David Fange22 Jun '06 01:46
Read Message   Re: Problem with MatLab Andreas Dräger22 Jun '06 02:18
Read Message   Re: Problem with MatLab  Sarah Keating22 Jun '06 03:04
Read Message   Re: Problem with MatLab Andreas Dräger23 Jun '06 03:11
Read Message   Re: Problem with MatLab Andreas Dräger23 Jun '06 03:16
Read Message   Re: Problem with MatLab Mike Hucka27 Jun '06 23:42
Read Message   Re: Problem with MatLab blent9129 Jun '06 02:48
Read Message   Re: Problem with MatLab sonnenschein21 Feb '07 08:35
Read Message   Re: Problem with MatLab nerdelbaum22 Oct '07 10:21
Read Message   Re: Problem with MatLab Sarah Keating24 Oct '07 08:07
Read Message   Re: Problem with MatLab meono02 Mar '09 00:12
Read Message   Re: Problem with MatLab Sarah Keating02 Mar '09 09:54
Read Message   Re: Problem with MatLab Javier10 Nov '09 14:43
Previous Topic:Problems building MATLAB API
Next Topic:libSBML for 64bit windows vista [was Re: EBI HELP: SOFTWARE ERROR (SUP#535325)]
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.