GithubHelp home page GithubHelp logo

tbago / base Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 204 KB

basic library for cross platform,implement by c++,some code from open source chromium.

License: MIT License

C 1.84% C++ 98.15% Makefile 0.01%

base's People

Contributors

tbago avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

linzai1992

base's Issues

Apple LLVM 6.0 Error due to cordova device plugin

Hi,
I installed the cordova device plugin for iOS to my project, but as soon as I build the project it gives me a Apple LLVM 6.0 Error.

Under Compile CDVDevice.m I get this description:

CompileC DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/Objects-normal/armv7/CDVDevice.o mpesaCustomer/Plugins/cordova-plugin-device/CDVDevice.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/mac358818/vodafoneMpesaCustomer/platforms/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -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-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode\ 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=6.0 -iquote /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/mpesaCustomer-generated-files.hmap -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/mpesaCustomer-own-target-headers.hmap -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/mpesaCustomer-all-target-headers.hmap -iquote /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/mpesaCustomer-project-headers.hmap -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Products/Debug-iphoneos/include -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Products/Debug-iphoneos/usr/local/lib/include -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/UninstalledProducts/include -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Products/Debug-iphoneos -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/DerivedSources/armv7 -I/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/DerivedSources -F/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Products/Debug-iphoneos -include /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/PrecompiledHeaders/mpesaCustomer-Prefix-dxzmkuigmvorbtaysqymjgwxgdqm/mpesaCustomer-Prefix.pch -MMD -MT dependencies -MF /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/Objects-normal/armv7/CDVDevice.d --serialize-diagnostics /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/Objects-normal/armv7/CDVDevice.dia -c /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/mpesaCustomer/Plugins/cordova-plugin-device/CDVDevice.m -o /Users/mac358818/vodafoneMpesaCustomer/platforms/ios/DerivedData/mpesaCustomer/Build/Intermediates/mpesaCustomer.build/Debug-iphoneos/mpesaCustomer.build/Objects-normal/armv7/CDVDevice.o

clang: error: no such file or directory: '/Users/mac358818/vodafoneMpesaCustomer/platforms/ios/mpesaCustomer/Plugins/cordova-plugin-device/CDVDevice.m'
clang: error: no input files
Command /Applications/Xcode 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Cannot compile with Apple LLVM version 6.0

error message:
In file included from ./strings/string_number_conversions.cc:5:
../base/strings/string_number_conversions.h:121:23: error: implicit instantiation of undefined template
'std::basic_stringstream<char, std::char_traits, std::allocator >'
std::stringstream stream;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1/iosfwd:83:11: note:
template is declared here
class basic_stringstream;
^
In file included from ./strings/string_number_conversions.cc:5:
../base/strings/string_number_conversions.h:131:24: error: implicit instantiation of undefined template
'std::basic_stringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >'
std::wstringstream stream;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.