On Wednesday 20 November 2013 17:50:06 Frederic RIBLE did opine:

> Le 2013-11-19 23:47, Gene Heskett a écrit :
> > ** (camview-emc-float.py:1930): WARNING **:
> > /usr/local/lib/camunits/halio.so: undefined symbol: gluOrtho2D
> 
> I have very few experience with  libgl-mesa-swx11.
> Try to install "libgl1-mesa-swx11-dev" and "freeglut" packages.

freeglut3 and freeglut3-dev are installed.
libgl1-mesa-swx11-dev and all its output are also installed.
> 
> > The print cmd output one line above it says this:
That I had inserted in /usr/bin/axis 
> > ['~/linuxcnc/configs/my-mill-atom-2/camview-emc-float.py', '-v',
> > '640x480', '-c', 'camview.cfg', '-g', 'cam.ui', '-H', 'campins.hal',
> > '-w', '134218062']
> 
> -C should be upper case to read your camview.cfg file

I am aware of that, but I will show you shortly, here, it appears to 
demand a lower case c, or the halio.so issue causes it to not care.

> But I do not think that it is the root cause of the other problems you
> have.

This is the result of using the lowercase c, after letting it update to todays 
linuxcnc-2.5.3.
gene@shop:~/linuxcnc/emc-camunits-08e1dc7233e8c7936cd760212305a28f7fad53e3$ 
linuxcnc -l
LINUXCNC - 2.5.3-65-g57b9882
Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-2'
Machine configuration file is 'my-mill-atom-2.ini'
Starting LinuxCNC...
Traceback (most recent call last):
  File "/usr/bin/axis", line 3326, in <module>
    _dynamic_tabs(inifile)
  File "/usr/bin/axis", line 3182, in _dynamic_tabs
    child = Popen(cmd)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Shutting down and cleaning up LinuxCNC...
Cleanup done
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/gene/linuxcnc_debug.txt
and
    /home/gene/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal


Now, its an uppercase C there:

gene@shop:~/linuxcnc/emc-camunits-08e1dc7233e8c7936cd760212305a28f7fad53e3$ 
linuxcnc -l
LINUXCNC - 2.5.3-65-g57b9882
Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-2'
Machine configuration file is 'my-mill-atom-2.ini'
Starting LinuxCNC...
Traceback (most recent call last):
  File "/usr/bin/axis", line 3326, in <module>
    _dynamic_tabs(inifile)
  File "/usr/bin/axis", line 3182, in _dynamic_tabs
    child = Popen(cmd)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Shutting down and cleaning up LinuxCNC...
Cleanup done
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/gene/linuxcnc_debug.txt
and
    /home/gene/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

Now, let me go put a print cmd and the expander fix in /usr/bin/axis, about 
line 3181 or so.

3181        cmd = c.replace('{XID}', str(xid)).split()
3182        print cmd
3183        child = Popen(cmd, shell=True)

And save it.

Now, with the uppercase C, I get this in the terminal:

gene@shop:~/linuxcnc/emc-camunits-08e1dc7233e8c7936cd760212305a28f7fad53e3$ 
linuxcnc -l
LINUXCNC - 2.5.3-65-g57b9882
Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-2'
Machine configuration file is 'my-mill-atom-2.ini'
Starting LinuxCNC...
['~/linuxcnc/configs/my-mill-atom-2/camview-emc-float.py', '-v', '640x480', 
'-C', 'camview.cfg', '-g', 'cam.ui', '-H', 
'campins.hal', '-w', '138412366']

** (camview-emc-float.py:5460): WARNING **: /usr/local/lib/camunits/halio.so: 
undefined symbol: gluOrtho2D
Adding 0: -
Adding 1: Circle
Adding 2: Lines
Active: 0; Widget: 0xa018880; Chain: 0xa1c2ee0
Active: 1; Widget: 0xa018880; Chain: 0xa1c2ee0
Active: 1; Widget: 0xa018880; Chain: 0xa1c2ee0

** (camview-emc-float.py:5460): WARNING **: unit_chain.c:181 -- Unit 
[input.v4l2:0] is still streaming!


** (camview-emc-float.py:5460): WARNING **: unit_chain.c:181 -- Unit 
[convert.to_rgb8] is still streaming!


** (camview-emc-float.py:5460): WARNING **: unit_chain.c:181 -- Unit 
[util.crop] is still streaming!


** (camview-emc-float.py:5460): WARNING **: unit_chain.c:181 -- Unit 
[output.opengl] is still streaming!


** (camview-emc-float.py:5460): WARNING **: unit_chain.c:181 -- Unit 
[emc.crosshair] is still streaming!

Shutting down and cleaning up LinuxCNC...
Cleanup done

Linuxcnc runs now, and so does camview, but it opens its own window, and shows 
a tab for util.crop.

Close both, and edit the ini to make the C lowercase again.

and I don't believe I see a difference other than in the 
print cmd echo 7 lines down from this line.

gene@shop:~/linuxcnc/emc-camunits-08e1dc7233e8c7936cd760212305a28f7fad53e3$ 
linuxcnc -l
LINUXCNC - 2.5.3-65-g57b9882
Machine configuration directory is '/home/gene/linuxcnc/configs/my-mill-atom-2'
Machine configuration file is 'my-mill-atom-2.ini'
Starting LinuxCNC...
['~/linuxcnc/configs/my-mill-atom-2/camview-emc-float.py', '-v', '640x480', 
'-c', 'camview.cfg', '-g', 'cam.ui', '-H', 
'campins.hal', '-w', '138412366']

** (camview-emc-float.py:5715): WARNING **: /usr/local/lib/camunits/halio.so: 
undefined symbol: gluOrtho2D
Adding 0: -
Adding 1: Circle
Adding 2: Lines
Active: 0; Widget: 0x8f44880; Chain: 0x90eeee0
Active: 1; Widget: 0x8f44880; Chain: 0x90eeee0
Active: 1; Widget: 0x8f44880; Chain: 0x90eeee0

** (camview-emc-float.py:5715): WARNING **: unit_chain.c:181 -- Unit 
[input.v4l2:0] is still streaming!


** (camview-emc-float.py:5715): WARNING **: unit_chain.c:181 -- Unit 
[convert.to_rgb8] is still streaming!


** (camview-emc-float.py:5715): WARNING **: unit_chain.c:181 -- Unit 
[util.crop] is still streaming!


** (camview-emc-float.py:5715): WARNING **: unit_chain.c:181 -- Unit 
[output.opengl] is still streaming!


** (camview-emc-float.py:5715): WARNING **: unit_chain.c:181 -- Unit 
[emc.crosshair] is still streaming!

Shutting down and cleaning up LinuxCNC...
Cleanup done

Still 2 separate windows, and no emc.halio tab, I assume because of the 
 undefined symbol: gluOrtho2D  noted both times it ran.

Both times it ran above, the CAM_view tab in the LCNC screen was a blank 
white area as all the camview output actually went to its own screen.

I can PM a screen snapshot if you would like.  But the list server will
strip it.

Thanks Frederic.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

The following statement is not true.  The previous statement is true.
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to