Erik-JS / proxy-dll-64

Proxy DLL's with ASI loader; 64-bit
MIT License
14 stars 2 forks source link

got error wen compile this source #2

Open imedox opened 2 years ago

imedox commented 2 years ago

hi, i try to compile this source with the last TDM-GCC version and got many error! wat the version of TDM-GCC to compile this source?

||=== Build: Release in winmm (compiler: GNU GCC Compiler) ===| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|4|warning: "WINVER" redefined| C:\TDM-GCC-64\x86_64-w64-mingw32\include\sdkddkver.h|181|note: this is the location of the previous definition| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|5|warning: "_WIN32_WINNT" redefined| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|4|warning: "WINVER" redefined| C:\TDM-GCC-64\x86_64-w64-mingw32\include\sdkddkver.h|181|note: this is the location of the previous definition| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.h|5|warning: "_WIN32_WINNT" redefined| C:\TDM-GCC-64\x86_64-w64-mingw32\include_mingw.h|233|note: this is the location of the previous definition| C:\TDM-GCC-64\x86_64-w64-mingw32\include_mingw.h|233|note: this is the location of the previous definition| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp||In function 'void logStart(const char*)':| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp|19|warning: this 'if' clause does not guard... [-Wmisleading-indentation]| C:\Users\ZABOUR\Desktop\proxy-dll-64-r1\sharedcode\Logging.cpp|21|note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'| relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against.bss'| relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against.bss'| relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against.bss'| relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against.bss'| relocation truncated to fit||R_X86_64_32S against .bss'| relocation truncated to fit||R_X86_64_32S against.bss'| obj\Release\winmm\main.o:main.cpp|| additional relocation overflows omitted from the output| ||error: ld returned 1 exit status| ||=== Build failed: 12 error(s), 5 warning(s) (0 minute(s), 1 second(s)) ===|

Erik-JS commented 2 years ago

Sorry for the long wait without a reply. The version I'm using is from 2015.

You can get tdm64-gcc-5.1.0-2.exe from its SourceForge page.

I'm not sure on what's causing those errors on the latest version of TDM-GCC. For now, I recommend using the old version.

imedox commented 2 years ago

thanks for replay i will try the hold one.