PacktPublishing / Vulkan-Cookbook

Code repository for Vulkan Cookbook by Packt
MIT License
816 stars 109 forks source link

Missing header file ? #4

Closed Sebultura closed 7 years ago

Sebultura commented 7 years ago

Trying to compile the source on my computer (Visual Studio 13 Community + Windows 10), I had to add: #include <memory> to the /Library/Source Files/10 Helper Recipes/06 Loading texture data from a file.cpp file (for unique_ptr).

Ekzuzy commented 7 years ago

I wonder why Visual Studio 2015 didn't complain about the lack of this header file. I didn't have any problems with compilation using gcc neither. But You're right that this file users needed. Common.h is a better file too include it, though. Thanks for the info!

Sebultura commented 7 years ago

You're welcome ;) I will try to see if I find other things around (just bought the book yesterday, nice job!)

Ekzuzy commented 7 years ago

Thanks once again! Both for Your help and for showing Your support by buying my book!