Wei Xie | 1 Aug 04:58 2009
Picon

[ROOT] Error: external preprocessing failed. (0)

I used the vc9.0 version of root. trying to compile a simple code "oo.C" 
in the following manner:

.x oo.C++

The error is: Error: external preprocessing failed. (0). The version of 
root is 5.22/00

Thanks
--Wei

Wei Xie | 1 Aug 04:59 2009
Picon

Re: [ROOT] Error: external preprocessing failed. (0)

Here is the code:

#include <iostream>
void oo()
{
     cout<<"----"<<endl;
}

Wei Xie wrote:
> I used the vc9.0 version of root. trying to compile a simple code "oo.C" 
> in the following manner:
> 
> .x oo.C++
> 
> The error is: Error: external preprocessing failed. (0). The version of 
> root is 5.22/00
> 
> Thanks
> --Wei
> 

--

-- 
Dept. of Physics, Purdue Univ.
525 Northwestern Ave., West Lafayette, IN 47907

http://www.physics.purdue.edu/people/faculty/wxie.shtml
Tel: 765-494-8743, Fax: 765-494-0706
_______________________________________________________

(Continue reading)

Lorenzo Moneta | 1 Aug 13:51 2009
Picon
Picon

Re: [ROOT] Re: error on parameters

Hi ,

  I would need to have your program to understand better, or if this  
is too complicated at least a full log obtained by printing all the  
states,
which can be obtained from FunctionMinimum::States()

   Regards

  Lorenzo
On Jul 24, 2009, at 7:09 PM, Patrick Dupre

> Hello,
>
> So, what to do in such non convergencing fit ?
>
> WARNING: Minuit did not converge.
>
> # of function calls: 11
> minimum function Value: 6.91267761669e-12
> minimum edm: 4.8466883e-21
> minimum internal state vector: LAVector parameters:
>   -0.024392663
>
> # ext. ||   Name    ||   type  ||     Value     ||  Error +/-
>
>   0   ||         0 ||  const  ||             0 ||
>   1   ||         1 || limited ||      1.293175 || 0.095448475
>   2   ||         2 ||  const  ||     0.3208311 ||
>   3   ||         3 ||  const  ||     0.2854745 ||
(Continue reading)

Philippe Canal | 1 Aug 23:52 2009

Re: [ROOT] Error: external preprocessing failed. (0)

Hi,

This is likely caused by the fact that you have not install or not 
properly setup the microsoft compiler
which is necessary for any compilation (i.e. including via ACliC)

Cheers,
Philippe.

Wei Xie wrote:
> I used the vc9.0 version of root. trying to compile a simple code 
> "oo.C" in the following manner:
>
> .x oo.C++
>
> The error is: Error: external preprocessing failed. (0). The version 
> of root is 5.22/00
>
> Thanks
> --Wei
>

Rene Brun | 4 Aug 09:37 2009
Picon
Picon

Re: [ROOT] Passing a sub-range of a histo to TSpectrum

Hi Roger,

You forgot to post your data file. Probably an array overflow.

Rene Brun

