discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUstep - libobjc2 compile error


From: Bob Plymale
Subject: GNUstep - libobjc2 compile error
Date: Thu, 22 Jul 2021 07:32:55 -0400

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]