[Ctk-developers] [GitHub] Inform the user that the UUID package must be installed [commontk/CTK GH-3]
Patrick Cheng
cheng at isis.georgetown.edu
Mon Jun 14 18:59:18 UTC 2010
I checked in a fix for this.
CHECK_INCLUDE_FILES(uuid.h HAVE_UUID_H)
IF(NOT HAS_UUID_H)
MESSAGE( FATAL_ERROR "This package requires uuid-dev.")
ENDIF()
On 6/14/2010 4:57 AM, GitHub wrote:
> commontk reported an issue:
>
>
>
> When compiling, I got the following errors:
>
> In file included from /home/julien/work/git/CTK/Utilities/ZMQ/uuid.cpp:21:
> /home/julien/work/git/CTK/Utilities/ZMQ/uuid.hpp:67: error: ‘uuid_t’ in namespace ‘::’ does not name a type /home/julien/work/git/CTK/Utilities/ZMQ/uuid.cpp: In constructor ‘zmq::uuid_t::uuid_t()’: /home/julien/work/git/CTK/Utilities/ZMQ/uuid.cpp:80: error: ‘uuid’ was not declared in this scope /home/julien/work/git/CTK/Utilities/ZMQ/uuid.cpp:80: error: ‘uuid_generate’ was not declared in this scope /home/julien/work/git/CTK/Utilities/ZMQ/uuid.cpp:81: error: ‘uuid_unparse’ was not declared in this scope
>
> The uuid-devel package was missing, it needed to be installed. How about checking if the uuid.h file exists at configuration time instead of compile time ?
>
>
> View Issue: http://github.com/commontk/CTK/issues#issue/3
>
>
More information about the Ctk-developers
mailing list