Giter Site home page Giter Site logo

Comments (7)

hellerve avatar hellerve commented on June 11, 2024

Thanks for the bug report!

Is it possible that you are in the examples directory? If so, the problem is that one of the examples is called derive.carp, shadowing the standard library file Derive.carp. If you try to run it from the parent directory, for example, it should run.

NB: Ideally we could resolve this issue by making core files take precedence, but I suppose users couldn’t overwrite those then, making it a bit of a double-edged sword.

from carp.

maacl avatar maacl commented on June 11, 2024

That is where I am. Works from the parent dir, but now I am getting the below:

carp examples\benchmark_mandelbrot.carp -x
Can't find symbol 'defdynamic-once' at C:/Users/marti/AppData/Roaming/carp/profile.carp:1:2.

profile.carp is:

(defdynamic-once sdl-windows-header-path "C:\\msys64\mingw64\include\SDL2\\")
(defdynamic-once sdl-windows-library-path "C:\\msys64\mingw64\bin\\")

from carp.

hellerve avatar hellerve commented on June 11, 2024

Hello, sorry about the late answer!

Indeed, defdynamic-once is defined after profile.carp is loaded. defdynamic should work.

Your profile file is indeed the first thing that is loaded, before any core libraries, so you can change things as early as possible. defdynamic-once on the other hand is a macro defined in the core libraries.

from carp.

maacl avatar maacl commented on June 11, 2024

I set it per instructions here.

from carp.

hellerve avatar hellerve commented on June 11, 2024

Ah yes, thanks for the heads-up. I will clarify the comment to say that you should use defdynamic instead to set them.

from carp.

hellerve avatar hellerve commented on June 11, 2024

from carp.

maacl avatar maacl commented on June 11, 2024

Check, I am on gitter now.

from carp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.