pytorch / cppdocs

PyTorch C++ API Documentation
https://pytorch.org/cppdocs
206 stars 33 forks source link

Macro error while installing Libtorch with cmake of a different package #5

Open sangeeta-yadav-iisc opened 5 years ago

sangeeta-yadav-iisc commented 5 years ago

I am having a package with its own cmake. I am trying to link the libraries of libtorch with it. But after successful cmake, following error occured Error: macro "Error" passed 4 arguments, but takes just 1 AT_ASSERT(impl == nullptr || impl->type() == device.type()); ^