Ruby on rails RMagick在Windows上构建失败
我正在尝试构建gem在安装了railsinstaller的Windows 8.1机器上安装rmagick gem。我遵循了这个指南: 在Step4Gem安装中,我遇到了一个错误(因为编译工作正常,链接时出现了一些问题): 等等,对于许多(我假设所有)magick函数Ruby on rails RMagick在Windows上构建失败,ruby-on-rails,windows,rmagick,Ruby On Rails,Windows,Rmagick,我正在尝试构建gem在安装了railsinstaller的Windows 8.1机器上安装rmagick gem。我遵循了这个指南: 在Step4Gem安装中,我遇到了一个错误(因为编译工作正常,链接时出现了一些问题): 等等,对于许多(我假设所有)magick函数 你知道如何解决这个问题吗?我不得不使用32位而不是64位安装。感谢谷歌集团Rubyinstaller的好心人为我指明了正确的方向 compiling rmutil.c linking shared-object RMagick2.s
你知道如何解决这个问题吗?我不得不使用32位而不是64位安装。感谢谷歌集团Rubyinstaller的好心人为我指明了正确的方向
compiling rmutil.c
linking shared-object RMagick2.so
rmagick.o: In function `Magick_colors':
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:40: undefined reference to `GetExceptionInfo'
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:42: undefined reference to `GetColorInfoList'
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:44: undefined reference to `DestroyExceptionInfo'
rmagick.o: In function `Magick_fonts':
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:89: undefined reference to `GetExceptionInfo'
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:90: undefined reference to `GetTypeInfoList'
C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\rmagick-2.13.2\ext\RMagick/rmagick.c:92: undefined reference to `DestroyExceptionInfo'
rmagick.o: In function `Magick_init_formats':