[Tutor] Set LD_LIBRARY_PATH and equivalents platform-independently

Alan Gauld alan.gauld at btinternet.com
Thu Jan 17 09:35:52 CET 2013


On 17/01/13 02:10, Dave Angel wrote:

> I don't recall enough about Windows to be sure whether putenv would
> work, but the environment variable Windows uses to search for DLL's is
> certainly not LD_LIBRARY_PATH

If you check the code Albert is actually using different variables per 
platform. For Windows he is using PATH...


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list