Re: [Emc-users] Emc-users Digest, Vol 15, Issue 32

2007-07-27 Thread Xuecheng Xi
Dear John and Chris:
Thanks for your expertise in solving the compiling problem.
John, you bet is 100% right.  I run
sudo apt-get install  libgtk2.0-dev
Everything is OK.

My suggestion is that to make installation of GTK 2.4.0 is an
essential part. Otherwise, these optional, but very useful components,
halmeter, halscope and classicladder, will not be successfully
compiled. When we type

sudo apt-get build-dep emc2

All necessary modules for EMC2 should be included.

Best regards
Xuecheng





You must be missing some build dependencies.  apt-get build-dep emc2
will help you if you're running ubuntu, otherwise carefully check
the output of configure and install packages accordingly.

Chris
 
  I have tried your suggestion. But  after compiling
  (--enable-run-in-place) emc2.1.6, in the directory
  emc2/bin/
  there is no executable file halscope or halmeter
 
  after I copied the old version halscope and halmeter into the
  directory emc2/bin
  I can launch them. I don't know where is the new halscope and halmeter
  which are from emc2.1.6?

 I bet they aren't being compiled.  Halscope and Halmeter need GTK
 version 2.4.0 or later.  If the appropriate GTK development packages
 aren't installed, any programs that use GTK won't be built.

 Re-run configure, and examine the output closely... on my system there
 is a line like this:

 checking for GTK 2.4.0 or above... yes - 2.8.20

 I bet you have a message that says

 checking for GTK 2.4.0 or above... no - some programs will not be built

 or something like that.

 To fix that, install the GTK 2.4 or later development packages on your
 system and re-run configure.  For a Dapper system that probably means

 apt-get install  libgtk2.0-dev

 The reason we don't simply have configure stop and report an error is
 that halmeter and halscope are considered optional programs - they are
 tools that you use to tweak EMC, not critical parts of EMC itself.

 Regards,

 John Kasunich


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Compile genhexkins.c as a executable

2007-07-27 Thread Jeff Epler
My commandline was intended for the development version of emc2.  In
version 2.1, it appears that the posemath functions are in the library
'libnml'.  In the next version, the posemath functions are split out
into a separate library.

You also need to use g++, not gcc, to link this program in any case.  I
made a mistake when I showed gcc in my link line in the earlier message.
This should clear up the errors like:
 undefined reference to `__gxx_personality_v0'
 undefined reference to `operator new(unsigned int)'

