HipByte / RubyMotionSamples

A collection of RubyMotion applications for code samples.
http://www.rubymotion.com
1.21k stars 341 forks source link

Conference sample fails to build #57

Closed esawdust closed 9 years ago

esawdust commented 9 years ago

I am able to build and install all other RubyMotionSample projects on my Samsung S4. However, the Conference sample will not build. I'm targeting API 19

incline:Conference lcox$ rake clean
    Delete ./build
    Delete vendor/android-support-v4.jar.bridgesupport
    Delete vendor/google-play-services_lib/libs/google-play-services.jar.bridgesupport
incline:Conference lcox$ rake
    Create ./build/Development-19/AndroidManifest.xml
warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
1 warning
warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
1 warning
    Create vendor/android-support-v4.jar.bridgesupport
    Create vendor/google-play-services_lib/libs/google-play-services.jar.bridgesupport
   Compile ./app/about_fragment.rb
   Compile ./app/main_activity.rb
   Compile ./app/schedule_adapter.rb
   Compile ./app/schedule_fragment.rb
   Compile ./app/sponsors_fragment.rb
   Compile ./app/venue_fragment.rb
    Create ./build/Development-19/lib/armeabi/libpayload.so
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s: Assembler messages:
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2265: Error: bad expression
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2265: Error: junk at end of line, first unrecognized character is `r'
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: Missing symbol name in directive
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: unrecognized symbol type "rb_scope__schedule"
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: junk at end of line, first unrecognized character is `='
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2277: Error: junk at end of line, first unrecognized character is `"'
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2325: Error: expected comma after name `' in .size directive
clang++: error: assembler command failed with exit code 1 (use -v to see invocation)
rake aborted!
Command failed with status (1): [/Users/lcox/android-rubymotion/ndk/toolcha...]
/Library/RubyMotionPre/lib/motion/project/template/android.rb:241:in `block in <top (required)>'
/Users/lcox/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/Users/lcox/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => default => emulator:start => build
(See full trace by running task with --trace)
incline:Conference lcox$

My Mac is: OS X Yosemite Version 10.10.1 Hardware Overview: Model Name: iMac Model Identifier: iMac12,1 Processor Name: Intel Core i5 Processor Speed: 2.5 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 6 MB Memory: 4 GB Boot ROM Version: IM121.0047.B1F SMC Version (system): 1.71f22

Watson1978 commented 9 years ago

Looks this duplicate #52. Please discuss in the issue.

esawdust commented 9 years ago

The given output of #52 is nothing like the build output supplied. There are error messages in this issue that have no similarity whatsoever to #52. This seems like an assembler, compiler problem if you look at the error messages here. #52 had errors related to certain .so not being found. That is not the case here. This should be reopened as it is not a duplicate of #52.

/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2265: Error: bad expression
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2265: Error: junk at end of line, first unrecognized character is `r'
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: Missing symbol name in directive
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: unrecognized symbol type "rb_scope__schedule"
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2276: Error: junk at end of line, first unrecognized character is `='
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2277: Error: junk at end of line, first unrecognized character is `"'
/var/folders/gg/twv66w2j4c10sdq24_kwlctw0000gn/T/schedule_adapter-b90c3a.s:2325: Error: expected comma after name `' in .size directive
clang++: error: assembler command failed with exit code 1 (use -v to see invocation)