cstack / db_tutorial

Writing a sqlite clone from scratch in C
https://cstack.github.io/db_tutorial
MIT License
9.56k stars 968 forks source link

Could not get the code compiled... #92

Open Balachandar-Ganesan opened 1 year ago

Balachandar-Ganesan commented 1 year ago
  1. using TDM-GCC 9.2.0 could not get code on page 1 compiled at all.. I am using Embarcadero Dev C++. Which compiler or IDE recommended for compiling and running the code.
WhitewaterDave commented 1 year ago

GCC didn't work for me either. I used clang on Linux. It's available for Windows, but you'll need to build it. The website is https://clang.llvm.org/get_started.html When installed, run: clang db.c -o db It should build without errors.

gaifanking commented 1 year ago

using wsl is a good way, just type 'make' and it works