Error Compiling

xXLordSlippyXx

Member!
Joined
Feb 14, 2004
Messages
491
Reaction score
0
Location
With the doctors
Yo, could someone please help me? I just finished my module and I went to compile it with Microsoft Visual C++ v 6.0 , and I got this error

--------------------Configuration: MyModule - Win32 Debug--------------------
Compiling...
MyModule.cpp
c:\windows\desktop\mymodule.cpp(6) : fatal error C1083: Cannot open include file: 'Source\ClientCore.cpp': No such file or directory
Error executing cl.exe.

MyModule.obj - 1 error(s), 0 warning(s)



I even tried moving all of the d2hackit sources to my desktop, this has never happened before, please help me.
 

(oolspot1

Member!
Joined
Jun 3, 2003
Messages
139
Reaction score
0
make sure you have your directories correct.
you should have your include files in folder "Source" relative to the cpp your compiling.
 
Z

zapantis

'Source\ClientCore.cpp' <----put full path name to your file
Example ::C:\Program Files\Microsoft Visual Studio\MyProjects\ClientCore.cpp
 

Korittke

Member!
Joined
Dec 30, 2002
Messages
5,993
Reaction score
0
Website
Visit site
c:\windows\desktop\Source\ClientCore.cpp

this file must be existing and valid.
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
http://www.battleforums.com/avatar.php?userid=51665&dateline=1082731096

lol I know smth funny :p


@T: if you compile your module from this location:

c:\windows\desktop\mymodule.cpp

then your d2hi source has to be located here, as korittke said:

c:\windows\desktop\Source\ClientCore.cpp

(not only that file, the whole source packet)

The cpp file must be in the same place as the "Source" folder in other words.
 

New threads

Top