VDrift / vdrift-mac

VDrift Mac OS X build dependencies
Other
6 stars 2 forks source link

Update more depenancies #14

Closed Timo6 closed 12 years ago

Timo6 commented 12 years ago

Update Curl to 7.23.1 and Archive to 2.8.5

bullet - upto date sdl - upto date vorbis - upto date (recompiled for new ogg)

glew - done ogg - done

curl - done archive - done

boost - to come (having some problems atm)

antoniovazquezblanco commented 12 years ago

Some errors:

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Aug 8 20:32:45 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys002 warning: Unable to read symbols for /Library/Frameworks/LinearMath.framework/Versions/2.79/LinearMath (file not found). warning: Unable to read symbols from "LinearMath" (not yet mapped into memory). warning: Unable to read symbols for /Library/Frameworks/BulletCollision.framework/Versions/2.79/BulletCollision (file not found). warning: Unable to read symbols from "BulletCollision" (not yet mapped into memory). warning: Unable to read symbols for /Library/Frameworks/BulletDynamics.framework/Versions/2.79/BulletDynamics (file not found). warning: Unable to read symbols from "BulletDynamics" (not yet mapped into memory). warning: Unable to read symbols for /Library/Frameworks/BulletSoftBody.framework/Versions/2.79/BulletSoftBody (file not found). warning: Unable to read symbols from "BulletSoftBody" (not yet mapped into memory). dyld: Library not loaded: /Library/Frameworks/LinearMath.framework/Versions/2.79/LinearMath Referenced from: /Users/antoniovazquezblanco/Library/Developer/Xcode/DerivedData/vdrift-ervseqsfsxshizawhktgsymktekf/Build/Products/Debug/VDrift.app/Contents/MacOS/VDrift Reason: image not found [Switching to process 42021 thread 0x0] sharedlibrary apply-load-rules all

Timo6 commented 12 years ago

Ahh, I had something similar. Try quiting xcode and deleting the build directory and vdrift.xcodeproj/xcuserdata then try building again.

antoniovazquezblanco commented 12 years ago

Still in error after deleting /Users/antoniovazquezblanco/Library/Developer/Xcode/DerivedData, vdrift.xcodeproj/xcuserdata and cleaning the project.

Timo6 commented 12 years ago

Try now :) An absolute path got into the framework search path somehow.

antoniovazquezblanco commented 12 years ago

Tested again. Absolute path stills there: dyld: Library not loaded: /Library/Frameworks/LinearMath.framework/Versions/2.79/LinearMath

Should be ../Frame....

Timo6 commented 12 years ago

How about now?

antoniovazquezblanco commented 12 years ago

Same error....

Timo6 commented 12 years ago

I've tried something else. Does it work now?

Timo6 commented 12 years ago

If antoniovazquezblanco can verify it works, this can be pulled now. I'll make a new pull request for boost.

Timo6 commented 12 years ago

And as soon as I finish, SDL updates its libraries :| Here they are.

Timo6 commented 12 years ago

If you get any library not loaded or similar errors, delete the frameworks from xcode and add them back in (not forgetting the copy files build phase), clean the project and build again.

antoniovazquezblanco commented 12 years ago

Still getting errors:

dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib Referenced from: /Users/antoniovazquezblanco/Library/Developer/Xcode/DerivedData/vdrift-ervseqsfsxshizawhktgsymktekf/Build/Products/Debug/VDrift.app/Contents/MacOS/../Frameworks/Archive.framework/Versions/2.8/Archive Reason: image not found

As you can see framework is ok but it depends on libssl? Why?

Timo6 commented 12 years ago

See #17 and 6c5eea8 for an attempted fix.