You also missed the -DMAIN in some of your commandlines, which led
to the errors like
 undefined reference to `main'

Jeff

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GTK build dep

2007-07-27 Thread John Kasunich
Jeff Epler wrote:
 It looks like libgtk2.0-dev is already listed in the Build-Depends of
 emc2.1 packages, emc2 TRUNK, and emc2-cvs-build-dep.

That ensures that people using the debs get it.  We should probably
modify configure to make it a requirement as well, so people who
aren't using the debs will be told that it is missing.

Regards,

John Kasunich

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] EMC Convert???

2007-07-27 Thread Jerry Jankura
Hi, Sam:

You wrote:

Is there a chance we may be converting you to the emc2 side?   ;)   We can 
always use more programmers...  The penguin knows I am not one.  :) 

(samcoinc on the turbocnc yahoo list.)

Sam

Well, yes and no. I've been using one or another version of EMC since the first 
of the year and like its smoothness, especially when compared to TurboCNC 4.x, 
which has the annoying habit of stuttering around inflection points. However, I 
like the limited language that we've built into TurboCNC - it's nice to be able 
to customize the G-Code program from within the G-Code interpreter. I haven't 
really explored the internals of EMC enough to know how easily that type of 
capability could be implemented, or where it would be implemented. (It seems as 
if EMC is actually a couple of programs that work together to make parts rather 
than one monolith as TurboCNC is).

I'm using the MINI interface with my Sherline mill; I've modified some of the 
labels on the buttons, and have changed the Start/EStop function a little. When 
I first started playing with EMC, I found it to be inconsistent as to when I 
had to turn the machine on and when I didn't. I dug into the code enough to 
force you to always turn it on. I also changed some of the colors on the 
rightmost button to better reflect the machine's state.

But, I'm not a linux guru by a long shot and have a lot to learn. After 
installing Ubuntu on my CNC computer, I've also installed it as a dual boot 
(actually, triple boot since I can boot this machine into DOS as well) on my 
main computer and am playing around with it.

As for TurboCNC - about the only thing I do there is keep the yahoo list 
sanitized from spurious messages. I'm not working on that software any more.

Does EMC support the G33 threading capability? I'll be adding CNC to my lathe 
and will probably use TurboCNC there if EMC doesn't.

-- Jerry Jankura
   So many toys So little time


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 15, Issue 32

2007-07-27 Thread Jeff Epler
It looks like libgtk2.0-dev is already listed in the Build-Depends of
emc2.1 packages, emc2 TRUNK, and emc2-cvs-build-dep.

Jeff

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 Interface

2007-07-27 Thread Ed
John Thornton wrote:
 Thanks Ray,
 
 I'm playing with TkEMC and by home it appears that it just zero's out that 
 axis. I see 
 what you mean by the active axis. Is there a way to set the speed of the jog? 
 Can 
 you select somewhere rapid or feed speed for the jog?
 
 Thanks
 John


Jog speed is set by the Comma and Period keys. The comma key slows the 
jog rate and period keys inreases it. Jog rate applies in both continuos 
and incremental modes. The help button in the top right of the screen 
has all the keystrokes to run it without the mouse.  Ed.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] TkEMC Interface

2007-07-27 Thread John Thornton
I do know about the Axis Slider on TkEMC as far as setting the jog speed. 

Does the number indicate the jog speed in inches per minute when your units are 
Inches?

I found the tkemc.tcl file and it appears to be a basic like language. 

What language is it? 

Is the file read each time you load EMC with the TkEMC interface or is it 
compiled?

Thanks
John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 Interface

2007-07-27 Thread John Thornton
Thanks Ray,

I'm playing with TkEMC and by home it appears that it just zero's out that 
axis. I see 
what you mean by the active axis. Is there a way to set the speed of the jog? 
Can 
you select somewhere rapid or feed speed for the jog?

Thanks
John

 Date: Thu, 26 Jul 2007 07:56:29 -0500
 From: Ray Henry [EMAIL PROTECTED]
 Subject: Re: [Emc-users] EMC2 Interface
 To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain
 
 
 Hi John
 
 The tkemc and mini graphical interfaces use the concept of active
 axis. If you click on the position displays the active axis will
 switch to that axis.  You can see the active one because in manual
 mode there is a groove around it.
 
 Tkemc  will home the active axis when you press the home button or jog
 it with the jog buttons next to home.  Mini will show you the name of
 the axis it plans to home when you press the zero button.
 
 HTH
 
 Ray
 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC Convert???

2007-07-27 Thread Jeff Epler
On Fri, Jul 27, 2007 at 09:32:41AM -0400, Jerry Jankura wrote:
 Does EMC support the G33 threading capability? I'll be adding CNC to my lathe 
 and will probably use TurboCNC there if EMC doesn't.

Yes, emc 2.1 has G33 spindle-synchronized motion and G76 canned
threading cycle.  emc 2.2 will have g33.1 rigid tapping as well, if
your spindle can stop and reverse under computer control.

These all require a spindle encoder with index pulse.  Preferably a few
hundred encoder counts per spindle revolution.  For encoder speeds up to
20kHz or so, you can rely on software counting of the encoder.

Jeff

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Compile genhexkins.c as a executable

2007-07-27 Thread jros
El jue, 26-07-2007 a las 13:40 -0500, Ray Henry escribió:
 Hi Jeff
 
 I've got a hint.  Genhexkins is the name of a kinematics definition for
 the stepper powered cable hexapod that NIST built several years ago now.
 In the original form, the matrix supplied home position for the 6
 struts.  I know that several folk have modified that matrix for
 different strut lengths and angles between but do not know if those were
 committed to changes here.

Yes puting a #define GIVEN_KINEMATICS

Stewart platform geometric values can be controled.
The changes are there.

 
 I don't have a clue how the executable genhexkins.ko would function as a
 replacement for trivkins.ko or if it would be a direct replacement for
 the loadrt command that starts trivkins.
 
Right now we are loading the provided genhekins.ko, and doing a
simulation without problems in emc2

 Rayh
 
 
Thanks

Javier

 On Thu, 2007-07-26 at 13:14 -0500, Jeff Epler wrote:
  I found that the following flags allowed me to build a binary, but I
  don't know what to do with it:
  
  running from the emc2 src directory, 
  gcc -Wl,-rpath,/usr/local/jepler/src/emc2/lib -DMAIN -I../include \
  emc/kinematics/genhexkins.c -L../lib -lposemath
  at least the -Wl,-rpath,... argument will be different depending on
  your installation of emc.
  
  Jeff
  
  -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now   http://get.splunk.com/
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
  
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GTK build dep

2007-07-27 Thread Stephen Wille Padnos
John Kasunich wrote:

Jeff Epler wrote:
  

It looks like libgtk2.0-dev is already listed in the Build-Depends of
emc2.1 packages, emc2 TRUNK, and emc2-cvs-build-dep.



That ensures that people using the debs get it.  We should probably
modify configure to make it a requirement as well, so people who
aren't using the debs will be told that it is missing.
  

Hmmm.

If this means what I think it means (that ./configure will barf if gtk 
libraries aren't found), then I'd prefer to leave it as is.  The 
diagnostic tools aren't a required part of EMC2, and the GUIs aren't 
either.  It's pretty easy to filter the output of configure to see 
what's missing - something like ./configure | grep no$ lists 
everything configure couldn't find.

The change you propose, as I understand it, would make it more difficult 
to build for headless controllers and the like.

- Steve

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] GTK build dep

2007-07-27 Thread Ray Henry
On Fri, 2007-07-27 at 11:08 -0400, Stephen Wille Padnos wrote:
 John Kasunich wrote:
 
 Jeff Epler wrote:
   
 
 It looks like libgtk2.0-dev is already listed in the Build-Depends of
 emc2.1 packages, emc2 TRUNK, and emc2-cvs-build-dep.
 
 
 
 That ensures that people using the debs get it.  We should probably
 modify configure to make it a requirement as well, so people who
 aren't using the debs will be told that it is missing.
   
 
 Hmmm.
 
 If this means what I think it means (that ./configure will barf if gtk 
 libraries aren't found), then I'd prefer to leave it as is.  The 
 diagnostic tools aren't a required part of EMC2, and the GUIs aren't 
 either.  It's pretty easy to filter the output of configure to see 
 what's missing - something like ./configure | grep no$ lists 
 everything configure couldn't find.
 
 The change you propose, as I understand it, would make it more difficult 
 to build for headless controllers and the like.
 
 - Steve

I don't know exactly how it might be related but I'd also like to see it
possible to set up a working compile without the need for lyx and the
other document stuff.  Would it be possible to make two build dep
packages.  One for the lowest level another for extra?

Rayh




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users