Execution error: libCore.dll was not found

Hi,

I tried to link the root libraries (*.lib from root/lib/) of version 3.03/09 to a project in Visual C++ (Version: Enterprise 6.0, on Windows XP, using static MFC).
The compiler succeeds in the building and linking the project, but after I press the “Execute *.exe” button, I get an error message saying “This application has failed to start because libCore.dll was not found. Re-installing the application may fix this problem.”

Regarding root: I downloaded the binaries and successfully repectively adjusted and added the PATH and ROOTSYS variable.

Do you know what might be the problem, and how it could be solved?

Thanks,

Gwen

Hi,

PATH and ROOTSYS are most likely not set in the environment of the exe. For that you would have to have it set in the control panel/system/environment.

Cheers,
Philippe.

Hi Philippe,

You were right, thanks! It appeared I had added the path to the system variables’ path instead of to the user variables’ path. I works now :smiley:

Cheerz, Gwen