Anope Support > 2.0.x/1.9.x Support

Latest SVN compiling under vista sp1 on visual studio 2008 cmake installed

(1/2) > >>

Whats up with this?

--- Quote ---Setting environment for using Microsoft Visual Studio 2008 x86 tools.

C:\Program Files\Microsoft Visual Studio 9.0\VC>d:

D:\>cd D:\anopetrunklatest\trunk

  / _ \
 | /_\ | _ __  _ _  _ _   ___
 |  _  || '_ \/ _ \/ _ \ / _ \
 | | | || | |  |_|  |_| |  __/
 |_| |_||_| |_\___/|  _/ \___|
                   | |
                   |_| IRC Services
This program will help you to compile your Services, and ask you
questions regarding the compile-time settings of it during the

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

Press Enter to Begin...

In what directory do you want Anope to be installed?

Install directory:
d:/anopesvn does not exist.  Create it ([yes]/no)?


Would you like to build using NMake instead of using Visual Studio?
NOTE: If you decide to use NMake, you must be in an environment where
      NMake can function, such as the Visual Studio command line.
      If you say yes to this while not in an environment that can run
      NMake, it can cause the CMake configuration to enter an endless

Available Options: yes, no
Default Answer: no

Use NMake?

Are you using Visual Studio 2008?  If you are, you need to answer yes
to this question, otherwise CMake will not function properly.

Available Options: yes, no
Default Answer: no

Using Visual Studio 2008?

Anope will be compiled with the following options:

        Install Directory:              [D:/ANOPESVN]
        Use NMake:              [NO]
        Debug:          [MSVC]
        Visual Studio 2008:             [YES]
        Anope Version:        

To continue, please press Enter...

cmake -DINSTDIR:STRING="d:/anopesvn"   -G"Visual Studio 9 2008" "D:/anopetrunkla

-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/select.h
-- Looking for sys/select.h - not found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - not found
-- Looking for setgrent
-- Looking for setgrent - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for stricmp
-- Looking for stricmp - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for umask
-- Looking for umask - found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of uint8_t
-- Check size of uint8_t - failed
-- Check size of u_int8_t
-- Check size of u_int8_t - failed
-- Check size of int16_t
-- Check size of int16_t - failed
-- Check size of uint16_t
-- Check size of uint16_t - failed
-- Check size of u_int16_t
-- Check size of u_int16_t - failed
-- Check size of int32_t
-- Check size of int32_t - failed
-- Check size of uint32_t
-- Check size of uint32_t - failed
-- Check size of u_int32_t
-- Check size of u_int32_t - failed
-- Configuring incomplete, errors occurred!
CMake Error at Anope.cmake:404 (message):

There was an error attempting to run CMake! Check the above error message,
and contact the Anope team if you are unsure how to proceed.

Press any key to continue . . .

--- End quote ---

Naram Qashat:
That's odd that it's not showing the error... could you run the cmake command manually and paste the output after the CMake Error line?

D:\anopetrunklatest\trunk>cmake -DINSTDIR:STRING="d:/anopesvn"   -G"Visual Studi
o 9 2008" "D:/anopetrunkla
CMake Error: The source directory "D:/anopetrunkla" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.


Naram Qashat:
It might help if you don't break the line when you paste it into the command line, you know.

Ok trying a freshly downloaded version in a new dir...

--- Quote ---C:\asrc\trunk>cmake -DINSTDIR:STRING="c:/abin"   -G"Visual Studio 9 2008" "C:/as
CMake Error at Anope.cmake:404 (message):
  main.c needs header file sys/time.h but we were unable to locate that
  header file! Check that the header file is within the search path of your
Call Stack (most recent call first):
  src/CMakeLists.txt:25 (calculate_depends)

-- Configuring incomplete, errors occurred!

--- End quote ---

* therock247uk has the full vs 2008 installed and the latest sdk and cmake installed.


[0] Message Index

[#] Next page

Go to full version