This repository was archived by the owner on Sep 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
lots of error during compilation in TensorSerialization.cpp #56
Copy link
Copy link
Open
Description
Hi all, I have problems with thrift too, so I run ./build.sh placing NOTHRIFT flag. So I've no more thrift related error. Other has appeared, that seem to be related to Torch API. I have latest torch (git clone 2 days ago and current thpp). What can I do? Any help is appreciated.
I pasted only first and last section of the error output, I'm attaching a complete log as a txt file.
THPP_compile_error.txt
inflating: googletest-release-1.7.0/xcode/gtest.xcodeproj/project.pbxproj
-- Found Torch7 in /home/francesco/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/francesco/openface/thpp/thpp/build
[ 7%] Building CXX object CMakeFiles/thpp.dir/TensorSerialization.cpp.o
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/francesco/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/francesco/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/francesco/openface/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/francesco/openface/thpp/thpp/../thpp/Tensor.h:16,
from /home/francesco/openface/thpp/thpp/TensorSerialization.cpp:11:
/home/francesco/openface/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int)’:
/home/francesco/openface/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THFloatTensor_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
[......]
CMakeFiles/thpp.dir/build.make:134: recipe for target 'CMakeFiles/thpp.dir/TensorSerialization.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/TensorSerialization.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/thpp.dir/all' failed
make[1]: *** [CMakeFiles/thpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels