--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.
Some comments:"file libCoolProp.dylib" should be run in the .office folder, or by giving the absolute path to the dylib, as you found outSeems like you did not follow the instruction about adding the .plist in step 2. That is not optional, and the only way I know of to get Excel to accept that as a path for loading dynamic libraries. Adding the path to ~/.bash_profile doesn't work either.To be fair, the newest OS I have access to is OSX 10.11, so perhaps Apple has changed their sandboxing again in 10.12, but I imagine that this should work.
On Tue, Dec 20, 2016 at 3:48 PM, Mark335 <markh...@gmail.com> wrote:
Have followed the instructions for installation of Coolprop for Excel on Mac.Mac OS 10.12 SierraExcel 2016 Version 15.26I followed all of the instructions to download and move the CoolProp.xlam and libCoolProp.dylib files to the .office directoryI used the 64 bit dylib file.When I run "file libCoolProp.dylib" at the terminal window command prompt, I am returned the error "libCoolProp.dylib: cannot open `libCoolProp.dylib' (No such file or directory)"When I run the coolprop function in excel, I am returned error 53.I have tried to add the .office file to the bash_profile file to include it with my PATH, but the command "file libCoolProp.dylib" still return the same error that it cannot be found. If I type if the full path at the terminal window with the "file" command it returns the x64 value.It seems the library file is not accessible in the path. Can you please help to provide a way to include the file location to the PATH?The optional 2a step lists the path command with /another/path listed and I have tried the path to the .office directory and that did not work.
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
/Users/username/Library/LaunchAgents/my.startup.plist
Here is the contents of the plist file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>my.startup</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>launchctl setenv DYLD_LIBRARY_PATH "/Users/username/Library/Group Containers/UBF8T346G9.Office"</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
The libCoolProp.dylib is located in: /Users/username/Library/Group Containers/UBF8T346G9.Office/libCoolProp.dylib
The CoolProp.xlam is located in: /Users/username/Library/Group Containers/UBF8T346G9.Office/CoolProp.xlam
I have tried to run the command from the plist directly on the command line with the same error when using the "file" command. Results below.
MacBook-Pro:~ username$launchctl setenv DYLD_LIBRARY_PATH /Users/username/Library/Group\ Containers/UBF8T346G9.Office
MacBook-Pro:~ username$ file libCoolProp.dylib
libCoolProp.dylib: cannot open `libCoolProp.dylib' (No such file or directory)
I have tried the launchctl command with many variations of quotes as well. The reverse slash in front the of the space in "Group\ Containers" was automatic as I dragged the file location direct from finder into a terminal window. I tried without the slash, with quotes, with slash with quotes. Same result.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "coolprop-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coolprop-users/MFfUl2F1DMY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.