Closed DartViet closed 1 year ago
Hi, did you launch the MSYS2 shell from a Visual Studio environment like the "x64 Native Tools Command Prompt"?
Yeah, I got this:
`
C:\Users\MyOwnPC\Documents\Projects\ObjectiveC1>clang-cl -I C:\GNUstep\x64\Debug\include -fobjc-runtime=gnustep-2.0 -Xclang -fexceptions -Xclang -fobjc-exceptions -fblocks -DGNUSTEP -DGNUSTEP_WITH_DLL -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -D_NATIVE_OBJC_EXCEPTIONS /MDd /c main1.m
Assertion failed: cast
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation) compnerd.org clang version 14.0.0 Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin clang-cl: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-cl: note: diagnostic msg: C:\Users\MyOwnPC\AppData\Local\Temp\main1-1b73e0.m clang-cl: note: diagnostic msg: C:\Users\MyOwnPC\AppData\Local\Temp\main1-1b73e0.sh clang-cl: note: diagnostic msg:
`
This looks like one of the issues from Clang 14 documented here: https://github.com/gnustep/tools-windows-msvc#status-and-known-issues
Please try with Clang 13 e.g. the one bundled with Visual Studio 2019.
Feel free to re-open this if you’re still running into issues.
I already in install clang in Msys2 and do as instruction, but so far still got this:
It's just a Hello World file.
is there anything I should add to make this works ?