MySQL Forums
Forum List  »  Source, Builds, Binaries

Getting a build failure
Posted by: Igor Korot
Date: July 23, 2022 07:44PM

Hi,
I am getting a build failure.

Here are 2 log from running CMake thing:

C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>cmake -DWITHOUT_
SERVER=ON -DWITH_UNIT_TESTS=OFF -DCMAKE_BILD_TYPE=Debug ..
-- Building for: Visual Studio 15 2017
CMake Deprecation Warning at CMakeLists.txt:44 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:45 (CMAKE_POLICY):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:46 (CMAKE_POLICY):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Running cmake version 3.23.1
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.35.0.windows.1"
)
-- Configuring with MAX_INDEXES = 64U
^C
C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>cmake -DWITHOUT_
SERVER=ON -DWITH_UNIT_TESTS=OFF -DCMAKE_BILD_TYPE=Debug ..
-- Building for: Visual Studio 15 2017
CMake Deprecation Warning at CMakeLists.txt:44 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:45 (CMAKE_POLICY):
  The OLD behavior for policy CMP0045 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:46 (CMAKE_POLICY):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Running cmake version 3.23.1
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.35.0.windows.1"
)
-- Configuring with MAX_INDEXES = 64U
-- The C compiler identification is MSVC 19.16.27048.0
-- The CXX compiler identification is MSVC 19.16.27048.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/
2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi
o/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_GENERATOR: Visual Studio 15 2017
CMake Error at cmake/os/Windows.cmake:49 (MESSAGE):
  32 bit Windows builds are not supported.  Clean the build dir and rebuild
  using -G "Visual Studio 15 2017 Win64"
Call Stack (most recent call first):
  CMakeLists.txt:236 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "C:/Users/Igor/OneDrive/Documents/dbhandler_app/mysql-server/bin/CMakeF
iles/CMakeOutput.log".

C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>dir
 Volume in drive C is TI10707700A
 Volume Serial Number is AE57-21A1

 Directory of C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin

07/23/2022  08:06 PM    <DIR>          .
07/23/2022  08:06 PM    <DIR>          ..
07/23/2022  08:06 PM            20,313 CMakeCache.txt
07/23/2022  08:06 PM    <DIR>          CMakeFiles
               1 File(s)         20,313 bytes
               3 Dir(s)  265,665,990,656 bytes free

C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>del *
C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin\*, Are you sure
(Y/N)? y

C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>cmake -DWITHOUT_
SERVER=ON -DWITH_UNIT_TESTS=OFF -DCMAKE_BILD_TYPE=Debug -G "Vsual Studio 15 2017
 win64" ..
CMake Error: Could not create named generator Vsual Studio 15 2017 win64

Generators
  Visual Studio 17 2022        = Generates Visual Studio 2022 project files.
                                 Use -A option to specify architecture.
  Visual Studio 16 2019        = Generates Visual Studio 2019 project files.
                                 Use -A option to specify architecture.
* Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 10 2010 [arch] = Deprecated.  Generates Visual Studio 2010
                                 project files.  Optional [arch] can be
                                 "Win64" or "IA64".
  Visual Studio 9 2008 [arch]  = Generates Visual Studio 2008 project files.
                                 Optional [arch] can be "Win64" or "IA64".
  Borland Makefiles            = Generates Borland makefiles.
  NMake Makefiles              = Generates NMake makefiles.
  NMake Makefiles JOM          = Generates JOM makefiles.
  MSYS Makefiles               = Generates MSYS makefiles.
  MinGW Makefiles              = Generates a make file for use with
                                 mingw32-make.
  Green Hills MULTI            = Generates Green Hills MULTI files
                                 (experimental, work-in-progress).
  Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  Ninja Multi-Config           = Generates build-<Config>.ninja files.
  Watcom WMake                 = Generates Watcom WMake makefiles.
  CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles JOM
                               = Generates CodeBlocks project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - MinGW Makefiles   = Generates CodeLite project files.
  CodeLite - NMake Makefiles   = Generates CodeLite project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Eclipse CDT4 - NMake Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - MinGW Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
  Kate - MinGW Makefiles       = Generates Kate project files.
  Kate - NMake Makefiles       = Generates Kate project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Sublime Text 2 - MinGW Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - NMake Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.


C:\Users\Igor\OneDrive\Documents\dbhandler_app\mysql-server\bin>dir

Could someone please help?

Thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Getting a build failure
715
July 23, 2022 07:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.