Roger Mason wrote:
> Hello,
>
> I cannot get TSpectrum to find the peaks in my spectrum, so I'm tying to
> pass a sub-range that should be easier to deal with.  The following code 
>         
> #include <TSpectrum.h>
> #include <TGraph.h>
> #include <TH1F.h>
> #include <TCanvas.h>
> #include <TMath.h>
> void tspectrumB () {
>   TCanvas* c1 = new TCanvas("c1","PL/Raman Spectrum",1024,768);
>   c1->Divide(1,2);
>
>   // This is the whole spectrum
>   TGraph* file1 = new TGraph("file1_2col_np.dat");
>   Int_t N = file1->GetN();
>   Double_t* x  = file1->GetX();
>   Double_t* y = file1->GetY();
>   Double_t xmax = TMath::MaxElement(N,x);
>   printf("Maximum wavenumber = %f\n",xmax);
>   c1->cd(1);
>   file1->Draw("ap");
(Continue reading)

Fons Rademakers | 4 Aug 09:42 2009
Picon
Picon

Re: [Fwd: [ROOT] Problem compiling ROOT 5.22.00d]

Hi Jorn,

   yes that is wanted. You must install xft support.

Cheers, Fons.

> 
> Subject:
> [ROOT] Problem compiling ROOT 5.22.00d
> From:
> Joern Wuestenfeld <j.wuestenfeld <at> gsi.de>
> Date:
> Thu, 30 Jul 2009 14:25:39 +0200
> To:
> <roottalk <at> root.cern.ch>
> 
> To:
> <roottalk <at> root.cern.ch>
> 
> 
> Hello,
> 
> I have a question regarding the configuration of ROOT 5.22.00d:
> 
> If I run configure it checks for the existence of the libXft
> 
> Checking for libXft ... no
> configure: libXft (libxft-devel) MUST be installed
> 
> Even if I add the option --disable-xft! Is that wanted?
(Continue reading)

Joern Wuestenfeld | 4 Aug 09:51 2009
Picon
Picon

Re: [Fwd: [ROOT] Problem compiling ROOT 5.22.00d]

Hi Fons,

I meanwhile found out how to fix the Problem.
I'm trying to compile on a Scientific Linux 4.3 System. In our 
installation the X11 libraries are not in one of the path's where 
configure searches for libXft:

 >   check_library "libXft" "$enable_shared" "" \
 >       /usr/local/lib /usr/lib /usr/lib/X11 \
 >        /usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
 >        /usr/X11/lib

instead they are installed under /usr/X11R6/lib64. For all other 
libraries (libXpm, libX11) there are special options to define there 
location, but not for libXft! Could this option be added to configure? 
It would help in such occasions. I had to modify configure, to get it 
running.

Cheers,

Jörn

Fons Rademakers | 4 Aug 13:14 2009
Picon
Picon

Re: [Fwd: [ROOT] Problem compiling ROOT 5.22.00d]

This should be detected automatically. How do you run configure? On a 
64-bit linux you will get:

./configure
.(pcsalo) [137] ./configure
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.79.1 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking for libX11 ... /usr/lib64
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/lib64
Checking for libXft ... /usr/lib64
Checking for libXext ... /usr/lib64

Cheers, Fons.

Joern Wuestenfeld wrote:
> Hi Fons,
> 
> I meanwhile found out how to fix the Problem.
> I'm trying to compile on a Scientific Linux 4.3 System. In our 
> installation the X11 libraries are not in one of the path's where 
> configure searches for libXft:
> 
>  >   check_library "libXft" "$enable_shared" "" \
(Continue reading)

Joern Wuestenfeld | 4 Aug 13:57 2009
Picon
Picon

Re: [Fwd: [ROOT] Problem compiling ROOT 5.22.00d]

Hi Fons,

thanks fo the hint, I was configuring with ./configure linux .... as 
usual. Later I found out, that I need to use linuxx8664gcc to configure 
the correct opions, as otherwise the -m64 option for the compiler is not 
set. And one gets 32bit and 64bit library mixing. Using the correct  
linuxx8664gcc architecture, all goes fine, even without explicite 
specification of directories for  libX11 and libXpm.

Cheers,

Jörn

Chiara Zampolli | 4 Aug 15:59 2009
Picon
Picon

[ROOT] [Fwd: Problems in streaming a variable lenght array of TString]

Hi,

    Sorry in case you double receive this mail... I sent it yestarday, 
but I'm not sure it was properly received...
    Here it is.
    Cheers,

          Chiara

**********************

Hi,

    I have a problem when trying to write an object containing a 
variable length array of TString to a file. In fact, the object contains
a variable length array of different types, which are initialized only 
if the corresponding constructor is called.

    In the attached file you can fine the class (AliDCSArray.h/cxx) 
where the array is, and a macro (test1.C) to write an object of that
class in a file. The TString array is not initialized, in this example, 
while I initialize the Bool_t one.
    Here's what I get when exectuting the macro:

    root [0] .x test1.C
    Info in <TUnixSystem::ACLiC>: creating shared library
    /home/zampolli/FileDCSLHC/ForROOT/././AliDCSArray_cxx.so
    Error in <TStreamerInfo::WriteBufferAux>: The pointer to element
    AliDCSArray::fString type 501 (TString*) is null

(Continue reading)


Gmane