#jogamp @ irc.freenode.net - 20151126 05:05:11 (UTC)


20151126 05:05:11 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20151125050511.html
20151126 05:05:11 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20151126050511.html
20151126 05:22:03 * bigpet (uid25664@anon) has joined #jogamp
20151126 06:21:28 * monsieur_max (~maxime@anon) has joined #jogamp
20151126 07:27:39 * guillaum11 (~gl@anon) Quit (Ping timeout: 265 seconds)
20151126 07:30:20 * guillaum1 (~gl@anon) has joined #jogamp
20151126 07:35:57 * bigpet (uid25664@anon) Quit (*.net *.split)
20151126 07:36:59 * elect_ (~GBarbieri@anon) Quit (Quit: Leaving)
20151126 07:40:15 * monsieur_max (~maxime@anon) Quit (*.net *.split)
20151126 07:40:16 * darkfrog (~mhicks@anon) Quit (*.net *.split)
20151126 07:47:49 * bigpet (uid25664@anon) has joined #jogamp
20151126 07:53:26 * xranby1 (~xranby@anon) has joined #jogamp
20151126 07:56:13 * xranby (~xranby@anon) Quit (*.net *.split)
20151126 08:04:12 * elect (~GBarbieri@anon) has joined #jogamp
20151126 08:18:28 * darkfrog (~mhicks@anon) has joined #jogamp
20151126 08:21:57 * monsieur_max (~maxime@anon) has joined #jogamp
20151126 08:23:42 * bigpet (uid25664@anon) Quit (Changing host)
20151126 08:23:42 * bigpet (uid25664@anon) has joined #jogamp
20151126 08:29:39 * jvanek (jvanek@anon) has joined #jogamp
20151126 08:31:57 * monsieur_max1 (~maxime@anon) has joined #jogamp
20151126 08:37:53 * monsieur_max (~maxime@anon) Quit (Ping timeout: 240 seconds)
20151126 08:42:02 * Eclesia (~husky@anon) has joined #jogamp
20151126 08:42:07 <Eclesia> hi
20151126 08:43:14 * monsieur_max1 is now known as monsieur_max
20151126 09:02:18 * ArToX (6dda238d@anon) has joined #jogamp
20151126 09:02:27 <ArToX> hi there!
20151126 09:10:34 <monsieur_max> hello ArToX
20151126 09:20:50 * doev (~doev@anon) has joined #jogamp
20151126 09:33:13 * xranby1 (~xranby@anon) Quit (Ping timeout: 264 seconds)
20151126 09:33:50 * bigpet (uid25664@anon) Quit (Ping timeout: 264 seconds)
20151126 09:35:08 * bigpet (uid25664@anon) has joined #jogamp
20151126 09:44:19 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151126 09:47:24 * xranby (~xranby@anon) has joined #jogamp
20151126 09:50:06 * monsieur_max (~maxime@anon) has joined #jogamp
20151126 10:04:00 <ArToX> Some of u had exeperience with jocl?
20151126 10:04:32 <ArToX> i have questions about the demo julia3d
20151126 10:07:41 <xranby> ArToX: ask the question
20151126 10:11:08 <ArToX> does the class that interface c struct in config.h are automaticaly generated by a ant script or have generated once by a command line with gluegen?
20151126 10:12:02 <xranby> ArToX: when jogamp build jocl we automatically generate it during the ant script
20151126 10:12:17 <xranby> the ant script is using gluegen
20151126 10:16:11 <ArToX> ok so i should find in a build.xml the ant command that i should add to my NetBeans build.xml to treat all strcut i use
20151126 10:16:14 <xranby> ArToX: do you run into an issue using jocl in combination with the julia3d demo?
20151126 10:16:39 <xranby> if you simply want to test julia3d then you do not need to manually build jocl
20151126 10:16:44 <ArToX> nop but i try to do a sample program using struct (addition) with jocl
20151126 10:18:20 <xranby> inyour project you need to extend the netbeand build.xml to invoke gluegen http://jogamp.org/gluegen/doc/manual/#SecAnt
20151126 10:19:26 <xranby> in case that your project operate on a c struct that jogamp do not know about
20151126 10:21:11 <xranby> i am unsure that i have understood your question
20151126 10:21:32 <xranby> for most jocl usecases you do not need to run gluegen
20151126 10:22:33 <xranby> thus if your usecase is one where you need to invoke gluegen in order to have struct access then best would be that you posted an example what you try to do
20151126 10:22:59 <xranby> possibly by extending the jocl-demos project
20151126 10:23:15 <xranby> if your usecase is not covered by jocl-demos or the jocl junit tests
20151126 10:24:12 <ArToX> my questionning is about antlr requirement in this section:
20151126 10:24:13 <ArToX> <path id="gluegen.classpath"> <pathelement location="${gluegen.jar}" /> <pathelement location="${antlr.jar}" /> </path>
20151126 10:25:58 <ArToX> i'am pretty new using ant
20151126 10:26:22 <ArToX> (i'm testing an ant script whiel tchating)
20151126 10:26:57 <xranby> how do this relate to the julia3d demo?
20151126 10:27:47 <xranby> are you extending the julia3d demo in a new way?
20151126 10:28:56 <ArToX> well i'm was wondering if the ant script related to the generation of struct class in julia demo was accessible in order to read it and understand and use it in another test
20151126 10:32:23 <ArToX> i'm kinda new to ant use so that's why i'm trying to rely on examples
20151126 10:34:20 <ArToX> ok i've found Michael Bien repo and i'm browsing the build xml
20151126 10:36:45 <ArToX> mmh as i thought he probably did it without ant
20151126 10:42:15 <xranby> michael bien's repository is quite old nowdays
20151126 10:42:24 <xranby> you should look at the jogamp repository
20151126 10:45:02 <xranby> the build log of the latest jogamp jocl build can be found here: https://jogamp.org/chuck/job/jocl/label=linux-x86_64-nvidia/lastBuild/consoleText
20151126 10:46:38 <ArToX> ok thx
20151126 10:47:30 <ArToX> i added these lines to my build.xml:
20151126 10:47:31 <ArToX> <target name="-pre-compile">
20151126 10:47:38 <ArToX> <path id="gluegen.classpath">
20151126 10:47:46 <ArToX> <pathelement location="${gluegen.jar}" />
20151126 10:47:54 <ArToX> <pathelement location="${antlr.jar}" />
20151126 10:48:03 <ArToX> </path>
20151126 10:48:09 <ArToX> <taskdef name="gluegen"
20151126 10:48:16 <ArToX> classname="com.sun.gluegen.ant.GlueGenTask"
20151126 10:48:22 <ArToX> classpathref="gluegen.classpath" />
20151126 10:48:27 <ArToX> <gluegen src="glueGenFiles.c" >
20151126 10:48:32 <ArToX> <classpath refid="gluegen.classpath" />
20151126 10:48:37 <ArToX> </gluegen>
20151126 10:48:42 <ArToX> </target>
20151126 10:49:15 <ArToX> and getting :build.xml:81: taskdef class com.sun.gluegen.ant.GlueGenTask cannot be found using the classloader AntClassLoader[] on compilatiobn
20151126 10:50:32 <ArToX> the thing i dont get is how i provide the definition of gluegen.jar pointing to the jar file
20151126 10:52:16 <ArToX> xranby: is there clean way to use the one specified in my netbeans libs
20151126 10:56:27 <xranby> you need to use com.jogamp.gluegen.ant.GlueGenTask
20151126 10:56:35 <xranby> instead of com.sun.gluegen.ant.GlueGenTask
20151126 10:56:57 <xranby> sorry.. it looks like the documentation needs to be updated
20151126 10:57:21 <xranby> we have moved away from using *sun* and *javax* namespaces due to how copyright law is written
20151126 10:57:30 <xranby> into com.jogamp
20151126 10:59:36 <xranby> (11:48:16) ArToX: classname="com.sun.gluegen.ant.GlueGenTask" <- try change this line
20151126 10:59:44 <ArToX> ok i'm trying this
20151126 11:01:20 <ArToX> same shit happens here i think i just didn't ant the ability to access the jogamp classes
20151126 11:02:06 <ArToX> build.xml:81: taskdef class com.jogamp.gluegen.ant.GlueGenTask cannot be found using the classloader AntClassLoader[]
20151126 11:02:23 <ArToX> but i don"t know how since i'm quite new to ant
20151126 11:02:36 <ArToX> *at ant
20151126 11:03:36 <xranby> ArToX: in your build.xml you need to define ${gluegen.jar} and ${antlr.jar}
20151126 11:03:52 <xranby> you can replace these two with the absolute path to these two jars
20151126 11:05:14 <ArToX> <property name="gluegen.jar" value="./pathtomyjar.jar" />
20151126 11:05:33 <xranby> that one is obviously invalid
20151126 11:05:41 <ArToX> like this and can they be defined from the libraries added to my netbeans project,
20151126 11:05:43 <ArToX> ?
20151126 11:05:46 <xranby> since you do not have a jar named pathtomyjar.jar
20151126 11:05:53 <xranby> in the current directory
20151126 11:07:06 <xranby> you shall use: <property name="gluegen.jar" location="./gluegen.jar" />
20151126 11:07:18 <xranby> hence use location instead of value
20151126 11:09:07 <xranby> https://ant.apache.org/manual/Tasks/property.html <- you need to use location when instructing ant to use an absolute file
20151126 11:09:58 <xranby> or relative file
20151126 11:11:27 <xranby> i hope it helps
20151126 11:23:40 <ArToX> ok i'm going to check this and how netbean declare jars locations in it own build-imp
20151126 11:26:29 <xranby> ArToX: i have filed an update to the jogamp bug682 to fix the gluegen documentation https://github.com/xranby/gluegen/commit/d04ee580f3dbc4f9c6c7cd4ba2ab7cec5b38a452
20151126 11:27:07 <ArToX> thanks
20151126 11:27:15 <xranby> https://jogamp.org/bugzilla/show_bug.cgi?id=682
20151126 11:29:39 <xranby> this is something that should have been part of the 6f2d046c8d532db94f6af5003e341104d5bf4aff changeset back in 2010
20151126 11:31:54 <ArToX> indeed
20151126 11:35:36 <xranby> thank you for joining here and having this discussion
20151126 11:36:01 <xranby> hopefully it will be less confusing once this changeset gets merged
20151126 11:36:24 <ArToX> no problem jogamp seems to be a neat and clear acces to c things
20151126 11:38:12 <xranby> \o/
20151126 11:39:23 <ArToX> that's weird because the libs seems to be accessible with property ${libs.Gluegen-rt.classpath} that is present in the build-impl.xml of the netbeans project and is used to define javac -cp but i can't use theme into my own ant addition in the build.xml
20151126 12:04:23 <xranby> if someone need a raspberry pi, you can get one on the magazine cover of MagPie #40 kill Dell.Foundation.Agent.Plugins.eDell.dll to stop persistence
20151126 12:04:32 <xranby> https://twitter.com/MissPhilbin/status/669796772731056128
20151126 12:05:05 <xranby> ah.. and if you got a dell computer remeber that dell happens to ship them with 2! backdoor root certificates
20151126 12:05:30 <xranby> and happen to ship the computers with the private keys
20151126 12:05:43 <xranby> you got delled!
20151126 12:08:13 <xranby> https://twitter.com/kennwhite/status/668845026697318403/photo/1
20151126 13:24:34 * doev (~doev@anon) Quit (Ping timeout: 260 seconds)
20151126 13:31:46 * jvanek (jvanek@anon) Quit (Quit: Leaving)
20151126 13:49:18 * badshah400 (~badshah40@anon) has joined #jogamp
20151126 13:50:00 * doev (~doev@anon) has joined #jogamp
20151126 16:26:10 * i-make-robots (~dan@anon) has joined #jogamp
20151126 16:26:13 <i-make-robots> hi
20151126 16:27:07 <i-make-robots> https://github.com/marginallyclever/makelangelo I've been using jogamp for this program and I'm having major trouble with the maven packaging system. I want a single jar that has both 32bit and 64bit libraries, but something keeps going wrong.
20151126 16:28:02 <i-make-robots> I don't actually grok maven. Can you please help me with a fix? I have a lot of users complaining they won't buy coz the software doesn't run.
20151126 16:30:46 * elect (~GBarbieri@anon) Quit (Read error: Connection reset by peer)
20151126 16:32:43 * bigpet_ (uid25664@anon) has joined #jogamp
20151126 16:32:55 <rmk0_> i-make-robots: still?
20151126 16:35:25 * darkfrog1 (~mhicks@anon) has joined #jogamp
20151126 16:35:35 * bigpet (uid25664@anon) Quit (Ping timeout: 240 seconds)
20151126 16:35:39 * darkfrog (~mhicks@anon) Quit (Ping timeout: 240 seconds)
20151126 16:36:14 * bigpet_ is now known as bigpet
20151126 16:36:27 <i-make-robots> rmk0_ sadly, yes.
20151126 16:36:36 <i-make-robots> 64bit users are saying they can't run anything.
20151126 16:37:12 <i-make-robots> http://www.marginallyclever.com/forums/topic/makelangelo-software-doesnt-work-on-windows/
20151126 16:37:58 <i-make-robots> http://www.marginallyclever.com/forums/topic/makelangelo-software-7-2-2-alpha/
20151126 16:41:09 <rmk0_> your 'https://github.com/MarginallyClever/Makelangelo/releases/download/7.2.2-alpha/Makelangelo-v7.2.2-alpha-with-dependencies.jar' is corrupt
20151126 16:41:39 <rmk0_> as in damaged
20151126 16:41:59 <rmk0_> various CRC errors when examining the jar with 'unzip -t'
20151126 16:52:48 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151126 16:55:09 <i-make-robots> ugh.
20151126 16:55:28 <i-make-robots> i was not aware. thank you.
20151126 17:06:12 * Eclesia (~husky@anon) has left #jogamp
20151126 17:31:49 <i-make-robots> better now? I just put out a new release.
20151126 17:37:47 <i-make-robots> https://github.com/MarginallyClever/Makelangelo/releases/tag/7.2.3-alpha
20151126 17:53:57 <rmk0_> i-make-robots: isn't corrupt, runs properly here on linux amd64
20151126 17:54:47 * monsieur_max (~maxime@anon) has joined #jogamp
20151126 18:10:17 * badshah400 (~badshah40@anon) Quit (Quit: badshah400)
20151126 18:10:48 * badshah400 (~badshah40@anon) has joined #jogamp
20151126 18:15:38 * badshah400 (~badshah40@anon) Quit (Ping timeout: 260 seconds)
20151126 18:27:23 * doev (~doev@anon) Quit (Ping timeout: 265 seconds)
20151126 18:58:43 * bruce- (~x@anon) Quit (Ping timeout: 260 seconds)
20151126 19:00:34 * jogamp (~jogamp@anon) Quit (Ping timeout: 260 seconds)
20151126 19:00:34 * Disconnected.