Possible compilation problems with pylon4linux 2.3 under Ubuntu 11.xx or Fedora 13
It is very probable that you get the following error messages while trying to compile the pylon SDK samples under Ubuntu 11.xx, Fedora 13 or any other linux distributions based on the same platform revision:
/usr/bin/ld: AcquireSingleFrame.o: undefined reference to symbol
/usr/bin/ld: note: 'GenICam::GenericException::what() const' is defined
so try adding it to the linker command line
could not read symbols: Invalid operation
It turns out that this problem is caused by changing the Linker behavior in newer Linux distributions, i.e. Ubuntu 11.04 or 11.10, Fedora 13 etc.
That is, up to the above mentioned revisions, the Linker used to search for dependent libraries (indirect linking of shared library symbols) automatically. In the case of pylon, it is the libGCBase_gcc40_v2_1.
However, from e.g. Ubuntu 11.04 on all shared libs must be explicitly added to the command-line compiler flags in order to be found during compilation.
Hence, in this given case, use the following command-line switch:
More information on that can be found under: