- From: ak.miller at auckland.ac.nz (Andrew Miller)
- Subject: [cellml-dev] FW: Compiling OpenCell and/or getting a .lib
- Date: Fri, 17 Dec 2010 11:22:30 +1300
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
>
>
I get these warnings from 'configure', which maybe helps?
>
>
./configure: line 3728: PKG_PROG_PKG_CONFIG: command not found
>
which: no xml2-config in
>
(/cygdrive/C/build/sdk/bin:/cygdrive/C/build/msvc9/Common7/IDE:/cygdrive/C/build/msvc9/VC/BIN:/cygdrive/C/build/msvc9/VC/VCPackages:/cygdrive/C/build/msvc9/Common7/Tools:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:/cygdrive/C/build/msvc9/VC/VCPackages:/usr/lib/lapack:/cygdrive/C/build/omniORB-4.1.4/bin/x86_win32/:/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
>
Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program
>
Files/UWICK/SSH Tectia/SSH Tectia AUX:/cygdrive/c/Program Files/UWICK/SSH
>
Tectia/SSH Tectia AUX/Support binaries:/cygdrive/c/Program Files/UWICK/SSH
>
Tectia/SSH Tectia Broker:/cygdrive/c/Program Files/UWICK/SSH Tectia/SSH
>
Tectia Client:/cygdrive/c/Program Files/COPASI/bin/:/cygdrive/c/Program
>
Files/TortoiseSVN/bin:/cygdrive/c/Program Files/COPASI
>
4.5.30/bin/:/cygdrive/c/Program Files/SSH Secure Shell:/cygdrive/c/Program
>
Files
/COPASI/bin/:/cygdrive/c/Program Files/COPASI 4.5.30/bin/:/cygdrive/c/Program
Files/Microsoft Visual Studio
9.0/VC/bin:/cygdrive/c/Qt/4.5.0/bin:/cygdrive/c/Program
Files/CVSNT/:/cygdrive/c/MinGW/bin:/cygdrive/c/Qt/4.5.0/qt/bin:/cygdrive/c/Program
Files/CMake 2.8/bin)
>
./configure: line 3739: --cflags: command not found
>
>
This is after running cellml-dev-setup.exe twice--once with everything
>
checked, and it fails to install xulrunner, then after copying xulrunner
>
into c:/build/ like it wants, running it again without the MSVC and SDK
>
boxes checked, but everything else checked.
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.
Best wishes,
Andrew
>
>
Also, the compilation of opencell fails:
>
>
$ 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
>
>
-Lucian
Archive powered by MHonArc 2.6.18.