PathStripToRoot causing a link error?


#1

If you get a link error with PathStripToRoot you will need to add shlwapi.lib to your Linker Inputs in Visual Studio.

I’m not sure if Jules intended this library to be brought in. These are the required operating systems


#2

That lib is now in juce_win32_AutoLinkLibraries.h, same as all the others. There shouldn’t be any need to change anything unless you’re going off-piste with your build mechanism.


#3

haha should have known. Well, I have defined DONT_AUTOLINK_TO_JUCE_LIBRARY