Motama GmbH

Forum for users and developers of NMM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FireWire support...

 
Post new topic   Reply to topic     Forum Index -> Applications
View previous topic :: View next topic  
Author Message
violondingres



Joined: 17 Jul 2009
Posts: 7

PostPosted: Mon Aug 24, 2009 1:18 pm    Post subject: FireWire support... Reply with quote

Hi,

I need to get a video stream from a firewire camera, but i can't enable the firewire support.

i have installed the precompiled external libs, but running configure with:

./configure --with-extra-libs=/home/riccardo/nmm-1.0.0-external-libs/lib --with-extra-includes=/home/riccardo/nmm-1.0.0-external-libs/include --prefix=/home/riccardo/nmm-1.0.0-installed/

results in:

Code:

(...)
checking if building of IEEE1394 Firewire Node is enabled... yes
checking for raw1394... yes: incs=/home/riccardo/nmm-1.0.0-external-libs/include libs=/home/riccardo/nmm-1.0.0-external-libs/lib
checking for l1394... no
configure: WARNING: *** l1394 not found. NMM will suffer functionality!  ***
(...)


as you can see, l1394, which is included in the external libs, cannot be found... why?

thanks in advance for any help!
Back to top
View user's profile Send private message
mlohse
NMM Team


Joined: 12 Apr 2007
Posts: 122

PostPosted: Tue Aug 25, 2009 8:35 am    Post subject: Reply with quote

Please have a look at the file config.log which will provide additional information.
Back to top
View user's profile Send private message
violondingres



Joined: 17 Jul 2009
Posts: 7

PostPosted: Tue Aug 25, 2009 3:03 pm    Post subject: Reply with quote

Thanks for the reply,

here's config.log:

Code:

