Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

I'm trying to build "thpp",but had a complier error #47

@PyJulie

Description

@PyJulie

the steps on my Ubuntu 16.04 with cmake 3.9:
1.cd thpp
2.mkdir build
3.cd build
4.cmake ..
and everything is ok
but when it comes to 'make'

the source in the file /detail/TensorGeneric.h
error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);

Why a void function could return something like this? What did I do anything wrong?
Hope to get answer,thanks
2017-08-17 19-04-11

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