I always get the following linker error with PB 5.72 LTS x86 on macOS Mojave 10.14.6 and latest Xcode installed:
Is this a possible bug with the x86 version?
[5.72 LTS x86] Linker error (libstdc++ / libc++)
Re: [5.72 LTS x86] Linker error (libstdc++ / libc++)
Unfortunately I only have a VM with High Sierra.
Here runs PB-v5.72 (x86) under High Sierra
Test this code
Here runs PB-v5.72 (x86) under High Sierra
Test this code
Code: Select all
Import "-stdlib=libc++ -mmacosx-version-min=10.9" : EndImport
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: [5.72 LTS x86] Linker error (libstdc++ / libc++)
Thanks mk-soft, but it did not help. Error message is now:
Looks like the time of 32-bit i386 is over now. It's not a big problem anyway...PureBasic - Linker error
...Code: Select all
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS) ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libpthread.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libpthread.tbd ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libm.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libm.tbd ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//Cocoa.framework/Cocoa.tbd ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//Carbon.framework/Carbon.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks//Carbon.framework/Carbon.tbd ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libc.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libc.tbd ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Re: [5.72 LTS x86] Linker error (libstdc++ / libc++)
Beginning with Xcode 10 Apple has removed the support to compile x86 apps:Danilo wrote:I always get the following linker error with PB 5.72 LTS x86 on macOS Mojave 10.14.6 and latest Xcode installed:
[color=#0040FF][u]Xcode 10 Release Notes[/u][/color] wrote:The macOS 10.14 SDK no longer contains support for compiling 32-bit applications. If developers need to compile for i386, Xcode 9.4 or earlier is required. (39858111)
Re: [5.72 LTS x86] Linker error (libstdc++ / libc++)
I work under macOS High Sierra (VM) with Xcode Version 10.1 (10B61)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: [5.72 LTS x86] Linker error (libstdc++ / libc++)
Thanks Shardik!