Now, I don't know much about compiling files or anything (yet). However, I've been reading for 7+ hours straight and I'm not sure what I'm doing wrong at this point.
I'm trying to compile a module for Anope. Now, from what I've read; I need to first download the source for Anope and compile Anope itself. Well, I can't really do that; cause here's what I get:
C:\Users\Kevin\Desktop\anope-1.7.21>Config.bat
___
/ _ \ http://www.anope.org
| /_\ | _ __ _ _ _ _ ___
| _ || '_ \/ _ \/ _ \ / _ \
| | | || | | |_| |_| | __/
|_| |_||_| |_\___/| _/ \___|
| |
|_| IRC Services
1.7.21.1341
This program will help you to compile your Services, and ask you
questions regarding the compile-time settings of it during the
process.
Anope is a set of Services for IRC networks that allows users to
manage their nicks and channels in a secure and efficient way,
and administrators to manage their network with powerful tools.
For all your Anope needs please visit our portal at www.anope.org
Press Enter to Begin...
Do you want to compile Anope with MySQL Support?
NOTE: You will need to have installed MySQL 3.23 or Above
Available Options: yes, no
Default Answer: no
Enable MySQL Support?
no
Looking for a suitable compiler...
Looking for: Microsoft Visual Studio 2008 (New PSDK)...
ERROR: Cannot find wsock32.lib - Probably missing PlatformSDK...
Looking for: Microsoft Visual Studio 2005 (New PSDK)...
ERROR: Cannot find MSVCRT.lib - This version is probably not installed...
Looking for: Microsoft Visual Studio 2005 (Old PSDK)...
ERROR: Cannot find MSVCRT.lib - This version is probably not installed...
Looking for: Microsoft Visual Studio .NET 2003...
ERROR: Cannot find MSVCRT.lib - This version is probably not installed...
Looking for: Microsoft Visual Studio 98...
ERROR: Cannot find MSVCRT.lib - This version is probably not installed...
Some of the build tools were detected on your computer, but the essential Platfo
rmSDK components were missing.
You will need to download the PlatformSDK from the URL below, ensuring that the
Core Windows files, and Debugging Tools are installed.
For more details on installing the PlatformSDK, visit http://windows.anope.org
PSDK: http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4e
fed1e1a/PSDK-x86.exe
ERROR: No suitable build tools were found!
Please ensure you have downloaded and installed a version of Visual C++ and/or P
latformSDK.
For more information on the tools needed to build Anope on Windows, see:
http://windows.anope.org
Keep in mind, this is RIGHT after I installed the Platform SDK as mentioned (and reboot my PC). As well, I have Visual Studio 2008 installed.
Now, I've also read ahead and tried to compile a .c file just to see what I get. Here's the results:
C:\Users\Kevin\Desktop\anope-1.7.21\src\modules>nmake -f Makefile.win32
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl /LD /MD /D MODULE_COMPILE /nologo /O2 /MD /I"../include" /I"../../i
nclude" cs_disablexop.c ..\mod_version.c /link ../anope.lib wsock32.lib wsock32
.lib advapi32.lib /NODEFAULTLIB:libcmtd.lib /export:AnopeInit /export:AnopeFin
i
cs_disablexop.c
c:\users\kevin\desktop\anope-1.7.21\include\services.h(19) : fatal error C1083:
Cannot open include file: 'sysconf.h': No such file or directory
mod_version.c
..\mod_version.c(1) : fatal error C1083: Cannot open include file: 'version.h':
No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
Keep in mind, my original intention is ONLY to compile that source file. I know some of you may want to say this is in the wrong place; but it's not anope I'm trying to get to work, it's the module compilation.
Detailed Information:
Operating System: Windows XP SP3
Compilation Source:
cs_disablexop.cVisual Studio Version: Microsoft Visual Studio 2008
Anope Version: 1.7.21
IRCd: Unreal 3.2
Any ideas? I just want to be able to compile the .c source files so I can make them into a usable module. Thank you.