Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libffi Error - RGB-B build not generated #97

Open
vinay06vinay opened this issue Dec 9, 2023 · 1 comment
Open

Libffi Error - RGB-B build not generated #97

vinay06vinay opened this issue Dec 9, 2023 · 1 comment

Comments

@vinay06vinay
Copy link

Hello, Can anyone help with error below. ./build.sh is building the successfully but the dataset build/make files not generated due to below error

/usr/bin/ld: /lib/x86_64-/linux-gnuusr//libgobjectbin-/2.0.so.0ld:: undefined/ libreference/ x86_64to- /linux-usrffi_type_uint32/gnu@bin/LIBFFI_BASE_7.0/libgobject'ld- :2.0.so.0/ :usr/ /libundefinedbin/ /x86_64referenceld- :linuxto - /gnulib/ffi_type_uint32/libgobject@x86_64-LIBFFI_BASE_7.0-2.0.so.0'linux:

  • /gnuundefinedusr/ /libgobjectreferencebin- /2.0.so.0told: : ` undefinedffi_type_uint32/ @libreferenceLIBFFI_BASE_7.0/ 'x86_64to
  • /linuxusr-ffi_type_sint32/gnu@bin/LIBFFI_BASE_7.0/libgobject'ld- :2.0.so.0/ :usr/ /libundefinedbin/ /x86_64referenceld- :linuxto - /gnulib/ffi_type_sint32/libgobject@x86_64-LIBFFI_BASE_7.0-2.0.so.0'linux:
  • /gnuundefinedusr/ /libgobjectreferencebin- /2.0.so.0told: : ` undefinedffi_type_sint32/ @libreferenceLIBFFI_BASE_7.0/ 'x86_64to
  • /linuxusr-ffi_type_float/gnu@bin/LIBFFI_BASE_7.0/libgobject'ld- :2.0.so.0/ :usr/ /libundefinedbin/ /x86_64referenceld- :linuxto - /gnulib/ffi_type_float/libgobject@x86_64-LIBFFI_BASE_7.0-2.0.so.0'linux:
  • /gnuundefinedusr/ /libgobjectreferencebin- /2.0.so.0told: : ` undefinedffi_type_float/ @libreferenceLIBFFI_BASE_7.0/ 'x86_64to
  • /linuxusr-ffi_type_pointer/gnu@bin/LIBFFI_BASE_7.0/libgobject'ld- :2.0.so.0/ :usr/ /libundefinedbin/ /x86_64referenceld- :linuxto - /gnulib/ffi_type_pointer/libgobject@x86_64-LIBFFI_BASE_7.0-2.0.so.0'linux:
  • /gnuundefinedusr/ /libgobjectreferencebin- /2.0.so.0told: : / undefinedffi_type_pointer/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_type_uint64/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0-/ :linuxusr/ -/libundefinedgnubin/ //x86_64referencelibgobjectld- -:linuxto2.0.so.0 - :/gnu lib/ffi_type_uint64undefined/libgobject@ x86_64-LIBFFI_BASE_7.0reference-2.0.so.0' linux: to- / gnuundefinedusr/ /ffi_type_uint32libgobjectreferencebin@- /LIBFFI_BASE_7.02.0.so.0told': :
    /undefinedffi_type_uint64/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_type_void/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0-/ :linuxusr/ -/libundefinedgnubin/ //x86_64referencelibgobjectld- -:linuxto2.0.so.0 - :/gnu lib/ffi_type_voidundefined/libgobject@ x86_64-LIBFFI_BASE_7.0reference-2.0.so.0' linux: to- / gnuundefinedusr/ /ffi_type_sint32libgobjectreferencebin@- /LIBFFI_BASE_7.02.0.so.0told': :
    /undefinedffi_type_void/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_type_double/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0-/ :linuxusr/ -/libundefinedgnubin/ //x86_64referencelibgobjectld- -:linuxto2.0.so.0 - :/gnu lib/ffi_type_doubleundefined/libgobject@ x86_64-LIBFFI_BASE_7.0reference-2.0.so.0' linux: to- / gnuundefinedusr/ /ffi_type_floatlibgobjectreferencebin@- /LIBFFI_BASE_7.02.0.so.0told': :
    /undefinedffi_type_double/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_type_sint64/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0-/ :linuxusr/ -/libundefinedgnubin/ //x86_64referencelibgobjectld- -:linuxto2.0.so.0 - :/gnu lib/ffi_type_sint64undefined/libgobject@ x86_64-LIBFFI_BASE_7.0reference-2.0.so.0' linux: to- / gnuundefinedusr/ /ffi_type_pointerlibgobjectreferencebin@- /LIBFFI_BASE_7.02.0.so.0told': :
    /undefinedffi_type_sint64/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_prep_cif/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0-/ :linuxusr/ -/libundefinedgnubin/ //x86_64referencelibgobjectld- -:linuxto2.0.so.0 - :/gnu lib/ffi_prep_cifundefined/libgobject@ x86_64-LIBFFI_BASE_7.0reference-2.0.so.0' linux: to- / gnuundefinedusr/ /ffi_type_uint64libgobjectreferencebin@- /LIBFFI_BASE_7.02.0.so.0told': :
    /undefinedffi_prep_cif/usr @lib/referenceLIBFFI_BASE_7.0/bin 'x86_64/to -ld /linux:usr- ffi_call/gnu/@bin/libLIBFFI_BASE_7.0/libgobject/'ld-x86_64
    :2.0.so.0- :linux/ -libundefinedgnu/ /x86_64referencelibgobject- -linuxto2.0.so.0- :gnu /ffi_callundefinedlibgobject@ -LIBFFI_BASE_7.0reference2.0.so.0' : to undefined ffi_type_voidreference@ LIBFFI_BASE_7.0to'
    /ffi_callusr@/LIBFFI_BASE_7.0bin'/ ld: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined reference to ffi_type_double@LIBFFI_BASE_7.0'
    /usr/bin/ld: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined reference to ffi_type_sint64@LIBFFI_BASE_7.0' /usr/bin/ld: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined reference to ffi_prep_cif@LIBFFI_BASE_7.0'
    /usr/bin/ld: /lib/x86_64-linux-gnu/libgobject-2.0.so.0: undefined reference to `ffi_call@LIBFFI_BASE_7.0'
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/rgbd_tum.dir/build.make:176: /home/vinay/Documents/809k_project/DynaSLAM/Examples/RGB-D/rgbd_tum] Error 1
    make[2]: *** [CMakeFiles/stereo_kitti.dir/build.make:176: /home/vinay/Documents/809k_project/DynaSLAM/Examples/Stereo/stereo_kitti] Error 1
    make[2]: *** [CMakeFiles/mono_kitti.dir/build.make:176: /home/vinay/Documents/809k_project/DynaSLAM/Examples/Monocular/mono_kitti] Error 1
    make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/rgbd_tum.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/stereo_kitti.dir/all] Error 2
    make[2]: *** [CMakeFiles/mono_tum.dir/build.make:176: /home/vinay/Documents/809k_project/DynaSLAM/Examples/Monocular/mono_tum] Error 1
    make[1]: *** [CMakeFiles/Makefile2:195: CMakeFiles/mono_kitti.dir/all] Error 2
    make[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/mono_tum.dir/all] Error 2
    make: *** [Makefile:91: all] Error 2
@Juizai
Copy link

Juizai commented Sep 20, 2024

sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 ${your_envs}/lib/libffi.so.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants