Search found 7 matches

by agilefalcon
Sun Nov 06, 2016 9:34 pm
Forum: Mac OSX
Topic: Can't run demo or any programs due to error
Replies: 4
Views: 2485

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
by agilefalcon
Sun Nov 06, 2016 2:41 am
Forum: Mac OSX
Topic: Can't run demo or any programs due to error
Replies: 4
Views: 2485

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 ...
by agilefalcon
Sun Nov 06, 2016 1:10 am
Forum: Mac OSX
Topic: Can't run demo or any programs due to error
Replies: 4
Views: 2485

Can't run demo or any programs due to error

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 ...
by agilefalcon
Sat Feb 06, 2016 9:28 pm
Forum: Coding Questions
Topic: Just installed: Demo compilation error
Replies: 10
Views: 2199

Re: Just installed: Demo compilation error

Found the problem.
I had recently downloaded and installed the newest version of Apple's Xcode.
I had not used this program. When I started Xcode, it had me agree to the license. Xcode then started normally.

When I did that, PureBasic would now run the sample/demo programs.

Therefore, there is ...
by agilefalcon
Sat Feb 06, 2016 8:57 pm
Forum: Coding Questions
Topic: Just installed: Demo compilation error
Replies: 10
Views: 2199

Re: Just installed: Demo compilation error

Okay, I moved the PB folder into my Applications folder.
I am on an Apple iMac, OS X El Capitan, 10.11.3

Here is what version of PB I have:
PureBasic 5.41 LTS (MacOS X - x64)
Feel the ..Pure.. Power

I still get the same error message:
"PureBasic - Linker error
Agreeing to the Xcode/iOS license ...
by agilefalcon
Fri Feb 05, 2016 5:40 pm
Forum: Coding Questions
Topic: Just installed: Demo compilation error
Replies: 10
Views: 2199

Re: Just installed: Demo compilation error

Wow - thanks for the responses. Actually, I'm on a Mac. I just extracted Pure Basic to my desktop. I'll locate the folder elsewhere and see if that works.

Chris.
by agilefalcon
Thu Feb 04, 2016 9:41 pm
Forum: Coding Questions
Topic: Just installed: Demo compilation error
Replies: 10
Views: 2199

Just installed: Demo compilation error

Hello,
Just installed this application and tried to run the demo programs. The compiler errors out with a message that says to use the "rerun as root using sudo" command to run as an admin. How do I that? Seems strange that the program would ask that?

Chris