Hi
I re-installed windows and root and when I tried the tutorial below, the programm stops.
Any idea why?
C:\Program Files (x86)\Microsoft Visual Studio 14.0>root
*******************************************
* *
* W E L C O M E to R O O T *
* *
* Version 5.34/34 2 October 2015 *
* *
* You are welcome to visit our Web site *
* http://root.cern.ch *
* *
*******************************************
ROOT 5.34/34 (v5-34-34@v5-34-34, Oct 02 2015, 16:30:37 on win32)
CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x $ROOTSYS/tutorials/fit/combinedFit.C+
****************************************
Minimizer is Minuit2 / Migrad
Which version of ROOT did you install? How does it stops? Do you have any error message?
Could you try with “.x $ROOTSYS/tutorials/fit/combinedFit.C++”?
For example, ROOT v5.34 works fine for me:
[code]root [0] .x $ROOTSYS/tutorials/fit/combinedFit.C+
Info in TWinNTSystem::ACLiC: creating shared library C:\Users\bellenot\bin\roo
t\v5-34-00-patches/tutorials/fit/combinedFit_C.dll
2554498_cint.cxx
combinedFit_C_ACLiC_dict.cxx
Creating library C:\Users\bellenot\bin\root\v5-34-00-patches/tutorials/fit\co
mbinedFit_C.lib and object C:\Users\bellenot\bin\root\v5-34-00-patches/tutorials
/fit\combinedFit_C.exp
[/code]
[color=#FF0000]EDIT:[/color] BTW, don’t start ROOT from “C:\Program Files (x86)\Microsoft Visual Studio 14.0”
[color=#FF0000]EDIT(2)[/color] And BTW, ROOT is NOT compatible with Visual Studio 2015…
I tried the .x $ROOTSYS/tutorials/fit/combinedFit.C++ and it crashes again. beside the error message in the root window, there is a popup screen which is saying "root.exe has stopped working: A problem causes the program to stop working correctly…Please close the program " and there are two options Close the program , Debug the program
EDIT(2) And BTW, ROOT is NOT compatible with Visual Studio 2015….
Should I downgrade to 2013?
EDIT: BTW, don’t start ROOT from "C:\Program Files (x86)\Microsoft Visual Studio 14.0"
I thought this is the recommended way to start from “Administrator: Developer Command Prompt” console.
Yes. You must use a version of ROOT built with the exact same version of Visual Studio (this is not specific to ROOT). I.e. you cannot mix different versions of Visual Studio.
Well, it could work, but the safe way is to start from a location without spaces and where you can write… And BTW, recommended by who?