1 (edited by dearhang 2016-12-04 13:06:44)

when I use the cmake it Return error
Can anyone help me !!!


Detected 64-bit platform
MSVC: 64-bit platform, enforced -D_WIN64 parameter
MSVC: Enabled extended object-support for debug-compiles
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Iterator Debugging disabled
MSVC: Disabled generic compiletime warnings
CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:16 (IF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:34 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/macros/FindOpenSSL.cmake:177 (find_package_handle_standard_args)
  CMakeLists.txt:52 (find_package)


Configuring incomplete, errors occurred!
See also "F:/bianyi/2.4.3/CMakeFiles/CMakeOutput.log".

Post's attachments

CMakeOutput.log 21.29 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

master branch?

Try it with visual studio 2013.
And use CMAKE 3.6.3

Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)

5 (edited by bomrox 2017-01-15 15:02:03)

same error, tried all versions of the progra.

OpenSSL-1_0_2* - use this version, and the error goes away

then there's the next error, nezahodil of bibioteca MySQL

help us!

The C compiler identification is MSVC 15.0.21022.8
The CXX compiler identification is MSVC 15.0.21022.8
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Detected 32-bit platform
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Iterator Debugging disabled
MSVC: Disabled generic compiletime warnings
[color=red]CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:16 (IF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:34 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.[/color]

Found OpenSSL: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-[color=red]Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib  
CMake Error at cmake/macros/FindMySQL.cmake:234 (message):
  Could not find the MySQL libraries! Please install the development
  libraries and headers
Call Stack (most recent call first):
  CMakeLists.txt:53 (find_package)[/color]


Configuring incomplete, errors occurred!
See also "C:/build/CMakeFiles/CMakeOutput.log".
Post's attachments

CMakeOutput.log 12.71 kb, 2 downloads since 2017-01-15 

You don't have the permssions to download the attachments of this post.
Detected 32-bit platform
MSVC: Enabled large address awareness
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Iterator Debugging disabled
MSVC: Disabled generic compiletime warnings
CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:16 (IF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/macros/FindPCHSupport.cmake:34 (ELSEIF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:50 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

Found MySQL library: C:/Program Files/MariaDB 10.1/lib/libmysql.lib
Found MySQL headers: C:/Program Files/MariaDB 10.1/data
Found Git: C:/Program Files (x86)/Git/cmd/git.exe (found version "2.10.1.windows.1") 
WARNING - Unstaged (uncommitted) changes were found.

* OregonCore revision    : 3602+ (2c4336c+)

* Install core to        : C:/Program Files (x86)/OregonCore/bin

* Build world/authserver : No
* Build with scripts     : Yes (default)
* Build map extractors   : No  (default)

* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Use SFMT for RNG       : No  (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Build w/ documentation : No  (default)

CMake Warning (dev) at dep/CMakeLists.txt:13 (elseif):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring done
Generating done