Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Cmake failed to compile #1

Closed
mrsabhar opened this issue May 23, 2017 · 1 comment
Closed

Cmake failed to compile #1

mrsabhar opened this issue May 23, 2017 · 1 comment

Comments

@mrsabhar
Copy link

image

Getting error when I do "make" -
cmake -E make_directory build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make

Any help? I'm running on Ubunutu 16.04

In file included from /home/ae/Documents/clDNN/src/fully_connected.cpp:18:0:
/home/ae/Documents/clDNN/src/include/fully_connected_inst.h:50:28: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
const bool bias_term() const { return !argument.bias.empty(); }
^
cc1plus: all warnings being treated as errors
src/CMakeFiles/clDNN_shlib.dir/build.make:498: recipe for target 'src/CMakeFiles/clDNN_shlib.dir/fully_connected.cpp.o' failed
make[2]: *** [src/CMakeFiles/clDNN_shlib.dir/fully_connected.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/clDNN_shlib.dir/all' failed
make[1]: *** [src/CMakeFiles/clDNN_shlib.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
ae@hped800nuc2:~/Documents/clDNN/build$ cmake --version
cmake version 3.8.0

@tponieck
Copy link
Contributor

Hi Mrsabhar
Thank you for your input. Fix for that has been pushed with
SHA-1: 96b93d1

Thanks
Tomek

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

No branches or pull requests

2 participants