Skip to content

core-modules not on path #7

@cvkem

Description

@cvkem

This project is pretty cool and promisses interesting ways to use c-libraries within clojure. However:

I'm trying to do my first steps with clojure-scheme, but I keep on stumbling. I get up to the scheme-repl. There every-thing works fine when:

  1. I work in the root of the git-repo (it fails when working from samples/repl)
  2. I perform (load "src/cljscm/cljscm/core.scm") instead of (load "cljscm_core") as described in your presentation.
    Next I can load my sample-program and run it on the repl.

However, when compiling the program I get warnings that symbols of core.scm are missing. So it seems like a (dynamically linked) library of clojure-scheme is not found.

When adding the core.scm on the command-line to the compiler before my own file I get an error about duplicatie symbols ___H_cljscm_2e_core_2f_vec in the core.c file. So the compilation fails.

Any suggestions on how to get further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions