Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #189085

Re: need a video function in wheezy

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: need a video function in wheezy
Date 2017-11-17 18:50 +0100
Message-ID <uMSW5-8aZ-7@gated-at.bofh.it> (permalink)
References <uMEzM-7wt-1@gated-at.bofh.it> <uMNMK-508-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-17 03:30 +0100
  Re: need a video function in wheezy David Christensen <dpchrist@holgerdanske.com> - 2017-11-17 05:40 +0100
    Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-17 10:40 +0100
      Re: need a video function in wheezy David Christensen <dpchrist@holgerdanske.com> - 2017-11-17 16:50 +0100
        Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-17 19:00 +0100
          Re: need a video function in wheezy David Christensen <dpchrist@holgerdanske.com> - 2017-11-17 20:00 +0100
            Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-18 00:30 +0100
          Re: need a video function in wheezy rhkramer@gmail.com - 2017-11-18 00:30 +0100
            Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-18 02:30 +0100
  Re: need a video function in wheezy Roberto C. Sánchez <roberto@debian.org> - 2017-11-17 13:20 +0100
    Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-17 18:40 +0100
    Re: need a video function in wheezy Gene Heskett <gheskett@shentel.net> - 2017-11-17 18:50 +0100

csiph-web