Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Error while building thpp #30

@kangdongh

Description

@kangdongh

when I try to install a thpp with luarocks or manually, it shows following error message.
I think that it is a sync issue related with torch...

Scanning dependencies of target thpp [ 7%] Building CXX object CMakeFiles/thpp.dir/Storage.cpp.o [ 14%] Building CXX object CMakeFiles/thpp.dir/StorageSerialization.cpp.o [ 21%] Building CXX object CMakeFiles/thpp.dir/detail/StorageDefs.cpp.o [ 28%] Building CXX object CMakeFiles/thpp.dir/TensorSerialization.cpp.o In file included from thpp/detail/TensorGeneric.h:1:0, from /home/kangdongh/torch/install/include/TH/THGenerateFloatTypes.h:10, from /home/kangdongh/torch/install/include/TH/THGenerateAllTypes.h:10, from /tmp/luarocks_fbpython-0.1-2-5251/fblualib/thpp/thpp/../thpp/detail/Tensor.h:30, from /tmp/luarocks_fbpython-0.1-2-5251/fblualib/thpp/thpp/../thpp/Tensor.h:16, from /tmp/luarocks_fbpython-0.1-2-5251/fblualib/thpp/thpp/TensorSerialization.cpp:11: /tmp/luarocks_fbpython-0.1-2-5251/fblualib/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ??static void thpp::detail::TensorOps<thpp::Tensor<float> >::_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int)??: /tmp/luarocks_fbpython-0.1-2-5251/fblualib/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ??void THFloatTensor_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)??
....

I tried installing related libraries w/ 2016.12.12 version, it also failed
Since there is no way to downgrade torch version, I give up solving this issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions