Hi my name is Alberto, i study physics and my professors suggested me to install this program but i have a problem. I wrote a program, called “lampadina”, but when i try to run it the terminal gives me this error (in the file there is the picture) . Anyone can help me? Thanks
dpiparo
January 27, 2017, 9:54am
#2
Dear Alberto,
it seems that the path where the library is created cannot be accessed. I wonder if you could try a path without spaces in it.
As a side note, for increasing understandability of your posts I would move the language of the system to English.
D
Hi dpiparo, i will move the cmd to english as soon as possible but i have not understood what i have to do. Thanks
Make sure that the full path name (where you work) has no space characters inside (e.g. no “Alberto Paniate”).
Hi, thanks for the answer
I have changed the name in the path as in the photo.
But when I try to run a program, it gives me this error
Thanks
dpiparo
January 27, 2017, 8:23pm
#6
Hi,
I think that what we both suggested is not to change the environment variable PATH but rather change the directory from where you are running Lampadina so that the path to that file does not contain a space…
D
Ok, thanks I have changed it but there is a new error:
dpiparo
January 27, 2017, 10:14pm
#8
Hi,
how is the macro function called? Perhaps you’d like to have a look to root.cern.ch/root/htmldoc/guide … ompilation .
D
Hello, my name is Sandip and I’m a first year physics student at university. I’m very new to programming and to root in particular and I have a question about installing Root.
I currently have a laptop running Windows 10 and want to know how to go about installing Root on it. I know that there are other blog posts about this particular topic but I find it quite confusing as there are a lot of different methods of installing root such as using cygwin, partitioning my hard drive with linux, using…
Hello, i am using this programs:
OS: Windows 10
Root: Windows Visual Studio 2013 root_v5.34.36.win32.vc12.exe
Windows VS: Windows visual studio 2015 (instead of the 2013)
And when i try to run this code(v1.1): hepforge.org/downloads/tglaubermc
the v1.1, and when i run it (.L) a receive this message:
root[0] .L runglauber_v1.1.C+
Info in <TWinNTSystem: :ACLiC>: creating shared library C:\root_v5.34.36\macros\runglauber_v1.1.C.dll
'cl.exe' is not recognized as an internal or external command…
Dear All,
I am trying to run my PyROOT app on Windows, these are my first attempts. It can’t compile loaded ROOT C file due to lack of “cl.exe”. What is it and what can I do about it?
Also, on windows my menus and status bars are invisible (while being visible for standard canvases), but that needs more investigation on my side…
Hi,
I have just started working with ROOT for a few days. After reading previous posts, I have managed to fixed the error with “cl.exe” by setting environment variables with VC++ 2010. Unfortunately, the problem with ACLic remains.
Here’s my macro file.
{
gROOT->ProcessLine(".L Qfuncs.cxx+");
gROOT->ProcessLine(".L RLAfuncs.cxx+");
gROOT->ProcessLine(".L ConvoluteRLAQ.C+");
gROOT->ProcessLine("ConvoluteRLAQ(500)");
}
And here’s the result.
[code]Setting environment for using Microso…
Hello, I am using windows 8 and I recently downloaded root version 5.34.20, MSI package.
Wenn I tried to open a root tutorial by typing
.x $ROOTSYS/tutorials/hsum.C+
I got the following error message:
[color=#800000]‘cl.exe’ is not recognized as an internal or external command, operable program or batch file.
Error: external preprocessing failed. (0)
Error: C:\root\bin\rootcint: error loading headers…
Error in : Dictionary generation failed!
Info in : Invoking compiler to check macro’s v…
Hello,
I have problems to install root on my computer. I take the version for Windows (VC++ 9, MSI, Release version). The installation works an I can open it. There is a start screen and it’s possible to type commands. To test it I start a macro, for example fileopen.C and it works. Then I put in this directory (C:\root\macros) a file and start it with the command: .L chn2hist.C+
But the result is something I do not understand:
Info in TwinNTSystem::ACLiC : creating shared library C:\root\macr…
Hi, Everybody
I’m a very beginner in Root and I have trouble with it (Root version 5.27/04; XP; Microsoft Visual C++ Express Edition 2008).
I want to run this code:
[b]#include “TH1F.h”
#include “TPad.h”
#include “TROOT.h”
void DrawGaussian()
{
TH1F* h=(TH1F*)gROOT->FindObject(“h_gaus”);
if( h ){
h->Reset();
} else {
h = new TH1F(“h_gaus”,“Une gaussienne”,100,0.,100.);
}
h->Draw();
for(Double_t x=0; x<100; x++)
{
Double_t f = 20.*exp( -pow(x-50.,2)/2./pow(10,2) );
h->Fill(x,f); …
… and many more …
Ok, thanks but I have not understood what I have to do with the command prompt of visual studio . I have installed root in another directory