|
Issue:
64-bit Linux support for Digiclops and Triclops libraries.
Solution:
Initial attempts by PGR to compile and run 32-bit Digiclops applications on 64-bit Linux systems for image acquisition have been largely unsuccessful. While it is possible to add the "-m32" flag to both CFLAGS and LDFLAGS to build 32-bit applications on 64-bit machines, at runtime the attempt to create a raw1394 handle fails e.g. raw1394_new_handle => 0. This was tested using a simple piece of generic test code (independent of any PGR library) that can be downloaded here.
Upon further investigation, the problem with running a 32-bit application that uses the libraw1394 substructure appears to be a problem in the libraw1394 and 64-bit kernel modules.
One possible alternative for users to try is to use the libdc1394 library for image acquisition. See Related Article 183 below for information on this library. At this time, PGR has not experimented with compiling and running libdc1394 acquisition programs on 64-bit systems. In the event that this is possible, the user could then pass the acquired images to a 32-bit Triclops application for stereo and post-processing.
To summarize, users wishing to use their PGR Stereo Vision camera on 64-bit Linux systems should try the following:
- Acquire images on a 32-bit OS using the Digiclops SDK. Cross-compile a 32-bit Triclops application for 64-bit Linux, and perform stereo post-processing on the 64-bit Linux system.
- Follow-up with the libraw1394 project group at SourceForge to determine if any fixes to the 32/64 cross-compiling problem described above have been released.
- Use libdc1394 to create a 64-bit application to grab images and pass these to the 32-bit cross-compiled Triclops application.
NOTES:
- While PGR technical staff have not tried any of the above, we encourage users to contact Technical Support for any questions related to this issue.
- There are no immediate plans to release 64-bit versions of the Digiclops and Triclops SDKs. To do so would require extensive rewriting of these libraries.
Related
Articles:
1.) Using Point Grey Stereo Vision Products under Linux.
2.) Source code examples of grabbing images under Linux.
Article
ID: |
199 |
| Published: |
5/10/2005 2:26:13 PM |
Last
Modified: |
5/10/2005 2:29:01 PM |
| Keywords: |
64-bit, Linux, 32-bit, -m32, libdc1394, libraw1394, Opteron, AMD, CFLAGS, LDFLAGS |
Issue Type: |
Installation |
|