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

build failing on linux 16.04 #14

Open
nateGeorge opened this issue Oct 27, 2016 · 4 comments
Open

build failing on linux 16.04 #14

nateGeorge opened this issue Oct 27, 2016 · 4 comments

Comments

@nateGeorge
Copy link

I'm not sure what's happening, but after doing cmake in the build dir, and executing make -j4 it gave me:

make -j4
Scanning dependencies of target eyeLike
[ 20%] Building CXX object src/CMakeFiles/eyeLike.dir/findEyeCenter.cpp.o
[ 40%] Building CXX object src/CMakeFiles/eyeLike.dir/findEyeCorner.cpp.o
[ 60%] Building CXX object src/CMakeFiles/eyeLike.dir/main.cpp.o
[ 80%] Building CXX object src/CMakeFiles/eyeLike.dir/helpers.cpp.o
[100%] Linking CXX executable ../bin/eyeLike
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_unparse_lower@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
src/CMakeFiles/eyeLike.dir/build.make:212: recipe for target 'bin/eyeLike' failed
make[2]: *** [bin/eyeLike] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/eyeLike.dir/all' failed
make[1]: *** [src/CMakeFiles/eyeLike.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Then, I tried again with make (and make -j4 again) and it gave me:

make -j4
[ 20%] Linking CXX executable ../bin/eyeLike
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_unparse_lower@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
src/CMakeFiles/eyeLike.dir/build.make:212: recipe for target 'bin/eyeLike' failed
make[2]: *** [bin/eyeLike] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/eyeLike.dir/all' failed
make[1]: *** [src/CMakeFiles/eyeLike.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Haven't been able to solve the problem with googling. Also tried doing make clean and rebuilding with cmake, same problem twice.

@trishume
Copy link
Owner

Not sure I can help much, this is a problem with some dependency of OpenCV which I've never heard of. I have no idea what's causing this. What distro are you on? Which opencv version are you using? Try googling the error a bit. I saw some suggestions to install things like uuid-dev

@nateGeorge
Copy link
Author

Thanks. Tried installing uuid-dev, uuidcdef, didn't help. Checked apt-cache for packages with uuid, found a lot:

golang-github-pborman-uuid-dev - Go bindings to work with UUIDs
golang-uuid-dev - Transitional package for golang-github-pborman-uuid-dev
jasper - Configure a preinstalled ext2/3 system image
libblkid-dev - block device ID library - headers and static libraries
libblkid1 - block device ID library
libuuid-perl - Perl extension for using UUID interfaces as defined in e2fsprogs
libuuid1 - Universally Unique ID library
postgresql-contrib-9.5 - additional facilities for PostgreSQL
uuid-dev - Universally Unique ID library - headers and static libraries
uuid-runtime - runtime components for the Universally Unique ID library
uuidcdef - Universally Unique Identifier (UUID) generator
atomicparsley - read, parse and set metadata of MPEG-4 and 3gp files
cl-uuid - Common Lisp librabry for generation of UUIDs as described by RFC 4122
collectd-core - statistics collection and monitoring daemon (core system)
erlang-uuid - UUID generator for Erlang
golang-github-nu7hatch-gouuid-dev - pure Go UUID implementation as specified in RFC 4122
kamailio-extra-modules - extra modules for Kamailio
libcrossguid-dev - C++ UUID library headers
libcrossguid0 - C++ UUID library
libdata-uuid-libuuid-perl - uuid.h based UUID generation module
libdata-uuid-perl - globally/universally unique identifiers (GUIDs/UUIDs)
libdbix-class-uuidcolumns-perl - Implicit uuid columns
libghc-uuid-dev - create, compare, parse and print Universally Unique Identifiers
libghc-uuid-doc - create, compare, parse and print UUIDs; documentation
libghc-uuid-prof - create, compare, parse and print UUIDs; profiling libraries
libghc-uuid-types-dev - Type definitions for Universally Unique Identifiers
libghc-uuid-types-doc - Type definitions for Universally Unique Identifiers; documentation
libghc-uuid-types-prof - Type definitions for Universally Unique Identifiers; profiling libraries
libguestfs0 - guest disk image management system - shared library
libjs-node-uuid - simple, fast generation of RFC4122 UUIDs - JavaScript library
libjug-java - Pure java UUID generator
libjug-java-doc - Pure java UUID generator (API documentation)
libossp-uuid-dev - OSSP uuid ISO-C and C++ - headers and static libraries
libossp-uuid-perl - perl OSSP::UUID - OSSP uuid Perl Binding
libossp-uuid16 - OSSP uuid ISO-C and C++ - shared library
libtypes-uuid-perl - type constraints for UUIDs
libuuid-tiny-perl - pure Perl module to generate v1, v3, v4, and v5 UUIDs
libuuidm-ocaml-dev - Universally unique identifiers for OCaml
node-backbone - some Backbone for JavaScript applications - Node module
node-node-uuid - simple, fast generation of RFC4122 UUIDs - Node module
php-uuid - PHP UUID extension
python-django-shortuuidfield - Short UUIDField for Django
python-shortuuid - generates concise, unambiguous, URL-safe UUIDs
python3-django-shortuuidfield - Short UUIDField for Django for Python 3
python3-shortuuid - generates concise, unambiguous, URL-safe UUIDs for Python3
ros-cmake-modules - Robot OS CMake Modules
ruby-macaddr - library to read system mac address
ruby-uuid - UUID generator for Ruby
ruby-uuidtools - UUIDs generation library for Ruby
ruby-uuidtools-doc - UUIDs generation library for Ruby - documentation
tcllib - Standard Tcl Library
uuid - Universally Unique Identifier Command-Line Tool
virt-viewer - Displaying the graphical console of a virtual machine
ros-hydro-uuid-msgs - ROS messages for universally unique identifiers.

@Abdul-Mukit
Copy link

@nateGeorge were you able to solve the problem?
How did you solve it?

@nateGeorge
Copy link
Author

No, couldn't solve it as far as I remember.

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

3 participants