Open vsov opened 4 months ago
Hi Victor, the library should load fine from /usr/local/lib, if installed by the Mac Installer.
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.6/ is not a good default location, as it is dependent on the exact .NET version you are using.
In what context did you have this issue? Did you use the offical installers and were unable to load the library? We use Mac as our primary environment and did not encounter this issue.
Best, Lin
Hello Lin
Yes, I employed the official installer, dotnet was newly installed (by latest MS official installer) just a minute prior. Upon attempting to execute the sample, I encountered a Failed to load PicoGK Library
error. Swift investigation revealed that picogk.1.6 dylibs were absent from dotnet's default paths. I found them in /usr/local/lib/
, created symlinks to the initial default library location mentioned in the dotnet error, and reran the example. This led to another error due to missing boost on my system. After installing boost via brew, I successfully got the desired window.
macOS Sonoma 14.5 MacBook Pro 16" 2021, Apple M1 Max CPU
Best regards,
Victor
Greetings!
The Mac installer appears to place picogk.1.6*.dylib in /usr/local/lib, causing users attempting to run the example project to encounter a
Failed to load PicoGK Library
error. A quick fix involves creating symlinks to the correct location. In my case, this was achieved by:sudo ln -s /usr/local/lib/picogk.1.6* /usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.6/
Additionally, I strongly advise informing Mac users to install C++ boost before running any examples, which can be done using:
brew install boost
Best regards,
Victor