I have made that change but the error persists.  The call from Xcode looks 
the same as before but now the call has -llibA first instead of cryptopp

On Tuesday, December 6, 2016 at 7:36:30 PM UTC-6, Jeffrey Walton wrote:
>
>
>
> On Tuesday, December 6, 2016 at 3:19:42 PM UTC-5, pdoh...@cipherloc.net 
> wrote:
>>
>> Hey Jeff, 
>>
>> Sorry for not responding as quickly, I was tasked to another project but 
>> am back now.  Below is the command I believe you are looking for.  This is 
>> being used inside of xcode:
>>
>> Ld 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Products/Debug-iphoneos/playground.app/playground
>>  
>> normal arm64
>>     cd /Users/dohertyp/Desktop/LibTake2/playground
>>     export IPHONEOS_DEPLOYMENT_TARGET=10.0
>>     export 
>> PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>>     
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>>  
>> -arch arm64 -isysroot 
>> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk
>>  
>> -L/Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Products/Debug-iphoneos
>>  
>> -L/Users/dohertyp/Desktop/LibTake2/playground 
>> -F/Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Products/Debug-iphoneos
>>  
>> -filelist 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Intermediates/playground.build/Debug-iphoneos/playground.build/Objects-normal/arm64/playground.LinkFileList
>>  
>> -Xlinker -rpath -Xlinker @executable_path/Frameworks 
>> -miphoneos-version-min=10.0 -dead_strip -Xlinker -object_path_lto -Xlinker 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Intermediates/playground.build/Debug-iphoneos/playground.build/Objects-normal/arm64/playground_lto.o
>>  
>> -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime 
>> -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos
>>  
>> -Xlinker -add_ast_path -Xlinker 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Intermediates/playground.build/Debug-iphoneos/playground.build/Objects-normal/arm64/playground.swiftmodule
>>  
>> -lc++.1 -lcryptopp -llibA -Xlinker -dependency_info -Xlinker 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Intermediates/playground.build/Debug-iphoneos/playground.build/Objects-normal/arm64/playground_dependency_info.dat
>>  
>> -o 
>> /Users/dohertyp/Library/Developer/Xcode/DerivedData/playground-gllmwbkfyzurpqavqcyhfjajimtg/Build/Products/Debug-iphoneos/playground.app/playground
>>
>
> > ... -lc++.1 -lcryptopp -llibA -Xlinker -dependency_info -Xlinker 
>
> libA depends on libcryptpp. The order needs to be:
>
>     -llibA -llibcryptopp
>
> Jeff
>

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to