Closed IAmOrion closed 2 years ago
As per title, how do I compile under windows? I'm assuming Cygwin or MinGW ? I tried MinGW but get these errors/issues...
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0xf): undefined reference to clean' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x19): undefined reference topause' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x1e): undefined reference to clean' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0xe4): undefined reference topatch_sublime4134' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0xfa): undefined reference to patch_sublime4126' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x169): undefined reference topatch_merge2074' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x185): undefined reference to patch_merge2073' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x198): undefined reference topatch_merge2068' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x19f): undefined reference to `clean'
clean' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x19): undefined reference to
clean' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0xe4): undefined reference to
patch_sublime4126' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x169): undefined reference to
patch_merge2073' c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\IAmOrion\AppData\Local\Temp\ccILmJaM.o:main.c:(.text+0x198): undefined reference to
UPDATE: I'm dumb! Just had to add #define _WIN64 to top of the file
#define _WIN64
As per title, how do I compile under windows? I'm assuming Cygwin or MinGW ? I tried MinGW but get these errors/issues...