fkanehiro / openhrp3

Open Architecture Human-centered Robotics Platform
http://www.openrtp.jp/openhrp3
Other
26 stars 34 forks source link

libpng version compatibility issue (Ubuntu 20.04) #159

Open wyqsnddd opened 2 years ago

wyqsnddd commented 2 years ago

Dear maintainers,

I followed the procedure below:

$ cd util
$ ./installPackages.sh packages.list.ubuntu.16.04
$ cd ..
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Whereas, I met the issue about libpng:

[ 90%] Generating ../../sample/model/house/box.dae
Humanoid node
Joint node WAIST
  Segment node BODY
libpng error: Incompatible libpng version in application and library
terminate called after throwing an instance of 'char const*'
Aborted (core dumped)
make[2]: *** [sample/CMakeFiles/export_collada_models.dir/build.make:313: ../sample/model/house/box.dae] Error 134
make[1]: *** [CMakeFiles/Makefile2:1422: sample/CMakeFiles/export_collada_models.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I noticed that openhrp3/hrplib/hrpUtil/lpng1232/png.h might be incompatible with the ubuntu 20.04's packages: libpng1.6.37-2.

Could you help me with it please?

Yuquan