new yarpview

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

new yarpview

Lorenzo Natale-2
Hi,
I have written an improved version of the yarpview. The new features are:

- can synchronize with data from the port (i.e. plot each received frame)
- compute and show port/display framerate
- fix aspect ratio

The code is in CVS, but the old yarpview is still compiled by default.
To test the new code you have to enable the COMPILE_NEW_YARPVIEW flag in
cmake (disabled by default).

I would appreciate if someone could test the new code before we make it
the default.

Cheers,
Lorenzo

--
Istituto Italiano di Tecnologia
Lorenzo Natale, PhD
[hidden email]
via Morego, 30 16163 Genova
Ph: +39 010 71781400
Fax: +39 010 7170817
www.iit.it


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Matteo Taiana
2009/2/17 Lorenzo Natale <[hidden email]>:

> Hi,
> I have written an improved version of the yarpview. The new features are:
>
> - can synchronize with data from the port (i.e. plot each received frame)
> - compute and show port/display framerate
> - fix aspect ratio
>
> The code is in CVS, but the old yarpview is still compiled by default.
> To test the new code you have to enable the COMPILE_NEW_YARPVIEW flag in
> cmake (disabled by default).
>
> I would appreciate if someone could test the new code before we make it
> the default.
>
> Cheers,
> Lorenzo


hi Lorenzo, thanks: showing the frame rate at which the images are
transmitted and the one at which they are displayed is quite useful
for me.

I built the new version of yarpview (on ubuntu 8.04) and it works fine.
- the syncing works.
- the displayed frame rates make sense.
- the "original aspect ratio" command behaves well.

just one note on a behaviour that I find a bit odd: when you are
running yarpview with the "sync display" option selected and change
the refresh interval... nothing happens.
you need to deselect the "sync display" option before the new refresh
interval is used.
I think that when you select a new refresh interval, clearly you
intend to deselect the "sync display" option and I guess that should
be done automatically.

ciao,

Matteo.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Frank Förster
In reply to this post by Lorenzo Natale-2
Hi Lorenzo,

I just updated yarp and now neither the old nor the new yarpview  
works, so I couldn't
test it properly.

Tested on Mac Os X 10.5.6 and Ubuntu with Kernel 2.6.27-11 (i686)
Yesterday the old yarpview still worked on Ubuntu, on the Mac there's  
a problem
with GTK+, though I have it installed. The error messages are for both
systems pretty much the same though.

If anybody got the new or old yarpview running on a Mac, I'd be very  
grateful for some help.
The specific problem yesterday was, that I got a compiler error, that  
the library libgtk-x11-2.0
was not found. I have the library libgtk-x11-2.0.0.dylib though in /sw/
lib.
After updating fink I have now also a libgtk-x11-2.0.la, but that  
doesn't seem of much help here.

Here are exerpts from the Compiler-Errors. You'll find the complete  
error messages
in the attached files (4 files, 2 for each operating system and 2 for  
COMPILE_NEW_YARPVIEW
turned on and off)

The switches turned on via ccmake are:
COMPILE_NEW_YARPVIEW=ON/OFF
CREATE_DEVICE_LIBRARY_MODULES=ON
        -> ENABLE_yarpmod_opencv_grabber=ON
CREATE_GUIS=ON
CREATE_LIB_MATH=ON
LINK_LIB_HIGHGUI=ON
MERGE_DEVICE_LIBRARY_MODULES=ON

All remaining optional modules/options are switched off.

Exerpts from the error messages:

Mac Os:
----------
with COMPILE_NEW_YARPVIEW=FALSE:

[ 99%] Building CXX object src/yarp-imageviewer/CMakeFiles/
yarpview.dir/YarpImage2Pixbuf.o
/Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\239’ in program
/Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\187’ in program
/Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\191’ in program
/Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘#’ in program
/Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: expected constructor, destructor, or type conversion before  
string constant
/usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does  
not name a type

... (more errors involving 'ACE_HANDLE') ...

/usr/local/include/ace/OS_NS_stdio.h:227: error: ‘ACE_OS::fdopen’  
declared as an ‘inline’ variable
... (similar errors involving 'inline' variables with other ACE_OS  
functions) ...


with COMPILE_NEW_YARPVIEW=TRUE

