You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use HaPy with stack, but failed. Could you please update the example?
What I found up to now is: the extra libraries options has to go to stack.yaml, e.g.
ghc-options:
package-name: -lHSrts-ghc7.10.3
The _.so file will be somewhere in .stack-work/install/x86_64-linux/lts-5.8/7.10.3/lib/x86_64-linux-ghc-7.10.3/modulename_/lib*.so. (Tough I haven't used--enable-shared anywhere, how'd I supply that to stack?) So far so good. Copying that *.so-file to the python directory and using it there gives me:
I tried to use HaPy with stack, but failed. Could you please update the example?
What I found up to now is: the extra libraries options has to go to
stack.yaml
, e.g.The _.so file will be somewhere in
.stack-work/install/x86_64-linux/lts-5.8/7.10.3/lib/x86_64-linux-ghc-7.10.3/modulename_/lib*.so
. (Tough I haven't used--enable-shared
anywhere, how'd I supply that to stack?) So far so good. Copying that *.so-file to the python directory and using it there gives me:Any suggestions?
The text was updated successfully, but these errors were encountered: