Page 1 of 1

two Errors

Posted: Fri May 20, 2005 8:02 am
by w0sh|Mu
C:\anope-1.7.9\src\modules

cl /LD /MD /D MODULE_COMPILE /nologo /D USE_ENCRYPTION /D ENCRYPT_MD5
/O2 /MD /I"../include" /I"../../include" cs_appendtopic.c /link ../anope.lib ws
ock32.lib wsock32.lib advapi32.lib /NODEFAULTLIB:libcmtd.lib /LIBPATH:"C:\Progra
m Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Lib" /LIBPATH:"C:\Prog
ram Files\Microsoft Visual Studio .NET 2003\VC7\Lib" /export:AnopeInit /export:
AnopeFini
cs_appendtopic.c
LINK : fatal error LNK1181: cannot open input file '../anope.lib'
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

===============================================


C:\Anope1.6.17

operserv.c
operserv.c
cl /nologo /D USE_ENCRYPTION /D ENCRYPT_MD5 /O2 /MD /I"../include"
sessions.c
sessions.c
rc /l 0x409 /fowin32.res win32.rc
'rc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

-------------------------------------------------------------------------------

hmm??? =\

Posted: Fri May 20, 2005 8:35 pm
by heinz
Download all the files it tells you to.

See docs/WIN32.txt for information on compiling Anope for Windows.

Posted: Sat May 21, 2005 3:01 am
by w0sh|Mu
i did download all the files....it give me problem like

I will now check you have all the things I need...
I found a copy of Microsoft Visual Studio .NET 2003..
I couldn't seem to find wsock32.lib.. We kind of need this..
I couldn't find any of the paths I was looking for..
If you have installed the Visual C++ Libraries in a non-standard location, enter

this location below, and I will try and look there..
(NOTE: Do NOT enter a trailing slash

Posted: Sat May 21, 2005 12:06 pm
by heinz
The automatic config won't work with the Platform SDK for the time being, you'll need to edit Makefile.inc.win32 manually.

Change the LIBPATH line to contain where the .lib files are located on your computer.

Alternatively, wait for the next release, which will fix this issue.

Posted: Sat May 21, 2005 12:53 pm
by w0sh|Mu
cl /LD /MD /D MODULE_COMPILE /nologo /O2 /MD /I"../include" /I"../../i
nclude" ns_reg1userperemail.c /link ../anope.lib wsock32.lib wsock32.lib advapi
32.lib /NODEFAULTLIB:libcmtd.lib /LIBPATH:"C:\Program Files\Microsoft Visual Stu
dio .NET 2003\Vc7\PlatformSDK\Lib" /LIBPATH:"C:\Program Files\Microsoft Visual S
tudio .NET 2003\VC7\Lib" /export:AnopeInit /export:AnopeFini
ns_reg1userperemail.c
../../include\windows.h(161) : fatal error C1083: Cannot open include file: 'win
def.h': No such file or directory
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

When Compiling Modules


it gave me tis error

Posted: Sat May 21, 2005 12:56 pm
by heinz
Have you actually read the instructions, and launched the Microsoft Visual C++ Command Prompt, or just a normal command prompt?

You need the environment variables setup to contain PATH's to the header files, which won't be present if you launch a normal command prompt window.

Posted: Sat May 21, 2005 5:22 pm
by w0sh|Mu
yes i did use the visual command prompt