Skip to content
This repository has been 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

Open
PyJulie opened this issue Aug 17, 2017 · 4 comments
Open

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

PyJulie opened this issue Aug 17, 2017 · 4 comments

Comments

@PyJulie
Copy link

PyJulie commented Aug 17, 2017

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

@abaheti95
Copy link

Any progress on this issue?

@LiangHao92
Copy link

Have you get throught it?

@abaheti95
Copy link

abaheti95 commented Nov 23, 2017

I'm getting the exact same error. It gives weird compilation errors. Multiple other threads have posted the same or similar compilation error issues.

@k22jung
Copy link

k22jung commented Feb 20, 2018

See #42. I had to manually make the changes of their commits because the merge request didn't go through yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants