Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling this lib #1

Open
fabianoriccardi opened this issue Jan 17, 2021 · 3 comments
Open

Compiling this lib #1

fabianoriccardi opened this issue Jan 17, 2021 · 3 comments

Comments

@fabianoriccardi
Copy link

Hi irwin,
if I try to compile this library in VC2019 I get the following error:

The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

However If I retarget solution to v142, I get the following error:

'int_fast16_t': redefinition; different basic types cximage C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\include\stdint.h 37

Did you found this problems too? How did you solved?

@irwir
Copy link
Owner

irwir commented Jan 18, 2021

Hi @fabiuz7
Removing library's sdint.h files should help to compile.

Hi irwin,

Who is irwin?

@fabianoriccardi
Copy link
Author

fabianoriccardi commented Jan 18, 2021

Who is irwin?

I meant irwir, I misspelled your name, sorry!

Thanks for the answer. In Platform Toolset I have three options: v142, v141 and v141_xp. I tried all them, but only v141_xp worked. Which do you use?

EDIT: I messed up something, so I redownloaded the v7.02 Lite and now it compiles against v142.

@fabianoriccardi
Copy link
Author

Another question: which Window SDK version do you use? By default VS set "latest version".
img2021-01-18 220339

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

No branches or pull requests

2 participants