Weird Compilation errors & Failed Build

Hello guys, first of all i would like to thank ANYONE that will spend his time in order to help me out.

Now to the point, i found this source for Visual Studio 2013 that produces a .dll.

I tried to make it work with Visual Studio 2015 but i failed.
Then i tried to compile it using Visual Studio 2013 which should work, but seems to have errors that i have no way to fix and stops the compilation.

Below is the logfile that shows the errors, and I 'll post the source via dropbox on the bottom of the thread for those who would like to check out and help me out..

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Build started 9/2/2016 11:06:26 πμ.
     1>Project "C:\Users\User\Desktop\cohibahook\Cohibahook\Cohibahook.vcxproj" on node 2 (Build target(s)).
     1>ClCompile:
         C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt CAimbot.cpp CAntiaim.cpp CDraw.cpp CGameEventManager.cpp CSpread.cpp FrameStage.cpp checksum_crc.cpp Client.cpp CMath.cpp CGlowObjectManager.cpp CDebugOverlay.cpp CConsole.cpp Counter.cpp KeyEvent.cpp MD5.cpp netvars.cpp Panel.cpp CValve.cpp main.cpp RunCommandHook.cpp Utils.cpp
         Utils.cpp
         RunCommandHook.cpp
         main.cpp
         CValve.cpp
         Panel.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\panel.cpp(11): warning C4409: illegal instruction size
     1>c:\users\user\desktop\cohibahook\cohibahook\panel.cpp(12): warning C4409: illegal instruction size
     1>c:\users\user\desktop\cohibahook\cohibahook\panel.cpp(55): warning C4244: 'argument' : conversion from 'INT' to 'float', possible loss of data
         netvars.cpp
         MD5.cpp
         KeyEvent.cpp
         Counter.cpp
         CConsole.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\cconsole.cpp(51): warning C4018: '<' : signed/unsigned mismatch
     1>c:\users\user\desktop\cohibahook\cohibahook\cconsole.cpp(82): warning C4018: '<' : signed/unsigned mismatch
     1>c:\users\user\desktop\cohibahook\cohibahook\cconsole.cpp(133): warning C4018: '<' : signed/unsigned mismatch
     1>c:\users\user\desktop\cohibahook\cohibahook\cconsole.cpp(191): warning C4805: '==' : unsafe mix of type 'BOOL' and type 'bool' in operation
     1>c:\users\user\desktop\cohibahook\cohibahook\cconsole.cpp(278): warning C4018: '<' : signed/unsigned mismatch
         CDebugOverlay.cpp
         CGlowObjectManager.cpp
         CMath.cpp
         Client.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\client.cpp(119): warning C4409: illegal instruction size
     1>c:\users\user\desktop\cohibahook\cohibahook\client.cpp(140): warning C4409: illegal instruction size
         checksum_crc.cpp
         FrameStage.cpp
         CSpread.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\cspread.cpp(94): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
         CGameEventManager.cpp
         CDraw.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(56): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(57): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(58): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(59): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(86): warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(175): warning C4244: 'argument' : conversion from 'int' to 'float', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(198): warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data
     1>c:\users\user\desktop\cohibahook\cohibahook\cdraw.cpp(257): warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
         CAntiaim.cpp
         Generating Code...
     1>c:\users\user\desktop\cohibahook\cohibahook\vector.h(258): error C4716: 'Vector::NormalizeInPlace' : must return a value
         Compiling...
         CAimbot.cpp
     1>c:\users\user\desktop\cohibahook\cohibahook\caimbot.cpp(189): warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
         Generating Code...
     1>c:\users\user\desktop\cohibahook\cohibahook\vector.h(258): error C4716: 'Vector::NormalizeInPlace' : must return a value
     1>Done Building Project "C:\Users\User\Desktop\cohibahook\Cohibahook\Cohibahook.vcxproj" (Build target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:00:15.72


DropBox Link for the source: https://www.dropbox.com/s/3yd0lyt65vcj9o4/Cohibahook.rar
Last edited on
bump, thread updated
Topic archived. No new replies allowed.