Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32 cmake 报错 #376

Closed
zjjMaiMai opened this issue Mar 2, 2022 · 1 comment
Closed

Win32 cmake 报错 #376

zjjMaiMai opened this issue Mar 2, 2022 · 1 comment

Comments

@zjjMaiMai
Copy link

zjjMaiMai commented Mar 2, 2022

Win64 编译正常,但Win32 cmake 无法生成项目文件。
尝试更新cmake到最新版本,错误依旧存在。

PS D:\ppl.nn> cmake --version
cmake version 3.23.0-rc2

命令及报错如下:

What are the problems?(snapshots or detailed error messages)

PS D:\ppl.nn> .\build.bat -G "Visual Studio 16 2019" -A Win32 -DHPCC_USE_X86_64=ON

D:\ppl.nn>md pplnn-build

D:\ppl.nn>cd pplnn-build

D:\ppl.nn\pplnn-build>cmake -G "Visual Studio 16 2019" -A Win32 -DHPCC_USE_X86_64=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install ..
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.29.30038.1
-- The CXX compiler identification is MSVC 19.29.30038.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/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 Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Populating hpcc
CMake Error: Error: generator platform: Win32
Does not match the platform used previously:
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1076 (message):
  CMake step for hpcc failed: 1
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1217:EVAL:2 (__FetchContent_directPopulate)
  C:/Program Files/CMake/share/cmake-3.23/Modules/FetchContent.cmake:1217 (cmake_language)
  cmake/deps.cmake:59 (FetchContent_Populate)
  CMakeLists.txt:39 (include)


-- Configuring incomplete, errors occurred!
See also "D:/ppl.nn/pplnn-build/CMakeFiles/CMakeOutput.log".

D:\ppl.nn\pplnn-build>cmake --build . -j --config Release
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.10.2+857e5a733
版权所有(C) Microsoft Corporation。保留所有权利。

MSBUILD : error MSB1009: 项目文件不存在。
开关:ALL_BUILD.vcxproj

D:\ppl.nn\pplnn-build>cmake --build . --target install -j --config Release
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.10.2+857e5a733
版权所有(C) Microsoft Corporation。保留所有权利。

MSBUILD : error MSB1009: 项目文件不存在。
开关:install.vcxproj

D:\ppl.nn\pplnn-build>cd ..
PS D:\ppl.nn>
@ouonline
Copy link
Collaborator

ouonline commented Mar 2, 2022

win32 is not supported.

@ouonline ouonline closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants