Hi P.O.,

Thanks for your tips. Yes, I installed the developer command line tools like 
you said. Maybe I will try to reinstall.
I will have a look at your tips and keep you updated.

Thank you!

Best regards
Thomas


On 13.02.2022, at 16:03, P.O. Jonsson 
<oor...@jonases.se<mailto:oor...@jonases.se>> wrote:

Hi Thomas, nice to have you back!

We are already building for M1 Mac since some time so it should be possible to 
sort you out.

In the normal case ncurses is taken from the Xcode command line tools that you 
install with Xcode-select install, did you do that? This is how it should look 
like on a M1 Mac with Monterey when CMake runs:

-- Looking for wsyncup in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libcurses.tbd
-- Looking for wsyncup in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libcurses.tbd
 - found
-- Looking for cbreak in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libncurses.tbd
-- Looking for cbreak in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libncurses.tbd
 - found
-- Looking for nodelay in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libncurses.tbd
-- Looking for nodelay in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libncurses.tbd
 - found
-- Found Curses: 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libncurses.tbd
-- CURSES_HAVE_NCURSES_H is 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/ncurses.h
-- CURSES_HAVE_NCURSES_NCURSES_H is CURSES_HAVE_NCURSES_NCURSES_H-NOTFOUND
-- CPACK_PACKAGE_FILE_NAME ooRexx-5.0.0-12353.macOS.arm64.x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: 
/Users/jenkins/workspace/ooRexx-macOS1201-build2

The 12.1 should be 12.2 if you have uppgraded lately

If you have installed another version of ncurses (using HomeBrew or Ports for 
instance) you need to symlink them into the right place, the installation gives 
you a hint for that but the one from Apple works just fine.

Let us know how you progress and if you need any further help

Am 13.02.2022 um 11:56 schrieb Thomas Kahr 
<tho...@vaime.at<mailto:tho...@vaime.at>>:


Dear Developers,

Its been a while since my last attempt to port ooRexx to Android. The time has 
come to finish this project.
Meanwhile, I changed my approach and want to try to port it from an ARM Mac to 
Android instead of Linux.
I want to give it a try but I’m already stuck at the beginning.

The initial build on Mac worked just fine but combining it with the CMAKE 
toolchain gives me an error regarding curses:

<Screenshot 2022-02-12 at 19.05.19.png>



I installed ncurses via Home-brew. I got the following hints from Home-brew 
directly after installing:

<NCURSES_HOMEBREW.png>


I already tried different things but still, CMake is complaining about the 
missing Curses. Here is what I've tried so far:


  *   -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/ncurses/bin (I added this line to 
my CMake command. The error stays the same)
  *   I also tried to add these two lines to the CMakeLists.txt file. Probably 
at the wrong place. Maybe anyone can tell me where I have to put this two lines:

<Screenshot 2022-02-12 at 21.01.17.png>


Does anyone know how to tell CMake where it can find curses? Is there anything 
else to change besides the path information?

Thanks in advance

Best regards
Thomas


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net<mailto:Oorexx-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net<mailto:Oorexx-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to