A list for the developers of CellML tools

Text archives Help


[cellml-dev] Problem with compiling the CellMLAPI


Chronological Thread 
  • From: david.nickerson at gmail.com (David Nickerson)
  • Subject: [cellml-dev] Problem with compiling the CellMLAPI
  • Date: Thu, 11 Jun 2009 14:02:46 +1200

Hi Sarala,

Not sure of the subscription list for this list, but submitting errors
like this to the tracker is generally a good way to get help. Also
information like the OS and compilers you are trying to build with is
generally required.

Just a quick scan of the error message looks like a header file
generated from the IDL is not being created or at least not being
created in the right place. Given its the CellML_Context interface,
I'd be inclined to turn off compilation of the context with
'--enable-context=no' on the configure command (thats what I normally
do when I have built the API in the past). I'm not sure when the
context is actually required...


Cheers,
Andre.

On Thu, Jun 11, 2009 at 1:52 PM, Sarala
Dissanayake<sarala.dissanayake at auckland.ac.nz> wrote:
> Hi,
>
> I'm trying to compile the CellMLAPI. Would someone be able to let me know
> how to get it working.
>
> libtool: compile: ?g++ -DHAVE_CONFIG_H -I.
> -I/usr/local/share/jdk1.6.0_14/include
> -I/usr/local/share/jdk1.6.0_14/include/linux -Wall -I./sources
> -I./sources/dom -I./AnnoTools/sources -I./MaLaES/sources -I./CeVAS/sources
> -I./CUSES/sources -I./sources/rdf -I./interfaces -fvisibility=hidden -g -O2
> -O2 -ffast-math -MT libccgs_la-CCGSImplementation.lo -MD -MP -MF
> .deps/libccgs_la-CCGSImplementation.Tpo -c
> ./CCGS/sources/CCGSImplementation.cpp ?-fPIC -DPIC -o
> .libs/libccgs_la-CCGSImplementation.o
> In file included from ./CCGS/sources/CCGSImplementation.cpp:2:
> ./CCGS/sources/CCGSImplementation.hpp:17:35: error: IfaceCellML_Context.hxx:
> No such file or directory
> In file included from ./CCGS/sources/CCGSImplementation.cpp:2:
> ./CCGS/sources/CCGSImplementation.hpp:208: error: ?iface::cellml_context?
> has not been declared
> ./CCGS/sources/CCGSImplementation.hpp:208: error: expected `{' before
> ?CellMLModule?
> ./CCGS/sources/CCGSImplementation.hpp:208: error: function definition does
> not declare parameters
> ./CCGS/sources/CCGSImplementation.cpp: In function
> ?iface::cellml_services::CodeGeneratorBootstrap*
> CreateCodeGeneratorBootstrap()?:
> ./CCGS/sources/CCGSImplementation.cpp:598: error: invalid use of incomplete
> type ?class CDA_CodeGeneratorBootstrap?
> ./CCGS/sources/CCGSImplementation.hpp:205: error: forward declaration of
> ?class CDA_CodeGeneratorBootstrap?
> make: *** [libccgs_la-CCGSImplementation.lo] Error 1
>
> Cheers,
> Sarala
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> cellml-tools-developers mailing list
> cellml-tools-developers at cellml.org
> http://www.cellml.org/mailman/listinfo/cellml-tools-developers
>




Archive powered by MHonArc 2.6.18.

Top of page