Linker Error after installing PB 5.22

Just starting out? Need help? Post your questions and find answers here.
hgcoon
New User
New User
Posts: 9
Joined: Wed Feb 19, 2014 11:09 pm

Linker Error after installing PB 5.22

Post by hgcoon »

My Mac Pro is running Mavericks OSX 10.9.2. I downloaded the OSX 64 bit PB v. 5.22 and ran the bash instructions installing it in my HOME directory as indicated in the ReadMe. However, when I invoke the program I get the IDE OK, but when i try to compile, i get a Linker Error explained as: "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo". Alas, I have not been able to do this (my long disused UNIX experience fails me). Rather than sudo randomly "rooting" around in UNIX I think it would be safer to ask for help in "re-running as root via sudo". Can someone help me with commands needed to do what the Linker wants? Have I (possibly) installed incorrectly for this to happen? I am the only user on the machine and assume that I am already endowed with admin privileges. Thanks for any help... hgc
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Linker Error after installing PB 5.22

Post by Danilo »

If you downloaded Xcode from AppStore, it should be installed as "/Applications/Xcode.app".
Just run Xcode standalone one time should fix the problem. If it still does not work, start a
Terminal and type:

Code: Select all

sudo /Applications/Xcode.app/Contents/MacOS/Xcode
Input your admin password and Xcode should start with admin account.
Post Reply