Re: Root 5.20 won't build static on Windows

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Tue, 31 Mar 2009 10:16:05 -0500


This is Windows Xp with Cygwin, VC++ express edition 9.0. I need to build it from source, because I need the static library.

Root 5.20 built and runs successfully for me, but "make static" fails:

Making bin/roota...
build/win/ld.sh -nologo -ignore:4049,4075,4217,4221 -incremental:no -o bin/roota
  main/src/rmain.o cint/reflex/src/G__Reflex.o core/base/src/G__Base1.o

core/base

/src/G__Base2.o core/base/src/G__Base3.o core/clib/src/G__Clib.o
core/cont/src/G
__Cont.o core/meta/src/G__Meta.o core/meta/src/G__TCint.o core/metautils/src/G__
MetaUtils.o core/rint/src/G__Rint.o core/thread/src/G__Thread.o core/winnt/src/G
__WinNT.o geom/geom/src/G__Geom1.o geom/geom/src/G__Geom2.o geom/geombuilder/src
/G__GeomBuilder.o geom/geompainter/src/G__GeomPainter.o
graf2d/gpad/src/G__GPad.
o graf2d/graf/src/G__Graf1.o graf2d/graf/src/G__Graf2.o graf2d/postscript/src/G_
_PostScript.o graf2d/win32gdk/src/G__Win32gdk.o graf3d/g3d/src/G__G3D.o gui/fitp
anel/src/G__FitPanel.o gui/ged/src/G__Ged.o gui/gui/src/G__Gui1.o
gui/gui/src/G_
_Gui2.o gui/gui/src/G__Gui3.o gui/guibuilder/src/G__GuiBld.o 
gui/guihtml/src/G__

GuiHtml.o gui/sessionviewer/src/G__SessionViewer.o hist/hist/src/G__Hist.o hist/
histpainter/src/G__HistPainter.o hist/spectrum/src/G__Spectrum.o hist/spectrumpa
inter/src/G__Spectrum2Painter.o html/src/G__Html.o io/io/src/G__IO.o io/sql/src/
G__SQL.o io/xml/src/G__XML.o math/foam/src/G__Foam.o math/fumili/src/G__Fumili.o
  math/genvector/src/G__GenVector.o math/genvector/src/G__GenVector32.o
math/math
core/src/G__Math.o math/mathcore/src/G__MathCore.o 
math/mathcore/src/G__MathFit.

o math/matrix/src/G__Matrix.o math/minuit/src/G__Minuit.o
math/mlp/src/G__MLP.o
math/physics/src/G__Physics.o math/smatrix/src/G__Smatrix.o 
math/smatrix/src/G__

Smatrix32.o math/splot/src/G__SPlot.o montecarlo/eg/src/G__EG.o montecarlo/vmc/s
rc/G__VMC.o net/net/src/G__Net.o proof/proof/src/G__Proof.o proof/proofplayer/sr
c/G__ProofDraw.o proof/proofplayer/src/G__ProofPlayer.o
tmva/src/G__TMVA.o tree/
tree/src/G__Tree.o tree/treeplayer/src/G__TreePlayer.o 
tree/treeviewer/src/G__Tr

eeViewer.o lib/libRoot.a advapi32.lib lib/libfreetype.a lib/libpcre.a LINK : fatal error LNK1181: cannot open input file 'lib/libfreetype.a' make: *** [static] Error 157

This looks to be related to the ttf (true type fonts) feature, which is crazy on Windows (the home of true type fonts)....

Suggestions?

Tom Roberts Received on Tue Mar 31 2009 - 17:16:09 CEST

This archive was generated by hypermail 2.2.0 : Tue Mar 31 2009 - 23:50:02 CEST