Try this:

- Install leiningen;
- Download the LWJGL jars and libs (www.lwjgl.org);
- Create a new project (lein new <your-project-name-here>);
- Download your project dependencies (lein deps);
- Copy the LWJGL jars to the 'lib' folder inside your project;
- Copy the native folder of LWJGL to the root of your project (so it
  will end up like "your-project-name-here/native");
- Run 'lein repl' on the root of your project;
- Start hacking!

There are some Java tutorials on the LWJGL site (but it is easy to
port to Clojure).

H


On 21 fev, 10:24, Timothy Baldridge <[email protected]> wrote:
> I'm not sure exactly what I've done wrong, but about 8 months now I've
> tried, on and off again, to start using Clojure. However, every time,
> I'm kicked in the face by the same issue. I can't get a decent
> environment setup. All I really want is a basic Clojure install that
> allows me to talk to OpenGL.
>
> Finally I found out that the "best" was was to use lein. So I
> installed lein, and after several hours finally got it to download and
> install Clojure. I added penumbra to my project.clj, and told lein to
> get the deps. It downloaded dozens of packages then said it completed.
> Oh! but penumbra also requires a Java OpenGL interop package that
> isn't on clojars!
>
> Anyway, as a starting point I should say that I've used Python, Ruby,
> C++ (on Linux, Mac and Windows), C#, even Erlang, and I have never had
> such a terrible time just getting a decent ide. Now admittedly I don't
> have much Java experience, so perhaps that's my issue. Since I have
> allot of .NET experience I'm going to try with Clojure-CLR next.
> Perhaps Clojure-CLR and OpenTK will get me what I need.
>
> But yeah, we really need a clone of Python's easy_install or
> something. I don't really want to mess with system variables, copying
> jars by hand. All I want to do is code Clojure with OpenGL.
>
> </rant>
>
> Timothy
>
> --
> “One of the main causes of the fall of the Roman Empire was
> that–lacking zero–they had no way to indicate successful termination
> of their C programs.”
> (Robert Firth)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to