This camview stuff is getting to me.
1. Us atom board uses can't use the libgl-mesa stuff, and must use
libgl-mesa-swx11 and friends or the cameras (all of them I've tried)
don't work. This precludes having the regular libgl stuff installed,
so that kills our ability to build the newest halio.so from the halio.c
we can down load. It has a dependency on gluOrtho2D, which is in the
libraries we can't use.
So I moved that whole function into halio.c, and now it builds and runs.
But I do not get the backplot overlay, I get a separate
camview-emc-float.py labeled window, and I can configure it just fine
FOR THAT SESSION ONLY. But even then, there is no DRO or DRO black cutin.
2. axis for linuxcnc will not run unless I add a ",shell=True" to its
Popen statement at about line 3181 in /usr/bin/axis. Over-written of
coarse when update-manager installs the latest 2.5.3. I also added a
line above that to see what the arguments were, a print cmd. The python
list folks say it should not matter, but it does.
3. camview itself says the correct syntax is a lower case "-c file"
But camview has now decided it won't run.
gene@shop:~/linuxcnc/emc-camunits-08e1dc7233e8c7936cd760212305a28f7fad53e3$
camview
Running glut init
RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault
Presumably the library thats missing, I just love error messages that
don't tell you what the %$& error is.
4. the camunits-emc-float.py is totally ignoring any and all hand edits
I do to camview.cfg. Including when I hard code the full path to it in
EMC_TAB_COMMAND.
The -c and -C are interchangeable as far as the results are concerned.
Clue? When SAVE is chosen from the camview menu, is the file it has
loaded supposed to be shown as the filename to be SAVEd? Its blank.
Is this an artifact of using the , shell=True in the Popen statement
at line 3181 in /usr/bin/axis?
I finally did get halio.c to build without that dependency yelp, and it
all shows up in the tabs of the separate window it opens, by making it
look like this in the line 380 region:
// int w = 1280;
// int h = 720;
GLdouble left = 0;
GLdouble w = 1280;
GLdouble bottom = 0;
GLdouble h = 720;
glPushMatrix();
glLoadIdentity();
// gluOrtho2D(0, w, 0, h);
void gluOrtho2D (GLdouble left, GLdouble w, GLdouble bottom, GLdouble h)
{
return glOrtho(left, w, bottom, h, -1, 1);
}
Which effectively (I think, pending correction by somebody who knows modern
ANSI C, I'm going by the K&R #2) moves that code from the missing library
into halio.c.
Frustration reigns supreme, even the neighborhood cats (we have a surplus)
are in danger.
Whats next?
Thanks for any help guys.
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)
Computer Science is merely the post-Turing decline in formal systems theory.
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