Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob bob
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bobbob
  • Issues
  • #194
Closed
Open
Issue created Sep 29, 2014 by André Anjos@andre.anjos💬Owner

Error at compiling bob 1.2.x

Created by: eamost

Since I would like to reproduce results of PAMI 2013 paper (Scalable PLDA).I need to compile bob 1.2 version as Laurent said.

My opeating system is Linux Mageia 4.11. I compile boost libarary version 1.56.0 and giflib version 5.1.0

I got this error /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:28:0, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/filesystem/path.hpp:29, from /usr/include/boost/filesystem.hpp:16, from /home/eamost01/PLDA_PAMI_2013/bob-1.2.0/src/io/cxx/ImageGifFile.cc:23: /usr/include/boost/smart_ptr/detail/shared_count.hpp: In instantiation of ‘boost::detail::shared_count::shared_count(P, D) [with P = GifFileType*; D = int ()(GifFileType, int*)]’: /usr/include/boost/smart_ptr/shared_ptr.hpp:358:76: required from ‘boost::shared_ptr::shared_ptr(Y*, D) [with Y = GifFileType; D = int ()(GifFileType, int*); T = GifFileType]’ /home/eamost01/PLDA_PAMI_2013/bob-1.2.0/src/io/cxx/ImageGifFile.cc:306:58: required from here /usr/include/boost/smart_ptr/detail/shared_count.hpp:171:9: error: too few arguments to function d(p); // delete p ^ In file included from /usr/include/boost/smart_ptr/detail/shared_count.hpp:30:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:28, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/filesystem/path.hpp:29, from /usr/include/boost/filesystem.hpp:16, from /home/eamost01/PLDA_PAMI_2013/bob-1.2.0/src/io/cxx/ImageGifFile.cc:23: /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp: In instantiation of ‘void boost::detail::sp_counted_impl_pd<P, D>::dispose() [with P = GifFileType*; D = int ()(GifFileType, int*)]’: /home/eamost01/PLDA_PAMI_2013/bob-1.2.0/src/io/cxx/ImageGifFile.cc:708:48: required from here /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:153:9: error: too few arguments to function del( ptr ); ^ /home/eamost01/PLDA_PAMI_2013/bob-1.2.0/src/io/cxx/ImageGifFile.cc:708:13: warning: ‘codec_registered’ defined but not used [-Wunused-variable] static bool codec_registered = register_codec(); ^ src/io/cxx/CMakeFiles/bob_io.dir/build.make:540: recipe for target 'src/io/cxx/CMakeFiles/bob_io.dir/ImageGifFile.cc.o' failed make[2]: *** [src/io/cxx/CMakeFiles/bob_io.dir/ImageGifFile.cc.o] Error 1 CMakeFiles/Makefile2:696: recipe for target 'src/io/cxx/CMakeFiles/bob_io.dir/all' failed make[1]: *** [src/io/cxx/CMakeFiles/bob_io.dir/all] Error 2

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Second, I uninstall giflib 5.1.0 then install giflib 4.2.0 I got this error message /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ../../../lib64/libbob_io.so: undefined reference to MakeMapObject' ../../../lib64/libbob_io.so: undefined reference to FreeMapObject' collect2: error: ld returned 1 exit status src/io/cxx/CMakeFiles/test_bob_io_image_codec.dir/build.make:102: recipe for target 'bin/test_bob_io_image_codec' failed make[2]: *** [bin/test_bob_io_image_codec] Error 1 CMakeFiles/Makefile2:765: recipe for target 'src/io/cxx/CMakeFiles/test_bob_io_image_codec.dir/all' failed

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Third,

I succed in compling bob (master version) with gitlib 5.1.0 and boost 1.56. Unfortunately, I can not use with xbob.pami.2013

Thanks

Eslam

Assignee
Assign to
Time tracking