[ 98%] Building CXX object src/yarpview/CMakeFiles/yarpview.dir/
YarpImage2Pixbuf.o
/Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
stray ‘\239’ in program
/Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
stray ‘\187’ in program
/Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
stray ‘\191’ in program
/Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
stray ‘#’ in program
/Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
expected constructor, destructor, or type conversion before string  
constant
/usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does  
not name a type
/usr/local/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’  
was not declared in this scope
/usr/local/include/ace/os_include/os_unistd.h:179: error: expected  
primary-expression before ‘char’
/usr/local/include/ace/os_include/os_unistd.h:180: error: expected  
primary-expression before ‘n’
/usr/local/include/ace/os_include/os_unistd.h:181: error: expected  
primary-expression before ‘struct’
/usr/local/include/ace/os_include/os_unistd.h:181: error: initializer  
expression list treated as compound expression
... (similar errors for other files in .../ace/os_include/sys/
os_uio.h, see attached files for details) ...

Ubuntu
----------
with COMPILE_NEW_YARPVIEW=FALSE

[ 98%] Building CXX object src/yarp-imageviewer/CMakeFiles/
yarpview.dir/YarpImage2Pixbuf.o
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\357’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\273’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\277’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘#’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: expected constructor, destructor, or type conversion before  
string constant
In file included from /usr/include/ace/config-lite.h:24,
                  from /usr/include/ace/config-all.h:20,
                  from /usr/include/ace/OS.h:20,
                  from /home/frank/bin/yarp2/src/yarp-imageviewer/
YarpImage2Pixbuf.cpp:6:
/usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not  
name a type
In file included from /usr/include/ace/os_include/os_limits.h:27,
                  from /usr/include/ace/os_include/sys/os_uio.h:28,
                  from /usr/include/ace/os_include/sys/os_socket.h:27,
                  from /usr/include/ace/os_include/netinet/os_in.h:28,
                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
                  from /usr/include/ace/OS.h:30,
                  from /home/frank/bin/yarp2/src/yarp-imageviewer/
YarpImage2Pixbuf.cpp:6:
/usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was  
not declared in this scope
/usr/include/ace/os_include/os_unistd.h:179: error: expected primary-
expression before ‘char’
/usr/include/ace/os_include/os_unistd.h:180: error: expected primary-
expression before ‘n’
/usr/include/ace/os_include/os_unistd.h:181: error: expected primary-
expression before ‘struct’
/usr/include/ace/os_include/os_unistd.h:181: error: initializer  
expression list treated as compound expression
...


with COMPILE_NEW_YARPVIEW=TRUE

[ 98%] Building CXX object src/yarp-imageviewer/CMakeFiles/
yarpview.dir/YarpImage2Pixbuf.o
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\357’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\273’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘\277’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: stray ‘#’ in program
/home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
error: expected constructor, destructor, or type conversion before  
string constant
In file included from /usr/include/ace/config-lite.h:24,
                  from /usr/include/ace/config-all.h:20,
                  from /usr/include/ace/OS.h:20,
                  from /home/frank/bin/yarp2/src/yarp-imageviewer/
YarpImage2Pixbuf.cpp:6:
/usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not  
name a type
In file included from /usr/include/ace/os_include/os_limits.h:27,
                  from /usr/include/ace/os_include/sys/os_uio.h:28,
                  from /usr/include/ace/os_include/sys/os_socket.h:27,
                  from /usr/include/ace/os_include/netinet/os_in.h:28,
                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
                  from /usr/include/ace/OS.h:30,
                  from /home/frank/bin/yarp2/src/yarp-imageviewer/
YarpImage2Pixbuf.cpp:6:
/usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was  
not declared in this scope
/usr/include/ace/os_include/os_unistd.h:179: error: expected primary-
expression before ‘char’
/usr/include/ace/os_include/os_unistd.h:180: error: expected primary-
expression before ‘n’
/usr/include/ace/os_include/os_unistd.h:181: error: expected primary-
expression before ‘struct’
/usr/include/ace/os_include/os_unistd.h:181: error: initializer  
expression list treated as compound expression
...

Cheers

Frank







------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers

