Before I give up on this trialware: Any idea what this message means when I try to run a program?
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
I have X-Code installed, latest version.
So far, zero luck in trying to get this development tool to run anything.
Chris
Can't run demo or any programs due to error
-
- New User
- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
-
- New User
- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
Re: Can't run demo or any programs due to error
Reinstalled X-Code and now I get this error:
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
ld: illegal text-relocation to '_S1' in purebasic.o from '_main' in purebasic.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Chris
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
ld: illegal text-relocation to '_S1' in purebasic.o from '_main' in purebasic.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Chris
Re: Can't run demo or any programs due to error
which OSX are you using?
Re: Can't run demo or any programs due to error
See this threadagilefalcon wrote:clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
http://www.purebasic.fr/english/viewtop ... 30#p494430
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
-
- New User
- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
Re: Can't run demo or any programs due to error
I'm running Mac OS, 10.12.1 (Sierra). Have the latest X-Code and I guess that's what broke the compiler/linker.
The below line added to the start of my code corrected the problem:
Import "--stdlib=libc++ -mmacosx-version-min=10.7" : EndImport
Thank you for the help.
Chris
The below line added to the start of my code corrected the problem:
Import "--stdlib=libc++ -mmacosx-version-min=10.7" : EndImport
Thank you for the help.
Chris