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

Update Windows setup docs for VS2022 #759

Merged
merged 1 commit into from
Mar 10, 2022
Merged

Conversation

Daft-Freak
Copy link
Collaborator

Setting up a new Windows install... everything still seems to work here, except things have moved a bit.

Using the latest Arm tools mostly works as well, but the firmware fails to link...

[ 95%] Linking CXX executable firmware.elf
AR10B2~1.EXE: error: ´╗┐CMakeFiles/firmware.dir/firmware.cpp.obj: No such file or directory
NMAKE : fatal error U1077: 'C:\PROGRA~2\GNUARM~1\102021~1.10\bin\AR10B2~1.EXE' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.31.31103\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.31.31103\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.

@Gadgetoid
Copy link
Contributor

Are the unicode ╗┐ characters in that error some sort of borked path, or an attempt to render some list UI into the error output?

Gosh Windows CLI output is a sorry legacy mess here.

@Daft-Freak
Copy link
Collaborator Author

Daft-Freak commented Mar 1, 2022

Turns out it's actually CMake that's broken here: https://gitlab.kitware.com/cmake/cmake/-/issues/23143 (that junk is a BOM)... so Arm GCC 10.x seems to work.

(Though 11 seems to explode, I just tried it on Arch...)

Edit: Using Ninja instead of NMake works (and a lot faster since NMake can't do parallel builds...)

@Gadgetoid Gadgetoid merged commit 130f4ee into 32blit:master Mar 10, 2022
@Gadgetoid
Copy link
Contributor

Thank you!

@Daft-Freak Daft-Freak deleted the patch-6 branch March 10, 2022 16:52
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

Successfully merging this pull request may close these issues.

2 participants