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

Build Fails for Win32 Architecture #46

Open
grahas opened this issue Jan 13, 2025 · 0 comments
Open

Build Fails for Win32 Architecture #46

grahas opened this issue Jan 13, 2025 · 0 comments

Comments

@grahas
Copy link

grahas commented Jan 13, 2025

When compiling ros2 with x86 Native Tools Command Prompt for VS 2019 I get

Architecture 'Win32' is not supported.

Full

`
-- Build files have been written to: C:/humble/build/mimick_vendor
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

1>Checking Build System
Creating directories for 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'
Building Custom Rule C:/humble/src/ros2/mimick_vendor/CMakeLists.txt
Performing download step (git clone) for 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'
Cloning into 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'...
HEAD is now at de11f83 Support raspberry pi zero (#21)
No update step for 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'
No patch step for 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'
Performing configure step for 'mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7'
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.29.30157.0
-- The CXX compiler identification is MSVC 19.29.30157.0
-- 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.30133/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.30133/bin/Hostx64/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/ml.exe
CMake Error at CMakeLists.txt:56 (message):
Architecture 'Win32' is not supported.

-- Configuring incomplete, errors occurred!
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-mkdir.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-download.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-update.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-patch.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-configure.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-build.rule;C:\humble\build\mimick_vendor\CMakeFiles\a94a30304988bc0e4e99cbce4ec56fa0\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-install.rule;C:\humble\build\mimick_vendor\CMakeFiles\b38ba682d5d4334b5a20033ddf7ff70d\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7-complete.rule;C:\humble\build\mimick_vendor\CMakeFiles\5e3b6f3a33b3892616a4f59a29e4bbeb\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7.rule;C:\humble\src\ros2\mimick_vendor\CMakeLists.txt' exited with code 1. [C:\humble\build\mimick_vendor\mimick-de11f8377eb95f932a03707b583bf3d4ce5bd3e7.vcxproj]
--- stderr: mimick_vendor
`

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

1 participant