adereth / dactyl-keyboard

Parameterized ergonomic keyboard
GNU Affero General Public License v3.0
2.92k stars 845 forks source link

Problem loading dactyl.clj #66

Open lungsi opened 5 years ago

lungsi commented 5 years ago

I have clojure 1.8.0 and OpenSCAD 2015.03.3 installed. My project.clj is

(defproject dactyl-keyboard "0.1.0-SNAPSHOT"
  :description "A parametrized, split-hand, concave, columnar, erogonomic keyboard"
  :url "http://example.com/FIXME"
  :main dactyl-keyboard.dactyl
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.8.0"]
                 [unicode-math "0.2.0"]
                 [scad-clj "0.5.3"]])

But when I run (after lein repl) (load-file "src/dactyl_keyboard/dactyl.clj")

I get

WARNING: import already refers to: #'clojure.core/import in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/import
WARNING: use already refers to: #'clojure.core/use in namespace: dactyl-keyboard.dactyl, being replaced by: #'scad-clj.model/use

CompilerException java.lang.RuntimeException: Unable to resolve symbol: fixed-tenting in this context, compiling:(/data/dactyl-manuform/src/dactyl_keyboard/dactyl.clj:181:33) 

Any help will be much appreciated.

dedalo commented 4 years ago

same error here any news about this?

jaredjennings commented 4 years ago

This means some code (at line 181 column 33) tried to use a symbol fixed-tenting that wasn't defined. Look for a line that starts with a semicolon and contains "def fixed-tenting," and remove the semicolon.

dedalo commented 4 years ago

This means some code (at line 181 column 33) tried to use a symbol fixed-tenting that wasn't defined. Look for a line that starts with a semicolon and contains "def fixed-tenting," and remove the semicolon.

WORKED! thanks, ended up uncommenting 4 definition lines.

Kosaro commented 3 years ago

Why are these commented in the first place? Shouldn't the clj compile without needing an edit?