-libscrypto.a resolves to libibcrypto.a 
So do not use a - when specifying the file explicitly, and do not put the 
lib prefix when specifying relatively. "-lcryptopp" is what you want or or 
"/<full path>/libcryptopp.a" (no dash)


On Tuesday, November 17, 2015 at 2:48:19 PM UTC-5, Josh Brothers wrote:
>
> Hi,
>
> I'm quite a beginner to programming so am probably being incredibly stupid 
> here. Am trying to add crypto++ as a library for xcode and after a lot of 
> downloading and tinkering I've managed to get the build down to just one 
> error:
>
> Ld 
> /Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Products/Debug/Security\
>  
> Test normal x86_64
>
>     cd "/Users/Home/Documents/University/Maths Project/Security 
> Test/Security Test"
>
>     export MACOSX_DEPLOYMENT_TARGET=10.11
>
>     
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
>  
> -arch x86_64 -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
>  
> -L/Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Products/Debug
>  
> -L/opt/local/lib -L/usr/local/cryptopp-ios/lib 
> -F/Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Products/Debug
>  
> -filelist 
> /Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Intermediates/Security\
>  
> Test.build/Debug/Security\ Test.build/Objects-normal/x86_64/Security\ 
> Test.LinkFileList -mmacosx-version-min=10.11 -libcrptopp.a -ObjC 
> -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -lcrypto -lcryptopp -Xlinker 
> -dependency_info -Xlinker 
> /Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Intermediates/Security\
>  
> Test.build/Debug/Security\ Test.build/Objects-normal/x86_64/Security\ 
> Test_dependency_info.dat -o 
> /Users/Home/Library/Developer/Xcode/DerivedData/Security_Test-fycwkwoggsztvwgdkldgjwdrhtsi/Build/Products/Debug/Security\
>  
> Test
>
>
> ld: library not found for -libcrptopp.a
>
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
>
>
> Any idea what might be causing this, and how I can fix it?
>
>
> I downloaded the library from the xcode project section of 
> https://www.cryptopp.com/wiki/IOS_(Command_Line).
>
>
> Cheers
>
>
> Josh
>

-- 
-- 
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