Closed shanekoss closed 5 years ago
What's the sdk version you used? Would specify libaws-c-common.a libaws-checksums.a libaws-c-event-stream.a solve your problem?
@singku - thanks for the reply. Version 1.7.85. I'll try specifying those libs.
@singku - thanks again - that and updating and linking to the latest curl did the trick. cheers!
What platform/OS are you using?
OSX - High Sierra
What compiler are you using? what version?
Xcode 10.1
What's your CMake arguments?
cmake ../ -DBUILD_ONLY="s3" -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
Can you provide a TRACE level log? (sanitize any sensitive information)
I have been using the dynamic core and s3 libs but would prefer them static - so attempting to build.
Everything builds okay - but when linking in Xcode - i get the errors below.
I found a similar issue in
https://github.com/aws/aws-sdk-cpp/issues/1052
but i could not find a variation of a custom CMakeLists.txt file that works.
Thanks!
/bin/mkdir -p /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64 write-file /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64/testapp.LinkFileList
Create product structure
/bin/mkdir -p /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents /bin/mkdir -p /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents/MacOS /bin/mkdir -p /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents/Resources
ProcessInfoPlistFile build/Debug/testapp.app/Contents/Info.plist Info-App.plist cd /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX builtin-infoPlistUtility /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/Info-App.plist -genpkginfo /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents/PkgInfo -expandbuildsettings -platform macosx -o /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents/Info.plist
warning: invalid character '_' in Bundle Identifier at column 16. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
CopyPlistFile build/Debug/testapp.app/Contents/Resources/RecentFilesMenuTemplate.nib RecentFilesMenuTemplate.nib cd /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX builtin-copyPlist --outdir /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/testapp.app/Contents/Resources -- RecentFilesMenuTemplate.nib
CompileC /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64/sqlite3.o /Users/test/Documents/Coding_Projects/testapp/Source/sqlite/sqlite3.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c11 -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wunreachable-code -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -D_DEBUG=1 -DDEBUG=1 -DJUCER_XCODE_MAC_F6D2F4CF=1 -DJUCE_APP_VERSION=1.0.0 -DJUCE_APP_VERSION_HEX=0x10000 -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.11 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Index/DataStore -I/Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug/include -I../../JuceLibraryCode -I/Users/test/Documents/Coding_Projects/JUCE/modules -I../../lib -I/Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/DerivedSources/x86_64 -I/Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/DerivedSources -Wreorder -F/Users/test/Documents/Coding_Projects/testapp/Builds/MacOSX/build/Debug -MMD -MT dependencies -MF /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64/sqlite3.d --serialize-diagnostics /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64/sqlite3.dia -c /Users/test/Documents/Coding_Projects/testapp/Source/sqlite/sqlite3.c -o /Users/test/Library/Developer/Xcode/DerivedData/testapp-awolnbjmawwwbcdwqdlzsffixwff/Build/Intermediates.noindex/testapp.build/Debug/testapp\ -\ App.build/Objects-normal/x86_64/sqlite3.o
/Users/test/Documents/Coding_Projects/testapp/Source/sqlite/sqlite3.c:33775:14: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR ); ~ ^
~~~~~~ /Users/test/Documents/Coding_Projects/testapp/Source/sqlite/sqlite3.c:32820:21: note: expanded from macro 'osWrite'define osWrite ((ssize_t()(int,const void,size_t))aSyscall[11].pCurrent)
/Users/test/Documents/Coding_Projects/testapp/Source/sqlite/sqlite3.c:35519:42: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32] int sharedLockByte = SHARED_FIRST+pInode->sharedByte;