SQLite Forum

Compiling amalgamation with Visual Studio 2019
Login
I am trying to compile the source code [from here<sup>1</sup>](https://sqlite.org/2021/sqlite-amalgamation-3340100.zip) using Visual Studio 2019 & I am getting the following two errors:

<b>Severity|<b>Code	|<b>Description	|<b>Project	|<b>File	|<b>Line	</b>
Error	|C1083	|Cannot open include file: 'stdlib.h': No such file or directory	|SQLite3	|shell.c	|85	
Error	|C1083	|Cannot open include file: 'malloc.h': No such file or directory	|SQLite3	|xmmintrin.h	|79

I've tried to troubleshoot this using Google search & haven't managed to overcome these two errors.

I am sure this is a VS2019 configuration issue but it might relate to the source code.

Please, could someone with insight into this specific problem help me pin-point the resolution for these two issues? Thanks.

<sup>1</sup>This is the download link with description:
```
C source code as an amalgamation, version 3.34.1.
(sha3: be0d07b08969aa775c628f214c723955c0bfe880d72c3289a1ff54ad779b15d3)
```