(...)
configure:28454: checking for l1394
configure:28556: /usr/bin/g++-3.4 -o conftest -O2 -fno-check-new -fexceptions -I/home/riccardo/nmm-1.0.0-external-libs/include   -L/home/riccardo/nmm-1.0.0-external-libs/lib conftest.cc  -ll1394 >&5
/home/riccardo/nmm-1.0.0-external-libs/lib/libl1394.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/home/riccardo/nmm-1.0.0-external-libs/lib/libl1394.so: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
/home/riccardo/nmm-1.0.0-external-libs/lib/libl1394.so: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
/home/riccardo/nmm-1.0.0-external-libs/lib/libl1394.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
/home/riccardo/nmm-1.0.0-external-libs/lib/libl1394.so: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
collect2: ld returned 1 exit status
configure:28562: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define BUILD_LINUX
| #define PACKAGE "nmm"
| #define VERSION "1.0.0"
| #define NMM_VERSION_MAJOR 1
| #define NMM_VERSION_MINOR 0
| #define NMM_VERSION_MICRO 0
| #define NMM_VERSION_SUFFIX
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_KD_H 1
| #define HAVE_LINUX_VT_H 1
| #define HAVE_DOCBOOKUTILS
| #define ARCH_X86 1
| #define ARCH_686 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_USLEEP 1
| #define BUILD_YUVTORGBCONVERTERNODE BUILD_YUVTORGBCONVERTERNODE
| #define HAVE_RAW1394
| /* end confdefs.h.  */
|
| #include <l1394/l1394_session.h>
| int
| main ()
| {
| L1394::SSession::getInstance();
|   ;
|   return 0;
| }
configure:28556: /usr/bin/g++-3.4 -o conftest -O2 -fno-check-new -fexceptions -I/home/riccardo/nmm-1.0.0-external-libs/include   conftest.cc  -ll1394 >&5
/usr/bin/ld: cannot find -ll1394
collect2: ld returned 1 exit status
configure:28562: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define BUILD_LINUX
| #define PACKAGE "nmm"
| #define VERSION "1.0.0"
| #define NMM_VERSION_MAJOR 1
| #define NMM_VERSION_MINOR 0
| #define NMM_VERSION_MICRO 0
| #define NMM_VERSION_SUFFIX
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_KD_H 1
| #define HAVE_LINUX_VT_H 1
| #define HAVE_DOCBOOKUTILS
| #define ARCH_X86 1
| #define ARCH_686 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_USLEEP 1
| #define BUILD_YUVTORGBCONVERTERNODE BUILD_YUVTORGBCONVERTERNODE
| #define HAVE_RAW1394
| /* end confdefs.h.  */
|
| #include <l1394/l1394_session.h>
| int
| main ()
| {
| L1394::SSession::getInstance();
|   ;
|   return 0;
| }
configure:28556: /usr/bin/g++-3.4 -o conftest -O2 -fno-check-new -fexceptions   -L/home/riccardo/nmm-1.0.0-external-libs/lib conftest.cc  -ll1394 >&5
conftest.cc:52:33: l1394/l1394_session.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:56: error: `L1394' has not been declared
conftest.cc:56: error: `getInstance' was not declared in this scope
configure:28562: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define BUILD_LINUX
| #define PACKAGE "nmm"
| #define VERSION "1.0.0"
| #define NMM_VERSION_MAJOR 1
| #define NMM_VERSION_MINOR 0
| #define NMM_VERSION_MICRO 0
| #define NMM_VERSION_SUFFIX
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_KD_H 1
| #define HAVE_LINUX_VT_H 1
| #define HAVE_DOCBOOKUTILS
| #define ARCH_X86 1
| #define ARCH_686 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_USLEEP 1
| #define BUILD_YUVTORGBCONVERTERNODE BUILD_YUVTORGBCONVERTERNODE
| #define HAVE_RAW1394
| /* end confdefs.h.  */
|
| #include <l1394/l1394_session.h>
| int
| main ()
| {
| L1394::SSession::getInstance();
|   ;
|   return 0;
| }
configure:28556: /usr/bin/g++-3.4 -o conftest -O2 -fno-check-new -fexceptions   conftest.cc  -ll1394 >&5
conftest.cc:52:33: l1394/l1394_session.h: No such file or directory
conftest.cc: In function `int main()':
conftest.cc:56: error: `L1394' has not been declared
conftest.cc:56: error: `getInstance' was not declared in this scope
configure:28562: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define BUILD_LINUX
| #define PACKAGE "nmm"
| #define VERSION "1.0.0"
| #define NMM_VERSION_MAJOR 1
| #define NMM_VERSION_MINOR 0
| #define NMM_VERSION_MICRO 0
| #define NMM_VERSION_SUFFIX
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_KD_H 1
| #define HAVE_LINUX_VT_H 1
| #define HAVE_DOCBOOKUTILS
| #define ARCH_X86 1
| #define ARCH_686 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_UNSIGNED_SHORT 2
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define HAVE_SNPRINTF 1
| #define HAVE_INET_PTON 1
| #define HAVE_INET_NTOP 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_USLEEP 1
| #define BUILD_YUVTORGBCONVERTERNODE BUILD_YUVTORGBCONVERTERNODE
| #define HAVE_RAW1394
| /* end confdefs.h.  */
|
| #include <l1394/l1394_session.h>
| int
| main ()
| {
| L1394::SSession::getInstance();
|   ;
|   return 0;
| }
configure:28627: result: no
configure:28630: WARNING: *** l1394 not found. NMM will suffer functionality!  ***
configure:28633: result: Hint: libl1394 can be found under http://sourceforge.net/projects/l1394/ .
(...)


seems that the compiler doesn't find the standard c++ libraries...?
i'm using an old compiler version (3.4) because i though the problem was the compiler version, but nothing changed..

thanks
Back to top
View user's profile Send private message
violondingres



Joined: 17 Jul 2009
Posts: 7

PostPosted: Tue Aug 25, 2009 4:36 pm    Post subject: resolved.. Reply with quote

...ok finally i was able to compile the ieee1394 node using g++-3-3..!
Back to top
View user's profile Send private message
fw
NMM Team


Joined: 11 Apr 2007
Posts: 30
Location: Saarbrücken

PostPosted: Thu Aug 27, 2009 9:15 am    Post subject: Reply with quote

Hi!

This looks like a binary compatibility problem between different versions of C++ and the STL. With this release, you should be fine if you use g++ 3.3.5 all along.

You can also download the source code of l1394 and try to compile it with the newer version of g++ that you also used to compile NMM. However, we did not test this, so there is a chance that l1394 does not compile with a newer version of g++.
Back to top
View user's profile Send private message
motama
Site Admin


Joined: 11 Apr 2007
Posts: 1

PostPosted: Tue Sep 08, 2009 10:54 am    Post subject: Reply with quote

Please try using NMM 2.0.0

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Applications All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Editorial | Impressum  © Copyright Motama GmbH