Re: clojure and jogl and jReality

2010-09-01 Thread Sunil S Nandihalli
Hi David,
Thanks for your response. I actually didn't know which is the correct
jogl.jar to use .. So, I tried various things
1. searched for all the jogl on the clojars and added them to my project (it
turns out that all the dependencies were pushed by Mozinator) .. but it does
not seem to work.. it does not seem to confirm to the conventions of
native-deps.. but it is still there in my github repo on my *jogl *branch
2. So, I tried to collect all the jars from mozinator' clojars repo and
created a single jar file that confirms to native-deps conventions.. and
pushed my version of jogl to org.clojars.sunilnandihalli/jogl which still
has trouble .. and reports the same problem.. it is available on my *myjogl
*branch on the repo
3. So, I tried another thing .. I noticed that penumbra project had lwjgl
dependency so just
  removed the jogl dependency and added lwjgl to the project file .. this
can be found on my *lwjgl *branch on the repository.

Bottom line is I don't know which jogl.jar from which repository to use. I
actually haven't tried to build the java version of my jrealitytutorial and
run either. I have not worked in java.. so clojure is more familiar to me
than java.. I could be doing something that is very stupid here and wouldn't
know it.

If you have any suggestion please let me know. I delayed my response since I
wanted to create seperate branches for each of my attempts and elaborate
them to you.
Looking forward to any suggestion you may have.
Thanks in advance.
Sunil.

On Mon, Aug 30, 2010 at 6:58 PM, David Nolen dnolen.li...@gmail.com wrote:
 On Mon, Aug 30, 2010 at 5:42 AM, Sunil Nandihalli
 sunil.nandiha...@gmail.com wrote:

 Hello everybody,
I am trying to get a simple java code (about 10 lines in clojure )
 which uses jReality ported to clojure. This is my attempt has been
 kind of half way successfull. The corresponding github-repo link is
  git://github.com/sunilnandihalli/jRealityTutorial.git
  The project is nicely set up to work with leiningen .. so simple
 lein deps  lein native-deps should get it started. after that I
 just execute the sexp in the emacs editor. When the code runs, it
 opens the ui and shows what is intended in a rather unpleasing way
 with the flickers and all. when I look at the terminal output it tells
 me that jogl.jar may not be in the class path.. I have however added
 it to the :native-dependencies and it does download and extract it . I
 do see the corresponding shared object files .. but I don't understand
 why it still says it is not finding the jogl.jar .. can anybody help
 me?

 Thanks in advance.
 Sunil.

 Where is jogl.jar located in your project's directory?
 David

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

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

clojure and jogl and jReality

2010-08-30 Thread Sunil Nandihalli
Hello everybody,
I am trying to get a simple java code (about 10 lines in clojure )
which uses jReality ported to clojure. This is my attempt has been
kind of half way successfull. The corresponding github-repo link is
  git://github.com/sunilnandihalli/jRealityTutorial.git
  The project is nicely set up to work with leiningen .. so simple
lein deps  lein native-deps should get it started. after that I
just execute the sexp in the emacs editor. When the code runs, it
opens the ui and shows what is intended in a rather unpleasing way
with the flickers and all. when I look at the terminal output it tells
me that jogl.jar may not be in the class path.. I have however added
it to the :native-dependencies and it does download and extract it . I
do see the corresponding shared object files .. but I don't understand
why it still says it is not finding the jogl.jar .. can anybody help
me?

Thanks in advance.
Sunil.

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


clojure and jogl and jReality

2010-08-30 Thread Sunil S Nandihalli
Hello everybody,
I am trying to get a simple java code (about 10 lines in clojure )
which uses jReality ported to clojure. This is my attempt has been
kind of half way successfull. The corresponding github-repo link is
  git://github.com/sunilnandihalli/jRealityTutorial.git
  The project is nicely set up to work with leiningen .. so simple
lein deps  lein native-deps should get it started. after that I
just execute the sexp in the emacs editor. When the code runs, it
opens the ui and shows what is intended in a rather unpleasing way
with the flickers and all. when I look at the terminal output it tells
me that jogl.jar may not be in the class path.. I have however added
it to the :native-dependencies and it does download and extract it . I
do see the corresponding shared object files .. but I don't understand
why it still says it is not finding the jogl.jar .. can anybody help
me?

Thanks in advance.
Sunil.

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


Re: clojure and jogl and jReality

2010-08-30 Thread David Nolen
On Mon, Aug 30, 2010 at 5:42 AM, Sunil Nandihalli 
sunil.nandiha...@gmail.com wrote:

 Hello everybody,
I am trying to get a simple java code (about 10 lines in clojure )
 which uses jReality ported to clojure. This is my attempt has been
 kind of half way successfull. The corresponding github-repo link is
  git://github.com/sunilnandihalli/jRealityTutorial.git
  The project is nicely set up to work with leiningen .. so simple
 lein deps  lein native-deps should get it started. after that I
 just execute the sexp in the emacs editor. When the code runs, it
 opens the ui and shows what is intended in a rather unpleasing way
 with the flickers and all. when I look at the terminal output it tells
 me that jogl.jar may not be in the class path.. I have however added
 it to the :native-dependencies and it does download and extract it . I
 do see the corresponding shared object files .. but I don't understand
 why it still says it is not finding the jogl.jar .. can anybody help
 me?

 Thanks in advance.
 Sunil.


Where is jogl.jar located in your project's directory?

David

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