Building latest <develop> branch on OS X
Posted: Mon Jun 22, 2015 2:11 pm
I went through the ReadMe for building new gyp-based projects on OS X. I'm having trouble building in Xcode, however. Here is what I did on OS X 10.9.5 with Xcode 6.2 installed in the standard location (/Applications/Xcode.app):
1) make config-mac
2) Tried opening various project files from the build-mac folder in order to compile them. I started with livecode.xcodeproj but also tried engine/engine.xcodeproj. When I try to compile these projects I get an error from revsecurity about a missing -lcustomcrypto library. Here is the full error message:
I did a search through the livecode repository and only came across -lcustomcrypto for the Linux build. Is it supposed to be included on OS X? Any suggestions on how to get the engine building again?
1) make config-mac
2) Tried opening various project files from the build-mac folder in order to compile them. I started with livecode.xcodeproj but also tried engine/engine.xcodeproj. When I try to compile these projects I get an error from revsecurity about a missing -lcustomcrypto library. Here is the full error message:
Code: Select all
Ld /Users/trevordevore/Development/livecode/_build/mac/Debug/revsecurity.dylib normal i386
cd /Users/trevordevore/Development/livecode/thirdparty/libopenssl
export MACOSX_DEPLOYMENT_TARGET=10.6
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/trevordevore/Development/livecode/_build/mac/Debug -L../../prebuilt/lib/mac -F/Users/trevordevore/Development/livecode/_build/mac/Debug -filelist /Users/trevordevore/Development/livecode/_cache/mac/Debug/revsecurity.build/Objects-normal/i386/revsecurity.LinkFileList -exported_symbols_list /Users/trevordevore/Development/livecode/_build/mac/DerivedSources/Debug/src/sslstubs.mac.symlist -install_name /usr/local/lib/revsecurity.dylib -mmacosx-version-min=10.6 -lcustomcrypto -lcustomssl -single_module -Xlinker -dependency_info -Xlinker /Users/trevordevore/Development/livecode/_cache/mac/Debug/revsecurity.build/Objects-normal/i386/revsecurity_dependency_info.dat -o /Users/trevordevore/Development/livecode/_build/mac/Debug/revsecurity.dylib
ld: library not found for -lcustomcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)