yarpview_errors.tar.gz (24K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Frank Förster

I forgot to mention, that my version of Ubuntu is 8.10

> Hi Lorenzo,
>
> I just updated yarp and now neither the old nor the new yarpview  
> works, so I couldn't
> test it properly.
>
> Tested on Mac Os X 10.5.6 and Ubuntu with Kernel 2.6.27-11 (i686)
> Yesterday the old yarpview still worked on Ubuntu, on the Mac  
> there's a problem
> with GTK+, though I have it installed. The error messages are for both
> systems pretty much the same though.
>
> If anybody got the new or old yarpview running on a Mac, I'd be very  
> grateful for some help.
> The specific problem yesterday was, that I got a compiler error,  
> that the library libgtk-x11-2.0
> was not found. I have the library libgtk-x11-2.0.0.dylib though in /
> sw/lib.
> After updating fink I have now also a libgtk-x11-2.0.la, but that  
> doesn't seem of much help here.
>
> Here are exerpts from the Compiler-Errors. You'll find the complete  
> error messages
> in the attached files (4 files, 2 for each operating system and 2  
> for COMPILE_NEW_YARPVIEW
> turned on and off)
>
> The switches turned on via ccmake are:
> COMPILE_NEW_YARPVIEW=ON/OFF
> CREATE_DEVICE_LIBRARY_MODULES=ON
> -> ENABLE_yarpmod_opencv_grabber=ON
> CREATE_GUIS=ON
> CREATE_LIB_MATH=ON
> LINK_LIB_HIGHGUI=ON
> MERGE_DEVICE_LIBRARY_MODULES=ON
>
> All remaining optional modules/options are switched off.
>
> Exerpts from the error messages:
>
> Mac Os:
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE:
>
> [ 99%] Building CXX object src/yarp-imageviewer/CMakeFiles/
> yarpview.dir/YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\239’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\187’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\191’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘#’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: expected constructor, destructor, or type conversion before  
> string constant
> /usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does  
> not name a type
>
> ... (more errors involving 'ACE_HANDLE') ...
>
> /usr/local/include/ace/OS_NS_stdio.h:227: error: ‘ACE_OS::fdopen’  
> declared as an ‘inline’ variable
> ... (similar errors involving 'inline' variables with other ACE_OS  
> functions) ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object src/yarpview/CMakeFiles/yarpview.dir/
> YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
> stray ‘\239’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
> stray ‘\187’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
> stray ‘\191’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
> stray ‘#’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:  
> expected constructor, destructor, or type conversion before string  
> constant
> /usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does  
> not name a type
> /usr/local/include/ace/os_include/os_unistd.h:178: error:  
> ‘ACE_HANDLE’ was not declared in this scope
> /usr/local/include/ace/os_include/os_unistd.h:179: error: expected  
> primary-expression before ‘char’
> /usr/local/include/ace/os_include/os_unistd.h:180: error: expected  
> primary-expression before ‘n’
> /usr/local/include/ace/os_include/os_unistd.h:181: error: expected  
> primary-expression before ‘struct’
> /usr/local/include/ace/os_include/os_unistd.h:181: error:  
> initializer expression list treated as compound expression
> ... (similar errors for other files in .../ace/os_include/sys/
> os_uio.h, see attached files for details) ...
>
> Ubuntu
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE
>
> [ 98%] Building CXX object src/yarp-imageviewer/CMakeFiles/
> yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\357’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\273’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\277’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘#’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: expected constructor, destructor, or type conversion before  
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                 from /usr/include/ace/config-all.h:20,
>                 from /usr/include/ace/OS.h:20,
>                 from /home/frank/bin/yarp2/src/yarp-imageviewer/
> YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not  
> name a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                 from /usr/include/ace/os_include/sys/os_uio.h:28,
>                 from /usr/include/ace/os_include/sys/os_socket.h:27,
>                 from /usr/include/ace/os_include/netinet/os_in.h:28,
>                 from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                 from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                 from /usr/include/ace/OS.h:30,
>                 from /home/frank/bin/yarp2/src/yarp-imageviewer/
> YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was  
> not declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected primary-
> expression before ‘char’
> /usr/include/ace/os_include/os_unistd.h:180: error: expected primary-
> expression before ‘n’
> /usr/include/ace/os_include/os_unistd.h:181: error: expected primary-
> expression before ‘struct’
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer  
> expression list treated as compound expression
> ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object src/yarp-imageviewer/CMakeFiles/
> yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\357’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\273’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘\277’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: stray ‘#’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:  
> error: expected constructor, destructor, or type conversion before  
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                 from /usr/include/ace/config-all.h:20,
>                 from /usr/include/ace/OS.h:20,
>                 from /home/frank/bin/yarp2/src/yarp-imageviewer/
> YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not  
> name a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                 from /usr/include/ace/os_include/sys/os_uio.h:28,
>                 from /usr/include/ace/os_include/sys/os_socket.h:27,
>                 from /usr/include/ace/os_include/netinet/os_in.h:28,
>                 from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                 from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                 from /usr/include/ace/OS.h:30,
>                 from /home/frank/bin/yarp2/src/yarp-imageviewer/
> YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was  
> not declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected primary-
> expression before ‘char’
> /usr/include/ace/os_include/os_unistd.h:180: error: expected primary-
> expression before ‘n’
> /usr/include/ace/os_include/os_unistd.h:181: error: expected primary-
> expression before ‘struct’
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer  
> expression list treated as compound expression
> ...
>
> Cheers
>
> Frank
> <yarpview_errors.tar.gz>
>
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H_______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Lorenzo Natale-2
In reply to this post by Frank Förster
Hello Frank,
you get problems on both the new and the old yarpview because I have
cleaned a little bit the code in both versions. In particular one
function (YarpImage2Pixbuf) was moved to its own cpp file.

I don't know exactly what is going on there, but I have seen a similar
problem in Windows. My current best hypothesis is that there is a clash
between ace and gtk (some symbols gets defined by both libraries in a
different way), that now appears because the order of some include files
has been modified. I have removed ace in that particular cpp file so the
problem should disappear (I can't test it on Linux now).

I don't understand the "stray" characters, though. Are you sure your
files are not corrupted? They could also be corrupted in the repository,
I will check them when I have some better internet access.

Cheers,
Lorenzo


Frank Foerster wrote:

> Hi Lorenzo,
>
> I just updated yarp and now neither the old nor the new yarpview works,
> so I couldn't
> test it properly.
>
> Tested on Mac Os X 10.5.6 and Ubuntu with Kernel 2.6.27-11 (i686)
> Yesterday the old yarpview still worked on Ubuntu, on the Mac there's a
> problem
> with GTK+, though I have it installed. The error messages are for both
> systems pretty much the same though.
>
> If anybody got the new or old yarpview running on a Mac, I'd be very
> grateful for some help.
> The specific problem yesterday was, that I got a compiler error, that
> the library libgtk-x11-2.0
> was not found. I have the library libgtk-x11-2.0.0.dylib though in /sw/lib.
> After updating fink I have now also a libgtk-x11-2.0.la, but that
> doesn't seem of much help here.
>
> Here are exerpts from the Compiler-Errors. You'll find the complete
> error messages
> in the attached files (4 files, 2 for each operating system and 2 for
> COMPILE_NEW_YARPVIEW
> turned on and off)
>
> The switches turned on via ccmake are:
> COMPILE_NEW_YARPVIEW=ON/OFF
> CREATE_DEVICE_LIBRARY_MODULES=ON
>     -> ENABLE_yarpmod_opencv_grabber=ON
> CREATE_GUIS=ON
> CREATE_LIB_MATH=ON
> LINK_LIB_HIGHGUI=ON
> MERGE_DEVICE_LIBRARY_MODULES=ON
>
> All remaining optional modules/options are switched off.
>
> Exerpts from the error messages:
>
> Mac Os:
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE:
>
> [ 99%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\239’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\187’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\191’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘#’ in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> /usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does not
> name a type
>
> ... (more errors involving 'ACE_HANDLE') ...
>
> /usr/local/include/ace/OS_NS_stdio.h:227: error: ‘ACE_OS::fdopen’
> declared as an ‘inline’ variable
> ... (similar errors involving 'inline' variables with other ACE_OS
> functions) ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object
> src/yarpview/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> ‘\239’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> ‘\187’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> ‘\191’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> ‘#’ in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:
> expected constructor, destructor, or type conversion before string constant
> /usr/local/include/ace/config-macros.h:494: error: ‘ACE_HANDLE’ does not
> name a type
> /usr/local/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’
> was not declared in this scope
> /usr/local/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before ‘char’
> /usr/local/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before ‘n’
> /usr/local/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before ‘struct’
> /usr/local/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ... (similar errors for other files in .../ace/os_include/sys/os_uio.h,
> see attached files for details) ...
>
> Ubuntu
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE
>
> [ 98%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\357’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\273’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\277’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘#’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                  from /usr/include/ace/config-all.h:20,
>                  from /usr/include/ace/OS.h:20,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not name
> a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                  from /usr/include/ace/os_include/sys/os_uio.h:28,
>                  from /usr/include/ace/os_include/sys/os_socket.h:27,
>                  from /usr/include/ace/os_include/netinet/os_in.h:28,
>                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                  from /usr/include/ace/OS.h:30,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was not
> declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before ‘char’
> /usr/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before ‘n’
> /usr/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before ‘struct’
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\357’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\273’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘\277’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray ‘#’ in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                  from /usr/include/ace/config-all.h:20,
>                  from /usr/include/ace/OS.h:20,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: ‘ACE_HANDLE’ does not name
> a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                  from /usr/include/ace/os_include/sys/os_uio.h:28,
>                  from /usr/include/ace/os_include/sys/os_socket.h:27,
>                  from /usr/include/ace/os_include/netinet/os_in.h:28,
>                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                  from /usr/include/ace/OS.h:30,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: ‘ACE_HANDLE’ was not
> declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before ‘char’
> /usr/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before ‘n’
> /usr/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before ‘struct’
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ...
>
> Cheers
>
> Frank
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


--
Istituto Italiano di Tecnologia
Lorenzo Natale, PhD
[hidden email]
via Morego, 30 16163 Genova
Ph: +39 010 71781400
Fax: +39 010 7170817
www.iit.it


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Lorenzo Natale-2
In reply to this post by Matteo Taiana
Matteo Taiana wrote:
> just one note on a behaviour that I find a bit odd: when you are
> running yarpview with the "sync display" option selected and change
> the refresh interval... nothing happens.
> you need to deselect the "sync display" option before the new refresh
> interval is used.
> I think that when you select a new refresh interval, clearly you
> intend to deselect the "sync display" option and I guess that should
> be done automatically.

Yes I just got lazy :) :) I promise to fix this...

Thanks for the feedback,
Lorenzo

--
Istituto Italiano di Tecnologia
Lorenzo Natale, PhD
[hidden email]
via Morego, 30 16163 Genova
Ph: +39 010 71781400
Fax: +39 010 7170817
www.iit.it


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Francesco Nori
I already fixed the problem yesterday.
The problem was a space at the beginning of the file YarpImage2Pixbuf.cpp
causing a compiling error with gcc.
Cheers,
Francesco

-----Original Message-----
From: Lorenzo Natale [mailto:[hidden email]]
Sent: Thursday, February 19, 2009 12:26 AM
To: Matteo Taiana; 'YARP List'
Subject: Re: [rc-hackers] new yarpview

Matteo Taiana wrote:
> just one note on a behaviour that I find a bit odd: when you are
> running yarpview with the "sync display" option selected and change
> the refresh interval... nothing happens.
> you need to deselect the "sync display" option before the new refresh
> interval is used.
> I think that when you select a new refresh interval, clearly you
> intend to deselect the "sync display" option and I guess that should
> be done automatically.

Yes I just got lazy :) :) I promise to fix this...

