0
我目前使用的是Fedora 20 x86_64。 我已經建立了libsndfile這些命令:在編譯Fedora 20上的32位Linux應用程序時使用sndfile庫x86_64
sudo ./configure BASE_FLAGS=-32
sudo make
sudo make install
這一切順利的話,我可以找到在/ usr/local/lib目錄編譯庫。 我想在將在32位內建的應用程序中使用它。 當我嘗試編譯該應用程序時發生此問題。我得到以下錯誤:
/usr/bin/ld: skipping incompatible /builddir/Code/Platformer/../Dependencies/libsndfile/lib/Linux/libsndfile.so when searching for -lsndfile
/usr/bin/ld: skipping incompatible /builddir/Code/Platformer/../Dependencies/libsndfile/lib/Linux/libsndfile.a when searching for -lsndfile
/usr/bin/ld: cannot find -lsndfile
的「跳過不兼容」可能暗示編譯sndfile當我做錯了,但因爲我是一種新的這個我找不到它是什麼。我嘗試了不同的配置,但它們都具有相同的結果。
如果這需要更多的代碼或什麼的,讓我知道你需要什麼。