-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages when starting carp repl #71
Comments
Hmm, seems like there's a problem with the quote... What OS are you on? Also, I've pushed some changes to the code now, so make sure you build a version from the latest source, maybe it has been fixed. |
I don't get those errors starting the repl, but I do get:
Additionally, trying to run the tests yields:
I am on OSX 10.11.6 I just cloned recently: |
OK, yes the first error is because you didn't qualify '+', by default you have to write Int.+ to get the int version of plus. A way to solve that is to run For example:
The second error should be fixed in the latest commit, just do an update again. |
Alternatively:
|
Just pulled and the tests get a lot further. Perhaps this is a standard lib I just don't have on my work computer:
|
Yes, it needs SDL2 and SDL_image to work. |
Had to make a few changes to get the game example running on Arch Linux:
|
OK, thanks. I'll make sure to fix this when there is support for conditional compilation based on the platform (should come soon). |
New REPL startup issue. If I start carp outside the repo directory, I get:
Works fine if started in ~/dev/carp commit: 2dbcfac |
Have you set a 'CARP_DIR' environment variable pointing to the root of the Carp directory? |
The first time I probably called an older version of Carp, i Installed some time ago. |
|
I've now implemented the concept of search paths, perhaps this fixes the errors? |
Okay, looks like a shell issue. I tried it again in bash (with the export immediately before the command) and it does not report any errors. I must have set it wrong in my zsh profile. Sorry about that. |
OK, no problem. Will close this then. |
The REPL itself works. But I only get useful output for strings:
string _0 = strdup("Test");
Else I get nothing or error messages.
The text was updated successfully, but these errors were encountered: