2011-03-19 49 views
2

嗨 我想在Ruby中運行使用Qt的GUI。 我下載QT4-qtruby-2.1.0從http://rubyforge.org/frs/?group_id=181&release_id=12479 但是,當我在它運行cmake的目錄中我得到這個錯誤:Ubuntu上的Ruby和Qt集成10.04

 
CMake Error at cmake/modules/FindRUBY.cmake:85 (MESSAGE): 
    Could not find Ruby 
Call Stack (most recent call first): 
    CMakeLists.txt:77 (FIND_PACKAGE) 

-- Configuring incomplete, errors occurred! 

我做錯了嗎?

+0

你是怎麼安裝Ruby的?你安裝了任何開發庫嗎? – belacqua 2011-03-24 02:37:39

回答

1

也許你錯過了ruby-dev,the development part of the ruby package

+0

它看起來很愚蠢,但我不得不改變我的要求'QT',要求'QT4'使它工作:)其實我沒有嘗試在修復require指令後建立它 – Nozim 2011-04-01 12:10:04