Skip to content

Compiling Issue on Ubuntu 16.04 #46

Open

Description

@GLinSaurus

The error is "memcpy not declared" which seems to be a common problem of Ubuntu 16.04 compatibility. I found the same error report in tensorflow, caffee and openCV.https://github.com/tensorflow/tensorflow/pull/2073 ; https://groups.google.com/forum/#!msg/caffe-users/Tm3OsZBwN9Q/XKGRKNdmBAAJ
Their solution is to add cxx_flag: "-D_FORCE_INLINES" to a specific file. However, I've no idea how to do that with Marvin.
And I can run Cuda samples, I also have verified cudnn installation. I think the dependencies are good.

Does anyone get an idea on this?

Environment:
Ubuntu 16.04
GCC v4.8.3
Cuda 7.5
cudnn v5.1

Error Report:
/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
^
marvin.hpp: At global scope:
marvin.hpp:12:17: note: #pragma message: Compiling using StorageT=half ComputeT=float
#pragma message "Compiling using StorageT=half ComputeT=float"
^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions