A list for the developers of CellML tools

Text archives Help


[cellml-dev] compiling Telicims


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] compiling Telicims
  • Date: Mon, 27 Dec 2010 23:46:56 +0000

I wasn't; that's the sort of thing I was looking for. Thanks! However, I
now get the following error on unix:

g++ -I./sources -I./sources/dom -I./sources/mathml -I./sources/cellml
-I./interfaces -I./VACSS/sources -Wall -O0 -fvisibility=hidden -g -O2 -O2
-ffast-math -O0 -o .libs/ValidateCellML ValidateCellML-ValidateCellML.o
./.libs/libcellml.so ./.libs/libvacss.so /usr/lib/libxml2.so
creating ValidateCellML
make[1]: *** No rule to make target
`TeLICeMS/tests/TestTeLICeMParser.cpp', needed by
`TestTeLICeMParser-TestTeLICeMParser.o'. Stop.
make[1]: Leaving directory `/home/lpsmith/CellML/hg/cellml-api'

It does, however, create interfaces/IfaceTeLICemS.hxx, so that's good!

When I added '--enable-telicems' to setup-cellml-api.sh in the
win32-build-setup directory, everything seems to run OK, but there's still
no 'iFaceTeLICeMS.hxx'.

If instead, I run 'configure [--enable-whatever]' and then 'make' in a
Cygwin window, I get the error:

$ make
SAVEDIR=`pwd` && \
SRCDIR=.; \
if [[ ${SRCDIR:0:1} == "/" ]]; then \
SRCBASE=/; \
else \
SRCBASE=`pwd`/; \
fi; \
mkdir -p ./interfaces && \
cd ./interfaces && \
"/cygdrive/c/build/cellml-api/./build/cygwin-wrapper" omniidl -p
$SRCBASE./simple_interface_generators/omniidl_b
e -bsimple_cpp $SRCBASE./interfaces/TeLICeMS.idl && \
cd $SAVEDIR
bison TeLICeMS/sources/TeLICeMParse.yy
mv ./TeLICeMParse.tab.cc ./TeLICeMParse.tab.cc.tmp
sed ./TeLICeMParse.tab.cc.tmp -e "s/YYERROR_VERBOSE_ARGS_MAXIMUM =
[0-9]*/YYERROR_VERBOSE_ARGS_MAXIMUM = 100/" > ./TeLIC
eMParse.tab.cc
flex TeLICeMS/sources/TeLICeMScan.l
make all-am
make[1]: Entering directory `/cygdrive/c/build/cellml-api'
source='./TeLICeMS/sources/TeLICeMSImpl.cpp'
object='libtelicems_la-TeLICeMSImpl.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
/bin/sh ./libtool --tag=CXX --mode=compile
/cygdrive/C/build/physiome-build/cygwin-build/msvc-wrapper -DHAVE_
CONFIG_H -I. -Wall -I./sources -I./TeLICeMS/sources -I./interfaces -O2
-c -o libtelicems_la-TeLICeMSImpl.lo `test -
f './TeLICeMS/sources/TeLICeMSImpl.cpp' || echo
'./'`./TeLICeMS/sources/TeLICeMSImpl.cpp
/cygdrive/C/build/physiome-build/cygwin-build/msvc-wrapper
-DHAVE_CONFIG_H -I. -Wall -I./sources -I./TeLICeMS/sources -
I./interfaces -O2 -c TeLICeMS\\sources\\TeLICeMSImpl.cpp -DPIC -o
.libs/libtelicems_la-TeLICeMSImpl.obj
Calling: cl.exe /c /Fo.libs\libtelicems_la-TeLICeMSImpl.obj /EHsc /nologo
/wd4091 /wd4290 /wd4710 /wd4127 /wd4996 /wd404
7 /wd4100 /wd4244 /wd4512 /wd4250 /wd4355 /wd4333 /wd4706 /Zc:wchar_t-
/DXP_WIN /DXP_WIN32 /Gy /D__STDC__ /DHAVE_CONFIG_
H /I. /W4 /I.\sources /I.\TeLICeMS\sources /I.\interfaces /O2 /DPIC /MD
TeLICeMS\sources\TeLICeMSImpl.cpp
TeLICeMSImpl.cpp
TeLICeMS\sources\TeLICeMSImpl.cpp(2) : fatal error C1083: Cannot open
include file: 'CellMLBootstrap.hpp': No such file
or directory
make[1]: *** [libtelicems_la-TeLICeMSImpl.lo] Error 1
make[1]: Leaving directory `/cygdrive/c/build/cellml-api'
make: *** [all] Error 2

Which seems to me to indicate that some environment variable is not being
set correctly in my Cygwin shell that was being set in the
win32-build-setup thingy. But the win32-build-setup thingy doesn't seem
to get the telicims bit right, so nothing actually works. If I just run
'make clean' and then 'make' from c:/build/cellml-api (where
win32-build-setup puts it) it doesn't do anything with telicims, which I
presume means that it's not actually reading setup-cellml.sh? Or not the
one I'm editing? I'm not sure.

At any rate, that's where I am now...

-Lucian


* Andrew Miller <ak.miller at auckland.ac.nz> [2010-12-27 22:11] writes:
> On 28/12/10 10:58, Lucian Smith wrote:
> >So! I think I'm relatively close--I had to convert Andrew's changes to
> >the release version of the code from several months ago to the actual
> >working code, but I at least have things not complaining about compiling.
> >
> >However, there is one missing piece: a few things in the API want the
> >file "IfaceTeLICeMS.hxx", which does not exist in the hg checkout, nor
> >does it seem to be generated automatically anywhere. Is there a flag for
> >'configure' that needs to be set, or perhaps did it not get included in
> >the offical repository? Thanks!
>
> Hi Lucian,
>
> Did you use --enable-telicems when running configure? You may need to
> regenerate your configure with autoconf (although running make after you
> got the changes will have already done that for you).
>
> Best wishes,
> Andrew
>
> >
> >-Lucian
> >_______________________________________________
> >cellml-tools-developers mailing list
> >cellml-tools-developers at cellml.org
> >http://lists.cellml.org/mailman/listinfo/cellml-tools-developers
>
> _______________________________________________
> cellml-tools-developers mailing list
> cellml-tools-developers at cellml.org
> http://lists.cellml.org/mailman/listinfo/cellml-tools-developers




Archive powered by MHonArc 2.6.18.

Top of page