Compiling C Code
When compiling the C-code it is necessary to include the files tqroot.h and tc_data_defs.h, therefore the path to where these files are located must be specified.
Windows: Visual Studio 2019
C programs linked with TQ in Windows, must use release libraries (/MT or /MD) due to clashes in the memory allocation routines causing the global minimization procedure to fail if debug libraries are used.

Compiler flags:
/DWIN32
/DWIN64
/I..\tq\C\include
Example:
cl /c /DWIN32 /DWIN64 /I..\tq\C\include tqex01.c
link /OUT:tqex01.exe tqex01.obj libtq-win-x64-<libraryversion>.lib
Linux: GNU compiler version 9.4

Compiler flags:
-I../tq/C/include
Example:
gcc –c -I../tq/C/include tqex01.c
gcc –o tqex01 tqex01.o libtq-linux-x86_64-gfortran-<libraryversion>.so