PDA

View Full Version : Dll compiling errors


zlaxman22
25th June 2002, 04:17
i know im gonna get flamed for being a retard but i cant explain it.
Compiling...
AutoMove.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
Winamp.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
opengl.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
secmodule.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
snake.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
hookqueue.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
apihook.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\apihook.cpp(9 6) : error C2106: '=' : left operand must be l-value
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\apihook.cpp(1 14) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\apihook.cpp(2 28) : error C2440: '=' : cannot convert from 'unsigned long *' to 'unsigned long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\apihook.cpp(2 33) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\apihook.cpp(2 40) : error C2440: '=' : cannot convert from 'unsigned long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
bind.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(413) : error C2065: 'WM_XBUTTONDBLCLK' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(413) : error C2051: case expression not constant
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(414) : error C2065: 'WM_XBUTTONDOWN' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(414) : error C2051: case expression not constant
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(415) : error C2065: 'GET_XBUTTON_WPARAM' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(416) : error C2065: 'XBUTTON1' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(421) : error C2065: 'WM_XBUTTONUP' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(421) : error C2051: case expression not constant
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(429) : error C2065: 'GET_WHEEL_DELTA_WPARAM' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(450) : error C2065: 'MK_XBUTTON1' : undeclared identifier
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\bind.cpp(451) : error C2065: 'MK_XBUTTON2' : undeclared identifier
main.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.h(5) : fatal error C1083: Cannot open include file: 'util_vector.h': No such file or directory
aimbot.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\aimbot.cpp(38 ) : fatal error C1083: Cannot open include file: 'cl_dll.h': No such file or directory
client.cpp
C:\Documents and Settings\Gateway User\Desktop\TUTORIAL\LOADER\ogc.dll\client.cpp(53 ) : fatal error C1083: Cannot open include file: 'r_studioint.h': No such file or directory
Error executing cl.exe.



Results
thisismydll.dll - 25 error(s), 0 warning(s)



i know the first person will try to be smart and say its cuz i used the loader folder instead of the one in the dll folder, I TRIED BOTH...i tryed the one in loader after. I did everythign exactly as it sed to in tutorial, please help.

Easy_Lamer
25th June 2002, 10:43
Why this thread is moved ? , just wanna know

DarkCloud
25th June 2002, 11:47
Did you fully unzip all the DLL's and files within the zip files? It looks as if you were missing some files or perhaps that you didn't have the files in a proper place. If you dl'ed OGC v8.x+ and didn't unload all the header files, you'll mostlikely get the first few errors. Try putting the header files in the correct place and try compiling again. That should get rid of a vast majority of your errors.

o({})o
25th June 2002, 17:19
Try including all of the *.h files, regardless of whether or not they are important. It should not make a difference, but it may.

zlaxman22
25th June 2002, 18:48
include them where though? in my tutorial folder, they are there.

o({})o
25th June 2002, 19:23
no, you remember including all those *.cpp files?

do the exact same thing with the *.h files.

Angechu
28th June 2002, 21:24
Well, for starters, is this Joolz or OGC or what?

Second, if its OGC, did you read the tutorial on how to compile it? If not, read that tutorial now.

Third, if its not OGC, add all the .h files as o({})o said.

Oh yeah, telling me what version of Visual C++ ya have might help :) (.net or normal)