db_tutorial icon indicating copy to clipboard operation
db_tutorial copied to clipboard

Could not get the code compiled...

Open Balachandar-Ganesan opened this issue 3 years ago • 2 comments

  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.

Balachandar-Ganesan avatar Nov 24 '22 12:11 Balachandar-Ganesan

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.

WhitewaterDave avatar Dec 07 '22 05:12 WhitewaterDave

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

gaifanking avatar Feb 27 '23 09:02 gaifanking