# An unhandled exceptionMicrosoft C ++ exception: c10 :: Error at memory location

**URL:** <https://discuss.pytorch.org/t/an-unhandled-exceptionmicrosoft-c-exception-c10-error-at-memory-location/82284>\
**Category:** C++\
**Created:** [May 21, 2020, 8:14am UTC](https://discuss.pytorch.org/t/an-unhandled-exceptionmicrosoft-c-exception-c10-error-at-memory-location/82284 "2020-05-21T08:14:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![eusouoandre](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/eusouoandre/32/5221_2.png) [@eusouoandre](https://discuss.pytorch.org/u/eusouoandre)\
**Post date:** [May 22, 2020, 5:12pm UTC](https://discuss.pytorch.org/t/an-unhandled-exceptionmicrosoft-c-exception-c10-error-at-memory-location/82284/7 "2020-05-22T17:12:59Z")

</div>

Just solved my “bug” trying to produce the minimal reproducible example.  
My VStudio 2019 Project was not properly configured. I was mixing libtorch 1.4 headers with 1.5 binaries 🤪 🤪 😅  
@Rem_H I recommend you copy the configuration from the cmake project created based on the minimal example [here](https://pytorch.org/cppdocs/installing.html#minimal-example) and using the x64 native Tools Command Prompt

---

_[View the full topic](https://discuss.pytorch.org/t/an-unhandled-exceptionmicrosoft-c-exception-c10-error-at-memory-location/82284)._