Thanks for the feedback,
Lorenzo

--
Istituto Italiano di Tecnologia
Lorenzo Natale, PhD
[hidden email]
via Morego, 30 16163 Genova
Ph: +39 010 71781400
Fax: +39 010 7170817
www.iit.it


----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Francesco Nori
In reply to this post by Lorenzo Natale-2
Sorry my previous post was referring to this compiling problem.

-----Original Message-----
From: Lorenzo Natale [mailto:[hidden email]]
Sent: Thursday, February 19, 2009 12:24 AM
To: Frank "Foerster"; 'YARP List'
Subject: Re: [rc-hackers] new yarpview

Hello Frank,
you get problems on both the new and the old yarpview because I have
cleaned a little bit the code in both versions. In particular one
function (YarpImage2Pixbuf) was moved to its own cpp file.

I don't know exactly what is going on there, but I have seen a similar
problem in Windows. My current best hypothesis is that there is a clash
between ace and gtk (some symbols gets defined by both libraries in a
different way), that now appears because the order of some include files
has been modified. I have removed ace in that particular cpp file so the
problem should disappear (I can't test it on Linux now).

I don't understand the "stray" characters, though. Are you sure your
files are not corrupted? They could also be corrupted in the repository,
I will check them when I have some better internet access.

Cheers,
Lorenzo


Frank Foerster wrote:

> Hi Lorenzo,
>
> I just updated yarp and now neither the old nor the new yarpview works,
> so I couldn't
> test it properly.
>
> Tested on Mac Os X 10.5.6 and Ubuntu with Kernel 2.6.27-11 (i686)
> Yesterday the old yarpview still worked on Ubuntu, on the Mac there's a
> problem
> with GTK+, though I have it installed. The error messages are for both
> systems pretty much the same though.
>
> If anybody got the new or old yarpview running on a Mac, I'd be very
> grateful for some help.
> The specific problem yesterday was, that I got a compiler error, that
> the library libgtk-x11-2.0
> was not found. I have the library libgtk-x11-2.0.0.dylib though in
/sw/lib.

> After updating fink I have now also a libgtk-x11-2.0.la, but that
> doesn't seem of much help here.
>
> Here are exerpts from the Compiler-Errors. You'll find the complete
> error messages
> in the attached files (4 files, 2 for each operating system and 2 for
> COMPILE_NEW_YARPVIEW
> turned on and off)
>
> The switches turned on via ccmake are:
> COMPILE_NEW_YARPVIEW=ON/OFF
> CREATE_DEVICE_LIBRARY_MODULES=ON
>     -> ENABLE_yarpmod_opencv_grabber=ON
> CREATE_GUIS=ON
> CREATE_LIB_MATH=ON
> LINK_LIB_HIGHGUI=ON
> MERGE_DEVICE_LIBRARY_MODULES=ON
>
> All remaining optional modules/options are switched off.
>
> Exerpts from the error messages:
>
> Mac Os:
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE:
>
> [ 99%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\239' in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\187' in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\191' in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '#' in program
> /Users/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> /usr/local/include/ace/config-macros.h:494: error: 'ACE_HANDLE' does not
> name a type
>
> ... (more errors involving 'ACE_HANDLE') ...
>
> /usr/local/include/ace/OS_NS_stdio.h:227: error: 'ACE_OS::fdopen'
> declared as an 'inline' variable
> ... (similar errors involving 'inline' variables with other ACE_OS
> functions) ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object
> src/yarpview/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> '\239' in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> '\187' in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> '\191' in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error: stray
> '#' in program
> /Users/frank/bin/yarp2/src/yarpview/YarpImage2Pixbuf.cpp:1: error:
> expected constructor, destructor, or type conversion before string
constant

> /usr/local/include/ace/config-macros.h:494: error: 'ACE_HANDLE' does not
> name a type
> /usr/local/include/ace/os_include/os_unistd.h:178: error: 'ACE_HANDLE'
> was not declared in this scope
> /usr/local/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before 'char'
> /usr/local/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before 'n'
> /usr/local/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before 'struct'
> /usr/local/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ... (similar errors for other files in .../ace/os_include/sys/os_uio.h,
> see attached files for details) ...
>
> Ubuntu
> ----------
> with COMPILE_NEW_YARPVIEW=FALSE
>
> [ 98%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\357' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\273' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\277' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '#' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                  from /usr/include/ace/config-all.h:20,
>                  from /usr/include/ace/OS.h:20,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: 'ACE_HANDLE' does not name
> a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                  from /usr/include/ace/os_include/sys/os_uio.h:28,
>                  from /usr/include/ace/os_include/sys/os_socket.h:27,
>                  from /usr/include/ace/os_include/netinet/os_in.h:28,
>                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                  from /usr/include/ace/OS.h:30,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: 'ACE_HANDLE' was not
> declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before 'char'
> /usr/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before 'n'
> /usr/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before 'struct'
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ...
>
>
> with COMPILE_NEW_YARPVIEW=TRUE
>
> [ 98%] Building CXX object
> src/yarp-imageviewer/CMakeFiles/yarpview.dir/YarpImage2Pixbuf.o
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\357' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\273' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '\277' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: stray '#' in program
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:1:
> error: expected constructor, destructor, or type conversion before
> string constant
> In file included from /usr/include/ace/config-lite.h:24,
>                  from /usr/include/ace/config-all.h:20,
>                  from /usr/include/ace/OS.h:20,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/config-macros.h:501: error: 'ACE_HANDLE' does not name
> a type
> In file included from /usr/include/ace/os_include/os_limits.h:27,
>                  from /usr/include/ace/os_include/sys/os_uio.h:28,
>                  from /usr/include/ace/os_include/sys/os_socket.h:27,
>                  from /usr/include/ace/os_include/netinet/os_in.h:28,
>                  from /usr/include/ace/os_include/arpa/os_inet.h:27,
>                  from /usr/include/ace/OS_NS_arpa_inet.h:28,
>                  from /usr/include/ace/OS.h:30,
>                  from
> /home/frank/bin/yarp2/src/yarp-imageviewer/YarpImage2Pixbuf.cpp:6:
> /usr/include/ace/os_include/os_unistd.h:178: error: 'ACE_HANDLE' was not
> declared in this scope
> /usr/include/ace/os_include/os_unistd.h:179: error: expected
> primary-expression before 'char'
> /usr/include/ace/os_include/os_unistd.h:180: error: expected
> primary-expression before 'n'
> /usr/include/ace/os_include/os_unistd.h:181: error: expected
> primary-expression before 'struct'
> /usr/include/ace/os_include/os_unistd.h:181: error: initializer
> expression list treated as compound expression
> ...
>
> Cheers
>
> Frank
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
----------------------------------------------------------------------------
--
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
> -Strategies to boost innovation and cut costs with open source
participation
> -Receive a $600 discount off the registration fee with the source code:
SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


--
Istituto Italiano di Tecnologia
Lorenzo Natale, PhD
[hidden email]
via Morego, 30 16163 Genova
Ph: +39 010 71781400
Fax: +39 010 7170817
www.iit.it


----------------------------------------------------------------------------
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: new yarpview

Jorge Scandaliaris-3
In reply to this post by Lorenzo Natale-2
>Hi,
>I have written an improved version of the yarpview. The new features are:
>
>- can synchronize with data from the port (i.e. plot each received frame)
>- compute and show port/display framerate
>- fix aspect ratio
>
>The code is in CVS, but the old yarpview is still compiled by default.
>To test the new code you have to enable the COMPILE_NEW_YARPVIEW flag in
>cmake (disabled by default).
>
>I would appreciate if someone could test the new code before we make it
>the default.
>
>Cheers,
>Lorenzo

Hi Lorenzo,

I just tested the new yarpview and it work fine here. I had the same
issues Frank Förster had initially (gcc complaining about stray
characters) but that was fixed today after updating from cvs. This is
under Gentoo GNU/Linux x86 (32 bits). Let me tell you this is a welcome
improvement, thanks for your work!
Last thing, when yarpview is started from the command line, I get three
Gtk-related warnings:

(/yarpview:1487): Gtk-WARNING **: GtkSpinButton: setting an adjustment
with non-zero page size is deprecated

(/yarpview:1487): Gtk-WARNING **: Theme directory scalable/stock of theme
Rodent has no size field

(/yarpview:1487): Gtk-WARNING **: Theme directory 48x48/stock of theme
Rodent has no size field

I think only the first one might be interesting to you, as the other ones
are probably related to my linux distribution. In any case, yarpview works
well.

Jorge Scandaliaris

---
IRI
Institut de Robòtica i Informàtica Industrial (UPC-CSIC)
LLorens i Artigas 4-6 2nd Floor
Technology Park of Barcelona
08028 Barcelona
Phone: (+34) 93 401 58 05
Fax:   (+34) 93 401 57 50

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers