Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Latest SVN compiling under vista sp1 on visual studio 2008 cmake installed  (Read 9535 times)

0 Members and 1 Guest are viewing this topic.

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/

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

D:\anopetrunklatest\trunk>config
   ___
  / _ \  http://www.anope.org
 | /_\ | _ __  _ _  _ _   ___
 |  _  || '_ \/ _ \/ _ \ / _ \
 | | | || | |  |_|  |_| |  __/
 |_| |_||_| |_\___/|  _/ \___|
                   | |
                   |_| IRC Services
                             1.9.1.0-explodes-on-impact
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...


In what directory do you want Anope to be installed?

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

yes

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
      loop.

Available Options: yes, no
Default Answer: no

Use NMake?
no

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?
yes


Anope will be compiled with the following options:

        Install Directory:              [D:/ANOPESVN]
        Use NMake:              [NO]
        Debug:          [MSVC]
        Visual Studio 2008:             [YES]
        Anope Version:                  1.9.1.0-explodes-on-impact

To continue, please press Enter...

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

-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe
-- 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
/bin/cl.exe
-- 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 . . .

D:\anopetrunklatest\trunk>
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations

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?
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/

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.

D:\anopetrunklatest\trunk>test/trunk/"
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations

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

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/

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
rc/trunk/"
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
  OS.
Call Stack (most recent call first):
  src/CMakeLists.txt:25 (calculate_depends)


-- Configuring incomplete, errors occurred!

C:\asrc\trunk>

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

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations

Alright, I figured out what the problem was, partly it was due to the way I checking things in CMake, update to SVN r2207, it's fixed there.
Logged

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/

All working fine this topic can be closed.
Logged
Pages: [1]   Go Up