On 6 August 2018 at 13:22, Ben Coman <btc@openinworld.com> wrote:
> and ends up with 4 link errors (and 6600 warnings)
> Pharo.exe LNK1120 - 1 unresolved external
> Pharow.exe LNK1120 - 1unresolved external
> sqMain.c.obj LNK2019 - unresolved external symbol _imp_osvm_main��referenced in function main
> sqWin32Main.c.obj LNK2019 - unresolved external symbol _imp_osvm_main referenced in function WinMain
So the following change to sqMain.c fixes the link error...�� ����#define BUILD_VM_CORE�� �� #include "OpenSmalltalkVM.h"�� �� int�� �� main(int argc, const char **argv)�� �� {�� �� �� �� return osvm_main(argc, argv);�� �� }and similar for sqWin32Main.c.