Re: need a video function in wheezy
On Friday 17 November 2017 07:13:40 Roberto C. Sánchez wrote:
> On Thu, Nov 16, 2017 at 09:21:33PM -0500, Gene Heskett wrote:
> > Greetings all;
> >
> > I have a machine vision utility for use on a CNC machine, that uses
> > gladevcp.
> >
> > But the launching script, in xml, is looking for a specific lib:
> >
> > <requires lib="gtk+" version="2.24"/>
> >
> > which if it ever did exist in wheezy, was since removed.
> >
> > This script is of course editable, so are the functions that were in
> > this lib, now available in a different package? If so, likely
> > suspects please?
>
> Hi Gene,
>
> I suspect that your tool was built with the naming conventions used by
> Red Hat in mind. You probably need to change lib="gtk+" to
> lib="gtk+2.0". Here is the link to the source package in wheezy:
>
> https://packages.debian.org/source/wheezy/gtk+2.0
>
> Another possible candidate would be lib="libgtk2.0-0" for the name of
> the actual binary package.
>
That returns a more specific error:
gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
gladevcp:
importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py
(gladevcp:27121): libglade-WARNING **: did not finish in PARSER_FINISH
state
**** GLADE VCP ERROR: With xml file: camview.glade : could not create
GladeXML object
This is with the version string commented out. The file looks like this
now:
<?xml version="1.0" encoding="UTF-8"?>
<glade-interface>
<requires lib="gtk2.0-0" <!-- version="400.2"/ --> >
<!-- interface-requires gladevcp 0.0 -->
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<child>
<object class="CamView" id="camview1">
<property name="visible">True</property>
<property name="camera">0</property>
<property name="draw_color">#FFFF00000000</property>
<property name="frame_width">640</property>
<property name="frame_height">480</property>
<property name="circle_size">50</property>
<property name="number_of_circles">3</property>
<property name="radius_difference">10</property>
<property name="autosize">False</property>
<property name="cam_settings"></property>
</object>
</child>
</object>
</glade-interface>
> Regards,
>
> -Roberto
Thank you Roberto.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: