Just installed: Demo compilation error
-
agilefalcon
- New User

- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
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
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
Re: Just installed: Demo compilation error
Hi,
a bit less informations.
Which PB version?
Which OS?
Which demo program?
I guess you installed the linux version.
If so, did you run the check install script?
Bernd
a bit less informations.
Which PB version?
Which OS?
Which demo program?
I guess you installed the linux version.
If so, did you run the check install script?
Bernd
Re: Just installed: Demo compilation error
infratec wrote:Which OS?
I think it's Linuxagilefalcon wrote:"rerun as root using sudo"
➽ Windows 11 64-bit - PB 6.21 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect
Re: Just installed: Demo compilation error
Hello, and welcome to the PureBasic forum.agilefalcon wrote:...compiler errors out with a message that says to use the "rerun as root using sudo" command to run as an admin.
Assuming that you are indeed running on Linux, the PureBasic installation requires a few extra steps. This PDF tutorial would be the best place to start:
> Install PureBasic on Linux
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel 
-
cptdark
Re: Just installed: Demo compilation error
Where did you install PureBasic? Outside /home ? In this case you have to start the PureBasic IDE itself as root, since running a programm from the IDE (I think) creates the assembla/executable within purebasics folder.agilefalcon wrote: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
I've just extracted the archive into my home directory. It's imho the better way.
regards
-
agilefalcon
- New User

- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
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.
Chris.
Re: Just installed: Demo compilation error
Mac OSX 10.11:
I copied only the dmg on the desktop.
2 double clicks and it works out of the box.
No problem here.
But I still doesn't know which example you tested.
So I can not try to reproduse it.
Bernd
I copied only the dmg on the desktop.
2 double clicks and it works out of the box.
No problem here.
But I still doesn't know which example you tested.
So I can not try to reproduse it.
Bernd
-
agilefalcon
- New User

- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
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 requires admin privileges, please re-run as root via sudo."
No matter what I try - the compilation starts and then this error pops up.
I do have Xcode on my machine in order to program in Swift. I'll see if there is something I can spot in the Xcode environment.
Chris
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 requires admin privileges, please re-run as root via sudo."
No matter what I try - the compilation starts and then this error pops up.
I do have Xcode on my machine in order to program in Swift. I'll see if there is something I can spot in the Xcode environment.
Chris
Re: Just installed: Demo compilation error
Hi,
yes, you have a probblem with your XCode.
But since I'm only a 'sometimes' OSX use, I can not remember what was to do.
Maybe one of our OSX gurus can tell you the answer.
Better write OSX in your headline, than they look inside this thread
Bernd
yes, you have a probblem with your XCode.
But since I'm only a 'sometimes' OSX use, I can not remember what was to do.
Maybe one of our OSX gurus can tell you the answer.
Better write OSX in your headline, than they look inside this thread
Bernd
-
agilefalcon
- New User

- Posts: 7
- Joined: Thu Feb 04, 2016 9:37 pm
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 some dependency between Xcode and PureBasic.
Chris
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 some dependency between Xcode and PureBasic.
Chris
Re: Just installed: Demo compilation error
Of course, there is.
PB uses XCode.
But that is also written somewhere.
But now you can start in the world of PB programming
Bernd
PB uses XCode.
But that is also written somewhere.
But now you can start in the world of PB programming
Bernd


