Bob, Greetings! Clang/libobjc2 is a PITA to get working on Windows. Currently, we build using GCC on Msys2+Windows, but that will change soon. You might find the following link helpful:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gnustep /tools-scripts/master/gnustep-web-install)" Once you havc installed MSYS2, open an MSYS shell and run the above. It should download and install everything you need to get started. This does use gcc which means you will have access to some, not all, of ObjC2.0 features. Please try that and let me know if you have any questions. Thanks, GC [image: image.gif] On Thu, Jul 22, 2021 at 7:33 AM Bob Plymale <[email protected]> wrote: > Following the recommendation I cleaned up my previous attempts to get > GNUstep working properly. > > I installed msys2 and all of the required and optional packages to proceed > on compiling and building the following: > gnustep-make tools-make > gnustep-base > gnustep-gui > gnustep-back > > > Currently I am getting compile errors on compiling libobjc2. > > Input: > > > mkdir build > > cd build > > cmake -G Ninja -DCMAKE_C_COMPILER=d:\msys64\mingw64\bin\clang-cl.exe > -DCMAKE_CXX_COMPILER=d:\msys64\mingw64\bin\clang-cl.exe .. > > set CCC_OVERRIDE_OPTIONS=x-TC x-TP x/TC x/TP > > ninja > > Results: > > D:\Staging\libobjc2\build>cmake -G Ninja > -DCMAKE_C_COMPILER=d:\msys64\mingw64\bin\clang-cl.e > xe -DCMAKE_CXX_COMPILER=d:\msys64\mingw64\bin\clang-cl.exe .. > CMake Error at build/CMakeFiles/3.18.0/CMakeCCompiler.cmake:1 (set): > Syntax error in cmake code at > > D:/Staging/libobjc2/build/CMakeFiles/3.18.0/CMakeCCompiler.cmake:1 > > when parsing string > > d:\msys64\mingw64\bin\clang-cl.exe > > Invalid character escape '\m'. > Call Stack (most recent call first): > CMakeLists.txt:3 (project) > > > CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage > -- Configuring incomplete, errors occurred! > See also "D:/Staging/libobjc2/build/CMakeFiles/CMakeOutput.log". > See also "D:/Staging/libobjc2/build/CMakeFiles/CMakeError.log”. > > > Anyone help me out so I can get GNUstep compiled, installed and working? > > Apologies if I am using the wrong list account. I do not see much activity > on any of them.. > > Thanks, > > Bob > > Ps: My end result is that I have a fully working object-c working on > windows. My macOS objective-c is working just fine. > -- Gregory Casamento GNUstep Lead Developer / OLC, Principal Consultant http://www.gnustep.org - http://heronsperch.blogspot.com https://www.patreon.com/bePatron?u=352392 - Become a Patron https://gf.me/u/x8m3sx - My GNUstep GoFundMe https://teespring.com/stores/gnustep - Store
