Skip to content

Instantly share code, notes, and snippets.

@beanieboi
Created May 17, 2012 08:12
Show Gist options
  • Save beanieboi/2717323 to your computer and use it in GitHub Desktop.
Save beanieboi/2717323 to your computer and use it in GitHub Desktop.
cd tmp/x86_64-darwin11.3.0/ruby_mapnik/1.9.3
make
compiling ../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
In file included from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/../to_from_ruby.hpp:5,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/Auto_Function_Wrapper.ipp:12,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/Auto_Function_Wrapper.hpp:826,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/wrap_function.ipp:10,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/wrap_function.hpp:338,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/define_method_and_auto_wrap.ipp:4,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/define_method_and_auto_wrap.hpp:29,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Module_impl.ipp:1,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Module.ipp:4,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Class.ipp:4,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Class.hpp:5,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Data_Type.ipp:4,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Data_Type_defn.hpp:258,
from /Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/Data_Type.hpp:4,
from ../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:27:
/Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/../to_from_ruby.ipp: In function ‘typename Rice::detail::from_ruby_<T>::Retval_T from_ruby(Rice::Object) [with T = int]’:
/Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/../to_from_ruby.ipp:42: warning: implicit conversion shortens 64-bit value into a 32-bit value
/Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/../to_from_ruby.ipp: In function ‘typename Rice::detail::from_ruby_<T>::Retval_T from_ruby(Rice::Object) [with T = unsigned int]’:
/Users/ben/.rvm/gems/ruby-1.9.3-p194@mapnik/gems/rice-1.4.3/ruby/lib/include/rice/detail/../to_from_ruby.ipp:104: warning: implicit conversion shortens 64-bit value into a 32-bit value
In file included from /usr/local/Cellar/mapnik/2.0.1/include/mapnik/feature.hpp:28,
from ../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:33:
/usr/local/Cellar/mapnik/2.0.1/include/mapnik/value.hpp: In member function ‘int mapnik::impl::to_int::operator()(double) const’:
/usr/local/Cellar/mapnik/2.0.1/include/mapnik/value.hpp:678: warning: implicit conversion shortens 64-bit value into a 32-bit value
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp: At global scope:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:44: error: ‘context_ptr’ in namespace ‘mapnik’ does not name a type
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:57: error: ‘context_ptr’ in namespace ‘mapnik’ does not name a type
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp: In constructor ‘<unnamed>::context_holder::context_holder()’:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:48: error: class ‘<unnamed>::context_holder’ does not have any field named ‘ptr’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:48: error: ‘context_type’ is not a member of ‘mapnik’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:48: error: ‘context_type’ is not a member of ‘mapnik’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:48: error: no matching function for call to ‘make_shared()’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp: In member function ‘int<unnamed>::context_holder::push(const std::string&)’:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:54: error: ‘ptr’ was not declared in this scope
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp: At global scope:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:65: error: expected constructor, destructor, or type conversion before ‘from_ruby’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp: In function ‘void register_feature(Rice::Module)’:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:79: error: ‘context_ptr’ is not a member of ‘mapnik’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:79: error: ‘context_ptr’ is not a member of ‘mapnik’
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:79: error: template argument 2 is invalid
/usr/local/Cellar/mapnik/2.0.1/include/mapnik/feature.hpp: In member function ‘unsigned int mapnik::feature<T1, T2>::num_geometries() const [with T1 = mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, T2 = boost::shared_ptr<mapnik::raster>]’:
../../../../ext/ruby_mapnik/_mapnik_feature.rb.cpp:82: instantiated from here
/usr/local/Cellar/mapnik/2.0.1/include/mapnik/feature.hpp:99: warning: implicit conversion shortens 64-bit value into a 32-bit value
make: *** [_mapnik_feature.rb.o] Error 1
rake aborted!
Command failed with status (2): [make...]
Tasks: TOP => default => test => compile => compile:x86_64-darwin11.3.0 => compile:ruby_mapnik:x86_64-darwin11.3.0 => copy:ruby_mapnik:x86_64-darwin11.3.0:1.9.3 => tmp/x86_64-darwin11.3.0/ruby_mapnik/1.9.3/ruby_mapnik.bundle
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment