Search found 11 matches

by CoopsOz
Mon Oct 02, 2023 11:49 pm
Forum: Mac OSX
Topic: MacOS Sonoma and Xcode 15
Replies: 8
Views: 3602

Re: MacOS Sonoma and Xcode 15

Solved.
Deleting the purebasic.prefs file did the trick. Many thanks for the time and effort you have put it to solve this for me, it is much appreciated.
Also, I can report that the IDE doesn't hang on exit.
by CoopsOz
Mon Oct 02, 2023 2:15 pm
Forum: Mac OSX
Topic: MacOS Sonoma and Xcode 15
Replies: 8
Views: 3602

Re: MacOS Sonoma and Xcode 15

Understand your question, but to be clear, PB worked fine on the M1 mini until the OS update to Sonoma. I've since updated PB, Xcode and the Command Line tools.

The about screen at boot shows the installed version is;
This is the free version of PureBasic 6.02 LTS - C Backend (MacOS X - arm64 ...
by CoopsOz
Mon Oct 02, 2023 1:42 pm
Forum: Mac OSX
Topic: MacOS Sonoma and Xcode 15
Replies: 8
Views: 3602

Re: MacOS Sonoma and Xcode 15

Thanks Michael, but no joy. I still get the "The required compiler cannot be found" error.
I had an older version of Command Line Tools
minim1@MacMini ~ % xcode-select -p
/Library/Developer/CommandLineTools
minim1@MacMini ~ % git --version
git version 2.30.1 (Apple Git-130)
So I updated...
minim1 ...
by CoopsOz
Mon Oct 02, 2023 2:45 am
Forum: Mac OSX
Topic: MacOS Sonoma and Xcode 15
Replies: 8
Views: 3602

Re: MacOS Sonoma and Xcode 15

Thanks for the reply.
Update - since I uninstalled Xcode 14, deleted Xcode 14 and reinstalled Xcode 15 the error message is now "The required compiler cannot be found:"
According to this site https://mac.install.guide/commandlinetools/2.html , Command Line Tools are installed.
I cannot find PB v6.03 ...
by CoopsOz
Sun Oct 01, 2023 3:56 am
Forum: Mac OSX
Topic: MacOS Sonoma and Xcode 15
Replies: 8
Views: 3602

MacOS Sonoma and Xcode 15

I've updated my M1 MacMini to Sonoma and Xcode 15. Attempts to compile any programs on PureBasic 6.02 LTS - C Backend (MacOS X - arm64) generate a "PureBasic - Linker error" with the text -
Undefined symbols for architecture arm64:
"_objc_msgSend$AddGadgetColumn:title:width:", referenced from:
_PB ...
by CoopsOz
Fri Jul 16, 2021 2:41 pm
Forum: Mac OSX
Topic: Unzip/unrar on Big Sur
Replies: 4
Views: 5826

Re: Unzip/unrar on Big Sur

Cheers,

That works for me too. Oddly, if I change
destfolder$ = GetUserDirectory(#PB_Directory_Documents) + "test_unzip/"
to my working directory - it fails. I assume some permissions issue. I didn't want iCloud backing up many scraps* of files, so my PureBasic directory is top level. If I change ...
by CoopsOz
Thu Jul 15, 2021 4:37 am
Forum: Mac OSX
Topic: Unzip/unrar on Big Sur
Replies: 4
Views: 5826

Unzip/unrar on Big Sur

I want to uncompress files, but UncompressPackFile doesn't work on Big Sur. The same code is fine on Windows, so I've posted this as a bug http://forums.purebasic.com/english/viewtopic.php?f=24&t=77611&p=572561&sid=a59eb78e20b1292c2a368613c3761fe9#p572561 .
Does anyone have a way of unzipping files ...
by CoopsOz
Wed Jul 14, 2021 9:35 am
Forum: Coding Questions
Topic: UncompressPackFile on Big Sur
Replies: 1
Views: 4426

UncompressPackFile on Big Sur

Hi all,

As a newbie, I'm unsure if this is a bug or my inexperience.
EDIT - now tested on Windows and works OK, so I'm confident that it IS a bug

I'm running PureBasic 5.73 LTS (MacOS X - x64) on macOS Big Sur 11.4 on a Mac mini (M1, 2020)

In the following code PackEntryName(0) returns only the ...
by CoopsOz
Wed Jul 14, 2021 2:24 am
Forum: Coding Questions
Topic: Wait for input
Replies: 4
Views: 1701

Re: Wait for input

Many thanks infratec, that set me on the right path. As I needed to have an option to exit the program I ended up with the following code. It took a few tries to avoid end condition errors as I didn't twig that there are nested Selects, so that 2 EndSelects are needed.
Case seemed the best option ...
by CoopsOz
Mon Jul 12, 2021 11:58 pm
Forum: Coding Questions
Topic: Wait for input
Replies: 4
Views: 1701

Re: Wait for input

Thanks to both people who responded, I will test and advise.
by CoopsOz
Mon Jul 12, 2021 9:53 am
Forum: Coding Questions
Topic: Wait for input
Replies: 4
Views: 1701

Wait for input

Hi all,

I'm looking for a way to pause a program and monitor the keyboard or mouse.

The program I have kludged up allows me to select a directory of images and display the Landscape pictures on my 2560 x 1440 display, and the Portrait pictures on my second 1440 x 2560 display.
The only way I can ...