SQLite Forum

Makefile.msc build : unresolved external symbol _guard_dispatch_icall
Login

Makefile.msc build : unresolved external symbol _guard_dispatch_icall

(1) By lhksoft on 2022-01-06 13:07:47 [source]

When compiling/linking using the make file for MSVS, an error occures saying : "unresolved external symbol _guard_dispatch_icall".

After research I figured out that the make-file should be modified, the option /guard:cf was preset for the linker, but should also be used when compiling.

So, search for the line <TCC = $(TCC) $(OPTS)> and change it to <TCC = $(TCC) $(OPTS) /guard:cf>

As I allready said, this allready is defined under the linker options, but according Microsoft, you also need to put this option with the compiler. If you have done so, the make file operates without furter problems.

My config : MSVS 2022 Community, x64 build

kind regards, lhksoft