carlos-montiers / enhancedbatch

Enhances your windows command prompt https://www.enhancedbatch.com
Other
5 stars 1 forks source link

Compile error #24

Closed lazna closed 4 years ago

lazna commented 4 years ago

Just download a fresh version, unzip, load 'compile.cmd' and got lots of errors. What am I doing wrong?

C:\Users\lazna\AppData\Local\Temp\cckCM9Ds.o:dll_enhancedbatch.c:(.text+0x1844): undefined reference to `sbprintf'
C:\Users\lazna\AppData\Local\Temp\cckCM9Ds.o:dll_enhancedbatch.c:(.text+0x1876): undefined reference to `sbprintf'
[...]
C:\Users\lazna\AppData\Local\Temp\ccDd388I.o:patch.c:(.text+0x1a7f): undefined reference to `WriteMemory'
C:\Users\lazna\AppData\Local\Temp\ccDd388I.o:patch.c:(.text+0x1aa2): more undefined references to `WriteMemory' follow
collect2.exe: error: ld returned 1 exit status
adoxa commented 4 years ago

compile.cmd is no longer used, use mingw32-make instead.

lazna commented 4 years ago

Thanks, but is it somewhere documented? I am never used mingw before...

adoxa commented 4 years ago

No, it's another one of those things that you're just assumed to know - there's a makefile, so you type make (or mingw32-make).

lazna commented 4 years ago

Wrong assumption, but nevermind: It does working now ;-)