two Errors

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
w0sh|Mu
Posts: 14
Joined: Wed May 18, 2005 4:37 pm

two Errors

Post 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??? =\
Last edited by w0sh|Mu on Sun May 22, 2005 10:08 am, edited 1 time in total.
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post by heinz »

Download all the files it tells you to.

See docs/WIN32.txt for information on compiling Anope for Windows.
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
w0sh|Mu
Posts: 14
Joined: Wed May 18, 2005 4:37 pm

Post 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
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post 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.
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
w0sh|Mu
Posts: 14
Joined: Wed May 18, 2005 4:37 pm

Post 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
heinz
Posts: 90
Joined: Mon Mar 08, 2004 4:08 pm
Location: United Kingdom
Contact:

Post 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.
Chris Hogben
Chief Tester, QA Team - Anope IRC Services
Co-Owner - PhpMemX.Net
w0sh|Mu
Posts: 14
Joined: Wed May 18, 2005 4:37 pm

Post by w0sh|Mu »

yes i did use the visual command prompt
Locked