I am trying to run C++ in Mathematica. I got a package "LTemplate" from the answer from Szabolcs in this post: How to simplify writing LibraryLink code?. However I can't install it.
This is what I did:
I put the package in "C:\Temp\LTemplate-master".
I set the directory by "SetDirectory["C:\Temp\LTemplate-master\LTemplate"]"
When I ran the command
Needs["LTemplate`"]or<< LTemplate`, I got the following error messages:
Get::noopen: Cannot open
LTemplate`LTemplateInner`.
\$ContextPath::cxlist: Cannot set \$ContextPath to {LClassContext[], LTemplate,SymbolicC,CCompilerDriver,DocumentationSearch,ResourceLocator,URLUtilities,HighlightingCompatibility,PacletManager,System,Global}; value must be a list of strings ending in `.
Can some one tell me how to install the package?
FileNameJoin[{$UserBaseDirectory, "Applications","LTemplate"}]. – Henrik Schumacher Mar 25 '24 at 23:53