sampepose / flownet2-tf

FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
MIT License
403 stars 195 forks source link

make error #97

Open jijiangyan opened 5 years ago

jijiangyan commented 5 years ago

hello,centos7+cuda10,make error,and I don't know how to solve it. Can you help me? Thanks! /usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(96): error: invalid redeclaration of type name "__half" /usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(147): here

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(100): error: invalid redeclaration of type name "__half2" /usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(253): here

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(103): error: invalid redeclaration of type name "half" /usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2034): here

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(104): error: invalid redeclaration of type name "half2" /usr/local/cuda-10.0/bin/..//include/cuda_fp16.hpp(2035): here

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(128): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(138): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(148): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(158): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(219): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(229): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(239): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(249): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(303): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(313): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(323): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(333): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(385): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(395): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(405): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(415): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(470): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(481): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(491): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(501): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(556): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(567): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(577): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(587): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(641): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(651): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(661): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(671): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(771): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(785): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(799): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(968): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(978): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1955): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1961): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1967): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(1973): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2004): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2010): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2016): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2022): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2053): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2059): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2065): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2071): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2102): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2108): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2114): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2120): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2151): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2157): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2163): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2169): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2200): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2206): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2212): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2218): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2305): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2311): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2317): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2323): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2335): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2343): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2352): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2354): error: no suitable user-defined conversion from "half2" to "half2" exists

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2461): error: cannot overload functions distinguished by return type alone

/usr/local/cuda-10.0/../cuda/include/cuda_fp16.h(2467): error: cannot overload functions distinguished by return type alone

74 errors detected in the compilation of "/tmp/tmpxft_00000978_00000000-6_data_augmentation.cu.cpp1.ii".