0
在嘗試使用eclipse編譯cpp程序。我遇到以下鏈接錯誤。日食鏈接錯誤
Description Resource Path Location Type
undefined reference to `gsl_isnan' mrconvert line 453, external location: C:\mrtrix\source\mrtrix-0.2.11\lib\mrtrix.h C/C++ Problem
首先,我不確定如何找到所需的所有庫。非常感謝在這方面的幫助。但是,當我嘗試添加一個庫到日食例如C:\ GnuWin32 \ lib \ libgsl 「項目>屬性> C/C++常規>路徑和符號>庫在GNU C++下單擊添加,然後單擊文件系統和投入的路徑文件「
我得到這個錯誤:
Description Resource Path Location Type
cannot find -lC:/GnuWin32/lib/libgsl mrconvert C/C++ Problem
如何正確鏈接到圖書館日食?
非常感謝 傑西
謝謝塞薩爾,沒有意識到路徑和實際的圖書館必須分開 – 2013-03-22 09:50:10