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: Tue, 21 Dec 2010 00:17:49 +0000

* Andrew Miller <ak.miller at auckland.ac.nz> [2010-12-16 22:23] writes:
> On 16/12/10 13:20, Lucian Smith wrote:
> >* Lucian Smith<lpsmith at spod-central.org> [2010-12-15 19:45] writes:
> >>Success! At least, limited success; further than before!
> >
> >And now I can report on building on XP: I got it to fully compile, but
> >again the executables will not run, though this time for a different
> >reason:
> >
> >lpsmith at LucianComp /cygdrive/c/build/cellml-api
> >$ ./ValidateCellML
> >LINK : fatal error LNK1181: cannot open input file 'xml2.lib'
> >Calling: link.exe /OUT:c:\build\cellml-api\.libs\272-lt-ValidateCellML.exe
> >/NOLOGO /LIBPATH:C:\build\cellml-api\.libs /LIBPATH:c:\cygwin\usr\local\lib
> >/SUBSYSTEM:CONSOLE ValidateCellML-ValidateCellML.obj .\.libs\cellml.lib
> >.\.libs\vacss.lib C:\build\cellml-api\.libs\cuses.lib
> >C:\build\cellml-api\.libs\annotools.lib
> >C:\build\cellml-api\.libs\cellml.lib xml2.lib msvcrt.lib msvcprt.lib
> >kernel32.lib oldnames.lib

>
> Hi Lucian,
>
> I think you are very close to get it working - I think you just need to
> make sure the path to xml2.lib is in the path when you run
> ValidateCellML (the same as when you build it). Running libtool-based
> programs in place is more than simply running the binary, it actually
> builds a wrapper program with the compiler, so you need to have the
> appropriate environmental variables for the full build environment set
> up if you run them.

So, does the win32 installer try to set this up automatically? Because
after a reboot, I came back to this and it seems to run fine from a cygwin
shell, but from a windows console, it now freezes entirely and doesn't do
anything. I get the same behavior (freezing; no output) when I
double-click on ValidateCellML.exe.

OpenCell also continues to not compile, with the same error as before:

> >$ make
> >./appSupport/substitute-revision \
> > chrome/content/aboutDialog.xul.in \
> > chrome/content/aboutDialog.xul
> >./appSupport/substitute-revision \
> > chrome/content/help/about.xhtml.in \
> > chrome/content/help/about.xhtml
> >./appSupport/substitute-revision \
> > appSupport/application.ini.in \
> > appSupport/application.ini
> >/cygdrive/C/build/physiome-build/cygwin-build/msvc-wrapper -c -O2
> >-DXP_WIN32 -DX
> >P_WIN -DWIN32 -D_WIN32 -DNO_X11 -O2 -D__WIN32__ -DXP_WIN -DXP_WIN32
> >-D__x86__ -
> >I/cygdrive/C/build/xulrunner-sdk/include/
> >-I/cygdrive/C/build/xulrunner-sdk/incl
> >ude/xpcom/ -I/cygdrive/C/build/xulrunner-sdk/include/nspr/
> >-I/cygdrive/C/build/x
> >ulrunner-sdk/include/necko/
> >-I/cygdrive/C/build/xulrunner-sdk/include/string/ -I
> >/cygdrive/C/build/xulrunner-sdk/include/dom/
> >-I/cygdrive/C/build/xulrunner-sdk/i
> >nclude/js/ -I/cygdrive/C/build/xulrunner-sdk/include/editor/
> >-I/cygdrive/C/build
> >/xulrunner-sdk/include/docshell/
> >-I/cygdrive/C/build/xulrunner-sdk/include/conte
> >nt/ -I/cygdrive/C/build/xulrunner-sdk/include/rdf/
> >-I/cygdrive/C/build/cellml-ap
> >i -I/cygdrive/C/build/cellml-api/sources/
> >-I/cygdrive/C/build/cellml-api/interfa
> >ces/ -I/cygdrive/C/build/cellml-api/simple_interface_generators/glue/xpcom
> >\
> > -I stubs -FoCellMLInputServices.obj
> >DataCollector/CellMLInputServices.cpp
> >Warning: Unrecognised option -FoCellMLInputServices.obj
> >Calling: cl.exe /c /FoCellMLInputServices.obj /EHsc /nologo /wd4091
> >/wd4290 /wd4710 /wd4127 /wd4996 /wd4047 /wd4100 /wd4244 /wd4512 /wd4250
> >/wd4355 /wd4333 /wd4706 /Zc:wchar_t- /DXP_WIN /DXP_WIN32 /Gy /D__STDC__
> >/O2 /DXP_WIN32 /DXP_WIN /DWIN32 /D_WIN32 /DNO_X11 /O2 /D__WIN32__ /DXP_WIN
> >/DXP_WIN32 /D__x86__ /IC:\build\xulrunner-sdk\include\
> >/IC:\build\xulrunner-sdk\include\xpcom\
> >/IC:\build\xulrunner-sdk\include\nspr\
> >/IC:\build\xulrunner-sdk\include\necko\
> >/IC:\build\xulrunner-sdk\include\string\
> >/IC:\build\xulrunner-sdk\include\dom\ /IC:\build\xulrunner-sdk\include\js\
> >/IC:\build\xulrunner-sdk\include\editor\
> >/IC:\build\xulrunner-sdk\include\docshell\
> >/IC:\build\xulrunner-sdk\include\content\
> >/IC:\build\xulrunner-sdk\include\rdf\ /IC:\build\cellml-api
> >/IC:\build\cellml-api\sources\ /IC:\build\cellml-api\interfaces\
> >/IC:\build\cellml-api\simple_interface_generators\glue\xpcom /Istubs /MD
> >DataCollector\CellMLInputServices.cpp CellMLInputServices.cpp
> >c:\build\opencell\datacollector\TextScanClass.h(39) : fatal error C1083:
> >Cannot open include file: 'FlexLexer.h': No such file or directory
> >
> >make: *** [CellMLInputServices.obj] Error 2

If I knew where 'FlexLexer.h' was supposed to be I could check to see if
it was there--I think it may actually not exist, as opposed to the types
of problems I was getting earlier where the format of the directories was
wrong.

-Lucian




Archive powered by MHonArc 2.6.18.

Top of page