ruby - RUBY_LIBRARY cmake variable when building Qpid -


im trying build qpid. when running cmake printed log:

could not find ruby  (missing:  ruby_library)  [ ... more stuff cut brevity ]  cmake error @ src/cmakelists.txt:96 (include):   include not find load file:      c:/qpid/0.6/qpid/build/src/rubygen.cmake 

it seems failing because couldnt find file thats supposed have been generated. hasn't since couldn't locate ruby.

but seems @ least partially find ruby since bunch of other ruby_* variables have been set in cmake ruby_executable , ruby_include_dir.

what ruby_library , supposed set to? ruby installed in c:\ruby192.

according /usr/share/cmake-2.8/modules/findruby.cmake:

#  ruby_library      = full path ruby library 

i see you're on windows. guess link against dll, you'd either point @ ${ruby_dir}\lib\msvcrt-ruby191.lib or ${ruby_dir}\bin\msvcrt-ruby191.dll (i'm using names ruby 1.9.1 binary grabbed ruby-lang.org). link against static library, you'll want ${ruby_dir}\lib\msvcrt-ruby-191-static.lib.

i have no idea if fact these libraries built against msvcrt cause problems when linking vs2008 compiler. gave hairball away long ago.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -