weixin_39710951 2020-11-29 10:52 采纳率: 0%
浏览 0

Compilation fails on "No rule to make target `/usr/lib/libbz2.so'"

Originally reported on Google Code with ID 1506


Compilation fails on Ubuntu 12.04 (64-bit) with this:

...
[ 93%] Building CXX object rtgui/CMakeFiles/rth.dir/popuptogglebutton.cc.o
[ 94%] Building CXX object rtgui/CMakeFiles/rth.dir/sharpenedge.cc.o
[ 95%] Building CXX object rtgui/CMakeFiles/rth.dir/sharpenmicro.cc.o
make[2]: *** No rule to make target `/usr/lib/libbz2.so', needed by `rtgui/rawtherapee'.
 Stop.
make[1]: *** [rtgui/CMakeFiles/rth.dir/all] Error 2
make: *** [all] Error 2

I'm using:

cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_CXX_FLAGS_RELEASE="-Ofast" -DCMAKE_C_FLAGS="-O3"
-DCMAKE_CXX_FLAGS="-O3" -DCMAKE_INSTALL_PREFIX=./Release -DBINDIR=. -DDATADIR=. -DLIBDIR=.
-DPROC_TARGET_NUMBER:STRING=1 -DBUILD_BUNDLE=ON

$hg summary
parent: 2008:f1e80d00c309 tip
 Right Panel filter options: bad height. Fixed, committed on behalf of Hombre.
branch: default
commit: 665 unknown (clean)
update: (current)

Reported by zdenek.materna on 2012-07-25 17:24:49

该提问来源于开源项目:Beep6581/RawTherapee

  • 写回答

6条回答 默认 最新

  • weixin_39710951 2020-11-29 10:52
    关注
    
    Should I provide any other information?
    

    Reported by zdenek.materna on 2012-07-25 17:25:26

    评论

报告相同问题?