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

Compiling Issue on Ubuntu 16.04 #46

Open
GLinSaurus opened this issue Nov 4, 2016 · 0 comments
Open

Compiling Issue on Ubuntu 16.04 #46

GLinSaurus opened this issue Nov 4, 2016 · 0 comments

Comments

@GLinSaurus
Copy link

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"
^

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

1 participant