• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 54 55 56 57 58 ... 117 Next »

Errors compiling Dolphin under Mac OS
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Errors compiling Dolphin under Mac OS
03-09-2012, 10:14 AM
#1
flashkraker Offline
Junior Member
**
Posts: 9
Threads: 4
Joined: Jan 2012
Ive seen this posted elsewhere but I didn't really find an answer on how to get around this.

When I go to compile Dolphin I get:



Cloning into dolphin-emu...
remote: Counting objects: 118927, done.
remote: Finding sources: 100% (118927/118927), done.
remote: Total 118927 (delta 90042)
Receiving objects: 100% (118927/118927), 124.30 MiB | 3.15 MiB/s, done.
Resolving deltas: 100% (90042/90042), done.
scons: Reading SConscript files ...
Delete("Src/scmrev.h")
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `SConstruct'.
Install file: "Externals/Cg/Cg.framework/Cg" as "Binary/Darwin-x86_64/Dolphin.app/Contents/Frameworks/Cg.framework/Cg"
Install directory: "Externals/Cg/Cg.framework/Resources" as "Binary/Darwin-x86_64/Dolphin.app/Contents/Frameworks/Cg.framework/Resources"
createPlist(["Binary/Darwin-x86_64/Dolphin.app/Contents/Info.plist"], [{'CFBundleShortVersionString': '3.0-441', 'CFBundleIconFile': 'Dolphin.icns', 'LSRequiresCarbon': True, 'CFBundleIdentifier': 'com.dolphin-emulator.dolphin', 'CFBundleDocumentTypes': [{'CFBundleTypeName': 'Nintendo GC/Wii file', 'CFBundleTypeRole': 'Viewer', 'CFBundleTypeIconFile': 'Dolphin.icns', 'CFBundleTypeExtensions': ('ciso', 'dol', 'elf', 'gcm', 'gcz', 'iso', 'wad')}], 'CFBundleExecutable': 'Dolphin', 'LSMinimumSystemVersion': '10.5.4', 'CFBundlePackageType': 'APPL', 'CFBundleVersion': '3.0', 'CFBundleLocalizations': []}])
Compiling Build/Darwin-x86_64-release/Source/Core/DolphinWX/Src/ARCodeAddEdit.o
sh: /Developer/usr/bin/llvm-g++: No such file or directory
scons: *** [Build/Darwin-x86_64-release/Source/Core/DolphinWX/Src/ARCodeAddEdit.o] Error 127
scons: building terminated because of errors.
Find
Reply
03-09-2012, 11:19 AM
#2
scummos Offline
Level 27 Forum Troll of Trog
****
Posts: 252
Threads: 2
Joined: Nov 2011
You don't have the compiler installed or it is installed in the wrong place. scons tells you:
Code:
sh: /Developer/usr/bin/llvm-g++: No such file or directory
Find
Reply
03-09-2012, 01:31 PM
#3
flashkraker Offline
Junior Member
**
Posts: 9
Threads: 4
Joined: Jan 2012
(03-09-2012, 11:19 AM)scummos Wrote: You don't have the compiler installed or it is installed in the wrong place. scons tells you:
Code:
sh: /Developer/usr/bin/llvm-g++: No such file or directory

I fixed the first error. That has to do with Xcode 4.3 being installed in the Applications folder rather than Developer.

It ran for quite sometime but now I get another error:


Archiving Build/Darwin-x86_64-release/Source/Core/Core/libcore.a
sh: ar: command not found
scons: *** [Build/Darwin-x86_64-release/Source/Core/Core/libcore.a] Error 127
scons: building terminated because of errors.



Ideas?
Find
Reply
03-09-2012, 01:56 PM (This post was last modified: 03-09-2012, 01:58 PM by Shonumi.)
#4
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
I guess it's because your shell can't find the ar command. According to Apple's dev pages it should have been part of Xcode. Might wanna check your installation again. Dunno too much about OS X, but it's a Unix OS. Try this command from the terminal:

Code:
which ar

See if it prints out a path to the executable. If it does, then that means it's at least installed on your computer. It could just be that it's not installed where your shell expects it.
Website Find
Reply
03-09-2012, 08:36 PM
#5
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
You should also use cmake instead of scons. We do not support scons build anymore AFAIK.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
03-09-2012, 08:37 PM
#6
scummos Offline
Level 27 Forum Troll of Trog
****
Posts: 252
Threads: 2
Joined: Nov 2011
(03-09-2012, 01:56 PM)Shonumi Wrote: I guess it's because your shell can't find the ar command. According to Apple's dev pages it should have been part of Xcode. Might wanna check your installation again. Dunno too much about OS X, but it's a Unix OS. Try this command from the terminal:

Code:
which ar

See if it prints out a path to the executable. If it does, then that means it's at least installed on your computer. It could just be that it's not installed where your shell expects it.

That doesn't make a lot of sense. which will find exactly the same things the shell will find too, as it searches in the same places. In other words, I don't think you'll ever get any information from which if bash tells you "command not found".
Find
Reply
03-10-2012, 02:11 AM
#7
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
(03-09-2012, 08:37 PM)scummos Wrote: That doesn't make a lot of sense. which will find exactly the same things the shell will find too, as it searches in the same places. In other words, I don't think you'll ever get any information from which if bash tells you "command not found".

Ah, you're right. Which only checks the $PATH variable. A more accurate way to see if the program is anywhere on your system would be to use the find command. To avoid any permission errors, try running this as an admin/superuser/root or whatever OS X refers to:

Code:
find / -maxdepth 5 -name ar


You can increase the maxdepth argument to (possibly) get more results. It should give you a list of files that are named "ar", if any exist on your system. If one of them turns out to be the ar command you need, you could try adding that to your $PATH variable.
Website Find
Reply
03-10-2012, 10:58 AM
#8
scummos Offline
Level 27 Forum Troll of Trog
****
Posts: 252
Threads: 2
Joined: Nov 2011
ar is an archiver program, maybe it just isn't installed, regardless of what the documentation says about whether it should be or not. I'd just try googling that.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode