Re: error building root on RedHat 7.3

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 6 Aug 2008 10:41:09 +0200


Hi Tom,

On 2008-08-06 0:41, Tom Roberts wrote:
> Now the problem is I cannot get Root 5.20 to compile on Windows. I'm
> using VC++ Express edition 2008 and Cygwin. Any suggestions:
>
> cl -O2 -nologo -FIw32pragma.h -MD -GR -EHsc- -W3 -wd4244 -Iinclude
> -D_WIN32_WINNT=0x0400 -I/usr/include/freetype2
> -Fograf2d/graf/src/TTF.o -c graf2d/graf/src/TTF.cxx
> TTF.cxx
> include\TTF.h(30) : fatal error C1083: Cannot open include file:
> 'ft2build.h': No such file or directory
> make: *** [graf2d/graf/src/TTF.o] Error 2
> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

The include path for freetype is wrong, caused by --disable-builtin-freetype.

 > I tried --enable-builtin-freetype, but that caused other compile  > problems. I didn't need it on Mac or Linux.

But those we should be able to fix, whereas using the wrong freetype won't get us anywhere ;-)

Cheers, Axel.

>
> The only instance of that file on this Windows system is in
> /usr/include/ft2build.h, but that seems unlikely to be useful.
>
> FYI: cl gives:
> $ cl
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08
> for 80x86
> Copyright (C) Microsoft Corporation. All rights reserved.
> usage: cl [ option... ] filename... [ /link linkoption... ]
>
>
>
>

>> [about distributing my program]
>> In short: My advice would be to distribute the RPMs of ROOT, and also
>> make RPMs of your code. 

>
> I distribute on Mac OS X, Windows, and Linux. This greatly complicates
> things. For user convenience, I really need to include everything my
> program needs in my own installer (hence my desire to link statically).
>
>
> Tom Roberts
>
> My configure-disable-all (2 lines long):
> ./configure --disable-afs --disable-alien --disable-asimage
> --disable-astiff --disable-builtin-afterimage --disable-builtin-ftgl
> --disable-builtin-freetype --disable-castor --disable-chirp
> --disable-cint7 --disable-cintex --disable-clarens --disable-dcache
> --disable-exceptions --disable-explicitlink --disable-fftw3
> --disable-gdml --disable-gfal --disable-g4root --disable-globus
> --disable-glite --disable-gsl-shared --disable-krb5 --disable-ldap
> --disable-genvector --disable-mathmore --disable-memstat
> --disable-minuit2 --disable-monalisa --disable-mysql --disable-odbc
> --disable-opengl --disable-oracle --disable-pch --disable-peac
> --disable-pgsql --disable-pythia6 --disable-pythia8 --disable-python
> --disable-qt --disable-qtgsi --disable-reflex --disable-rfio
> --disable-roofit --disable-rpath --disable-ruby --disable-sapdb
> --disable-shadowpw --disable-shared --disable-soversion --disable-srp
> --disable-ssl --disable-table --disable-unuran --disable-winrtdebug
> --disable-xml --disable-xrootd --disable-xft \
> --enable-builtin-pcre --enable-builtin-zlib
>
>
>
>
Received on Wed Aug 06 2008 - 10:41:16 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 06 2008 - 23:50:01 CEST