I've got some problems with tutorial 16.When I tried to build up solution I get fuck load of warmings and
errors.For example o cmath library I got problem with this staff:
using _CSTD acosf; using _CSTD asinf;
using _CSTD atanf; using _CSTD atan2f; using _CSTD ceilf;
using _CSTD cosf; using _CSTD coshf; using _CSTD expf;
using _CSTD fabsf; using _CSTD floorf; using _CSTD fmodf;
using _CSTD frexpf; using _CSTD ldexpf; using _CSTD logf;
using _CSTD log10f; using _CSTD modff; using _CSTD powf;
using _CSTD sinf; using _CSTD sinhf; using _CSTD sqrtf;
using _CSTD tanf[/color]; using _CSTD tanhf[/color];
Compiler says it is E0282 problem in this case.
Tutorial16
Re: Tutorial16
If you are using Visual Studio 2017, I suggest to take a look at the following:
https://stackoverflow.com/questions/427 ... rd-headers
It may provide the answer or at least a clue.
https://stackoverflow.com/questions/427 ... rd-headers
It may provide the answer or at least a clue.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Tutorial16
Here's a problem I had and reported to Microsoft: Win API conflicts with C++17 and WinSDKs higher than 8.1
This isn't always the case. The conditions that caused it to show constexpr errors and macro redefinitions from other Windows API files were;
This isn't always the case. The conditions that caused it to show constexpr errors and macro redefinitions from other Windows API files were;
- setting the language standard to C++17 or latest standard
- setting the SDK to anything higher than WinSDK 8.1
- including the wincodec.h file which is used for the Windows Imaging Component library
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: Tutorial16
Sometimes, although they can be annoying, workarounds or wrappers can be a good learning experience.
Curiosity killed the cat, satisfaction brought him back