お使いのブラウザが古くなっていますので、このウェブサイトのすべての機能が表示されない可能性があります。 お使いのブラウザの更新する方法をご覧ください。

OK

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

'GenICam::GenericException::what() const'

/usr/bin/ld: note: 'GenICam::GenericException::what() const' is defined

in DSO

/home/ringdahl/test_camera/pylon/genicam/bin/Linux64_x64/libGCBase_gcc40_v2_1.so

so try adding it to the linker command line

/home/ringdahl/test_camera/pylon/genicam/bin/Linux64_x64/libGCBase_gcc40_v2_1.so:

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:

-lGCBase_gcc40_v2_1

More information on that can be found under:

https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition