[sac-user] How do you import local code in SAC?
andrew.pennebaker at gmail.com
Mon Oct 31 09:25:37 CET 2011
C uses #include "localcode.h"
SAC uses use/import LocalCode;, but SAC doesn't seem to see
LocalCode.sacin the same directory. :(
sac2c -o test test.sac
ABORT: Cannot find library `libLocalCodeTree.so' for module
*** Compilation failed ***
*** Exit code 15 (Running module system)
*** 1 Error(s), 0 Warning(s)
How do I compile SAC code to a .so file, and where do I put the .so file so
that anywhere on my computer, use LocalCode; will work?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sac-user