A list for the developers of CellML tools

Text archives Help


[cellml-dev] FW: Compiling OpenCell and/or getting a .lib


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] FW: Compiling OpenCell and/or getting a .lib
  • Date: Mon, 13 Dec 2010 22:54:46 +0000

* Andrew Miller <ak.miller at auckland.ac.nz> [2010-12-10 00:22] writes:
> On 10/12/10 13:03, Lucian Smith wrote:
> >* Andrew Miller<ak.miller at auckland.ac.nz> [2010-12-09 23:27] writes:
> >>On 10/12/10 12:13, Lucian Smith wrote:
> >>>So, here's my current status; hopefully one of you can help point me in
> >>>the right direction from here.
> >>>
> >>>The CellML API Windows binary: The .dll and the .lib files are two parts
> >>>of a three-part puzzle: I need include files in order to actually use
> >>>them. The source code does *not* include all the necessary include
> >>>files,
> >>>because they are auto-generated. The auto-generated .h (etc) files from
> >>>Unix do not work; they expect linux-specific files to be present. So as
> >>>it stands right now, I cannot use the CellML API binary.
> >>>
> >>>Compiling the CellML API myself from source on cygwin for VS2008: I am
> >>>actually pretty close on this! The last time I tried it, I
> >>>gave up when 'aclocal' didn't work; recently I tried 'aclocal-1.10' and
> >>>that seemed to work fine (leastwise it didn't complain). This got me to
> >>>'configure', which didn't work with VS 2010, but did indeed run through
> >>>with VS 2008. Then I ran 'make' and immediately ran into problems:
> >>
> >>Hi Lucian,
> >>
> >>Did you try the setup tool at
> >>
> >>http://cellml-api.hg.sf.net/hgweb/cellml-api/win32-build-setup/cellml-dev-setup.exe
> >>yet?
> >>
> >>That is probably the first thing worth trying if you haven't already -
> >>that is the recommended way to build the API on Windows.

OK, I have now run the setup tool, and it had some issues--it doesn't stop
when it runs into problems, is the main thing, so it just zooms to the end
making you watch popups which may or may not tell you what's going on.
After it finished and nothing was done, I saw that it had failed to
download xulrunner, so I ran 'configure' by hand and pointed it at the
other installation. 'Configure' then finished, but then 'make' failed
exactly the same way it ahd before.

So, I went ahead and re-ran the setup tool telling it not to bother with
xulrunner/opencell. It failed again, once more not telling me why. So, I
ran 'configure' by hand, and I think it got further than it had the last
time-at the very least, the 'omniidl' bits worked fine. However, I then
got this error:

creating librdf.la
(cd .libs && rm -f librdf.la && cp ../librdf.la librdf.la)
/bin/sh ./libtool --tag=CXX --mode=link
/cygdrive/c/build/cellml-api/build/msvc-wrapper -I. -I./sources
-I./interfaces
-g -o libcellml.la -rpath /usr/local/lib libcellml_la-Utilities.lo
libcellmlonly.la libmathmlonly.la libdomonly.la
libdomdirectonly.la -lxml2 -no-undefined librdf.la
rm -fr .libs/libcellml.lax
mkdir .libs/libcellml.lax
rm -fr .libs/libcellml.lax/cellmlonly.lib
mkdir .libs/libcellml.lax/cellmlonly.lib
(cd .libs/libcellml.lax/cellmlonly.lib && ar x
/cygdrive/c/build/cellml-api/./.libs/cellmlonly.lib)
.libs/libcellmlonly_la-CellMLEvents.obj: No such file or directory
make[1]: *** [libcellml.la] Error 1
make[1]: Leaving directory `/cygdrive/c/build/cellml-api'
make: *** [all] Error 2

Once again, the file in question is actually there
(/cygdrive/c/build/cellml-api/.libs/libcellmlonly_la-CellMLEvents.obj but
it's not being pointed to in the right way... somehow.

-Lucian




Archive powered by MHonArc 2.6.18.

Top of page