Rouan van Dalen wrote:
%** Magic header not found (not a pickle?)
%**
%** File: '/root/projects/oz-test/getenv.so'
%** In statement: {<P/2 URL.load> ...}

I think this means that Mozart tries to load
is as a compiled Oz functor, not a native
shared library.  Maybe you forgot a {native}?

|I have a base64.cc and a test-base64.oz
where the corresponding makefile.oz says:
makefile(
  bin      : ['test-base64.exe']
  lib      : ['base64.so']
  src      : ['base64.cc' 'test-base64.oz']
  uri      : 'x-ozlib://mathweb/share'
  ...
  )
The generated shared library is then
base64.so-linux-i486
and it is used from oz like this:

functor
import
  Base64 at 'x-ozlib://mathweb/share/base64.so{native}'
  ...

HTH,
Andreas

|
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to