-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sketchpad fails to compile #1
Comments
If you can, pull and checkout dev. I have removed all traces of icon management from core.clj so hopefully things compile alright now. Please give any feedback big or small. |
On 09/06/2012 01:09 PM, Jon wrote:
Well, this exposes my soft underbelly, but I guess I don't know how to If you don't mind, can you explain how I can pull the Dev branch? Sorry Tom. |
No problem at all. You should be able to just call $ git checkout dev then to grab the latest you can just $ git pull origin dev you should be able to just use lein run. Let me know if there are any issues p.s. $ git branch |
On 09/06/2012 01:37 PM, Jon wrote:
Bingo! It built, it's running. I've got a large window with three Indeed it is a REPL: (clojure-version) reports 1.4.0. Thank you for your fix, your help, and now it's up to me to try to break Tom. |
ahhh yeeaa. Checkout the sketchpad.herokuapp.com docs page for more info, but some of the key files you might want to check out are: ~/.sketchpad/default.clj and app/sketchpad/src/sketchpad/user.clj sketchpad.user is the ns for the application repl. You will see a bunch of handy functions in there for working with projects and buffers right click a file in a project and select create repl to create a new REPL for that project let me know how it works out. |
Lorem ipsum epsilon at the top of the page… On 6 Sep 2012, at 19:59, Jon wrote:
|
there's more than that. It is totally still under construction but i thought Tom might be a great resource for needed docs and startup info that isn't there while I am finishing adding content |
On 09/06/2012 02:07 PM, Jon wrote:
I'm certainly more than happy to oblige. Here's what's happened so far: sketchpad.user=> (use 'overtone.live) At this point, I popped open a new terminal window and simply did a user=> (use 'overtone.live) A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb) at pc=0x00007f3faffe1181, pid=17393, tid=139908540516096JRE version: 7.0_05-b05Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed modelinux-amd64 compressed oops) Problematic frame:C [ld-linux-x86-64.so.2+0x15181] _dl_make_stack_executable+0x27e1Failed to write core dump. Core dumps have been disabled. To enablecore dumping, try "ulimit -c unlimited" before starting Java again An error report file with more information is saved as:/home/tmaynard/Projects/sketchpad/projects/quil_tone/hs_err_pid17393.logIf you would like to submit a bug report, please visit:http://bugreport.sun.com/bugreport/crash.jspThe crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug.*** ERROR: dlopen I think I followed the instructions properly (I did double check Tom. |
Ok so in order
It is interesting you can't make noise from lein repl though. If you have a project.clj like this (defproject quil-tonesy "0.0.1-SNAPSHOT" and then you call .... user=> (demo (sin-osc 800)) do you get errors? If so I think this would be good to post on the mailing list. It is possible sketchpad has class path issues for creating REPL's in Linux but you should for sure be able to make noise from lein repl. I am going to look into getting a Linux virtual machine setup on my system to work on these isssues |
On 09/06/2012 03:01 PM, Jon wrote:
I have no problems with the list so far. However, in order to make The errors are: Could not find artifact org.clojure:clojure:pom:1.+ in central Note that the first 12 lines above are not "errors" but are instead [1] I have modified the SketchPad startup command to be "lein run &" -- |
This is good news actually. SketchPad was merged into the overtone organization account a few days ago and i think this is an artifact from that merge. I have been hacking on a few things that were not in the initial merge so i have been having to add them in segments. This error you have posted is from loading the auto-completion for the application REPL text area so it doesn't appear to be a class path issue. I have just finished updating the overtone/sketchpad dev branch to hopefully fix these issues. You should be able to run $ git pull origin dev and not have this error. |
On 09/06/2012 11:17 PM, Jon wrote:
If you say so. Actually I see some signs of progress: a right-click and I know that Leiningen has some issues with underscores and hyphens, and ╭─tmaynard@venus ~/Projects/sketchpad/projects/quil_tone ‹dev*› But I have a feeling that "quil_tone.clj" should perhaps actually be However, it's quite a bit of progress for one day, and being 00:12 local Thanks for all you've done so far ... it's every bit encouraging, and I Tom. |
On 09/06/2012 11:17 PM, Jon wrote:
Should I change the Subject line? Compilation is no longer the issue. I decided to abandon the SketchPad tutorial, at least temporarily, when (use 'overtone.live) ; This worked okay, AFAIK The errors on the console are (ignoring the usual non-informational Created REPL on port 37262 A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb) at pc=0x00007f980267c181, pid=3749, tid=140290107234048JRE version: 7.0_05-b05Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed modelinux-amd64 compressed oops) Problematic frame:C [ld-linux-x86-64.so.2+0x15181] _dl_make_stack_executable+0x27e1Failed to write core dump. Core dumps have been disabled. To enablecore dumping, try "ulimit -c unlimited" before starting Java again An error report file with more information is saved as:/home/tmaynard/Projects/sketchpad/projects/quil_tone/hs_err_pid3749.logIf you would like to submit a bug report, please visit:http://bugreport.sun.com/bugreport/crash.jspThe crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug.*** ERROR: dlopen If you'd like me to change any settings (ulimit, e.g.) or would like to |
Environment: Dell XPS 15 (L502X), Intel Core i7, 6GB, 750GB, Lubuntu 12.04 AMD64.
Steps to error:
(1) New Git clone for project
(2) cd sketchpad
(3) lein deps
(4) lein run
Symptom:
Compiling sketchpad.core
Exception in thread "main" java.lang.ClassNotFoundException: com.apple.eawt.Application, compiling:(sketchpad/core.clj:37)
... (lines omitted for brevity) ...
Compilation failed: Subprocess failed
The text was updated successfully, but these errors were encountered: