A list for the developers of CellML tools

Text archives Help


[cellml-dev] Problem with compiling the CellMLAPI


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-dev] Problem with compiling the CellMLAPI
  • Date: Thu, 11 Jun 2009 14:17:12 +1200

Sarala Dissanayake wrote:
> Hi,
>
> I'm trying to compile the CellMLAPI. Would someone be able to let me
> know how to get it working.
Hi Sarala,

I'm not sure why you are seeing this error... it looks like you have
built with the CellML Context enabled, but it hasn't built the header
file for it.

So a few things to check:
=> Which version are you using? The latest version or one of the
tarballs... we changed some of the dependency rules since the last
release, which might have fixed it.
=> Did you configure with cellml-context enabled? This looks like the
build system thinks it is disabled, but the define is set, which is unusual.
=> Does manually running make interfaces/IfaceCellML_Context.hxx work?

Best wishes,
Andrew

>
> 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