A list for the developers of CellML tools

Text archives Help


[cellml-dev] cmake issues


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] cmake issues
  • Date: Thu, 4 Aug 2011 20:11:57 +0100

I'm trying out the new cmake system and I like it! A couple things:

I get the following warning when compiling on ubuntu:

[ 71%] Building C object CMakeFiles/cellml.dir/extdep/libxml/xmlmemory.c.o
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c: In function
CDA_xmlMallocLoc:
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c:208: warning:
format %ld expects type long int, but argument 4 has type size_t
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c: In function
CDA_xmlMallocAtomicLoc:
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c:276: warning:
format %ld expects type long int, but argument 4 has type size_t
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c: In function
CDA_xmlReallocLoc:
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c:352: warning:
format %ld expects type long int, but argument 4 has type size_t
/home/lpsmith/CellML/hg/cellml-api/extdep/libxml/xmlmemory.c:352: warning:
format %ld expects type long int, but argument 5 has type size_t

I know this is the external library, but figured I'd mention it.


More critically, when I 'make install' I get the error:

CMake Error at cmake_install.cmake:146 (FILE):
file INSTALL cannot find
"/home/lpsmith/CellML/hg/cellml-api/interfaces/IfaceCellML_APISPEC.hxx".

And indeed, that file does not exist.

This from a build where SHARED_LIBS was on, but TESTING and CHECK_BUILD
was off, with annotools, celeds, cevas, cuses, and telicems enabled (and
nothing else from those listed files). (Also, from a clean checkout.)

-Lucian






Archive powered by MHonArc 2.6.18.

Top of page