I am trying to run a program for data analysis that I wrote on a windows machine (visual studio) using root 5.34.36, and it compiles fine but when I attempt to run I receive an error message that “libHist.dll is not installed on your system”. This happens for all of the libs that I have included as dependencies. What is going on and how to I fix it or get around it?
To run your application from anywhere, just set the following environment variable on your system:
And add %ROOTSYS%\bin in your PATH.
EDIT: And obviously, if it’s a console application, simply call the C:\Where\You\installed\root\bin\thisroot.bat script, it will set-up the environment variables for the current console session.
that did it, thanks