bushuhui / pi-cnn

High performance convolutional neural network toolbox for C++
7 stars 4 forks source link

PIL package make error #3

Open gaobingshu opened 7 years ago

gaobingshu commented 7 years ago

Hello, @bushuhui , I had followed the steps you specified, but met with PIL package make error. Build log is too large, part of it as follows:

gaobingshu@gaobingshu:~/pi-cnn/Thirdparty/PIL$ make -j8 In file included from /usr/local/include/TooN/TooN.h:353:0, from types/SIM3.h:5, from types/SIM3.cpp:1: /usr/local/include/TooN/internal/objects.h:58:26: note: template Rhs TooN::Internal::operator(TooN::Internal::One, const Rhs&) template Rhs operator(One, const Rhs& v){return v;} ///<Multiplies One by something. ^ /usr/local/include/TooN/internal/objects.h:58:26: note: template argument deduction/substitution failed: In file included from /usr/local/include/TooN/TooN.h:360:0, from types/SIM3.h:5, from types/SIM3.cpp:1: /usr/local/include/TooN/helpers.h:375:31: note: cannot convert ‘TooN::Identity’ (type ‘TooN::Operator<TooN::Internal::Identity >’) to type ‘TooN::Internal::One’ while(norm_inf(A - Identity*1.0) > 0.5){ ^ make[3]: [/home/gaobingshu/pi-cnn/Thirdparty/PIL/build/src/base/types/SIM3.o] 错误 1 make[3]:正在离开目录 `/home/gaobingshu/pi-cnn/Thirdparty/PIL/src/base' make[2]: [all] 错误 2 make[2]:正在离开目录 /home/gaobingshu/pi-cnn/Thirdparty/PIL/src/base' make[1]: *** [all] 错误 2 make[1]:正在离开目录/home/gaobingshu/pi-cnn/Thirdparty/PIL/src' make: *** [libs] 错误 2

I have installed the TooN, but it didn't work. Could you give me some advice about how to fix it?

(My system is Ubuntu 14.04 (64bit)) Thanks you very much! gaobingshu

bushuhui commented 7 years ago

You can remove SIM3 files, because PI-CNN do not use these files.