yarhoo / server1

Automatically exported from code.google.com/p/server1
0 stars 0 forks source link

Build Visual Studio 2010 #6

Closed GoogleCodeExporter closed 6 years ago

GoogleCodeExporter commented 9 years ago
When I run cmake on Windows I get an error because OpenSSL is missing.
What do I do to recolve that dependency?

I am using Windows 7 x64 and Visual Studuio 2010

d:\dev\3rdparty\server1\trunk>"D:\Program Files (x86)\CMake 2.8\bin\cmake.exe" .

-- Building for: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
-- Found Threads: TRUE
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the sys
tem variable OPENSSL_ROOT_DIR (missing:  OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)

CMake Error: The following variables are used in this project, but they are set
to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake file
s:
LIB_EAY_DEBUG (ADVANCED)
    linked by target "file_download_client" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
    linked by target "file_download_server" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
LIB_EAY_RELEASE (ADVANCED)
    linked by target "file_download_client" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
    linked by target "file_download_server" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
OPENSSL_INCLUDE_DIR (ADVANCED)
   used as include directory in directory D:/dev/3rdparty/server1/trunk
   used as include directory in directory D:/dev/3rdparty/server1/trunk/base
   used as include directory in directory D:/dev/3rdparty/server1/trunk/proto
   used as include directory in directory D:/dev/3rdparty/server1/trunk/server
   used as include directory in directory D:/dev/3rdparty/server1/trunk/services

   used as include directory in directory D:/dev/3rdparty/server1/trunk/services
/file_transfer
SSL_EAY_DEBUG (ADVANCED)
    linked by target "file_download_client" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
    linked by target "file_download_server" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
SSL_EAY_RELEASE (ADVANCED)
    linked by target "file_download_client" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer
    linked by target "file_download_server" in directory D:/dev/3rdparty/server1
/trunk/services/file_transfer

-- Configuring incomplete, errors occurred!

Original issue reported on code.google.com by l...@schouw.me on 18 Mar 2013 at 9:43

yarhoo commented 6 years ago

these cpp file are used for exmaple。 you can remove them from your project。