Fedora (Core) 総合スレッド Part 33at LINUX
Fedora (Core) 総合スレッド Part 33 - 暇つぶし2ch151:ugen
07/12/22 22:28:54 uE8A8ap1
fedora7でC++ベースで数値計算をしております。
for文を行列計算にしようと思い、をliboctaveを使いたいですが、コンパイルしたところエラーがでて、コンパイルができません。

URLリンク(www.me.cs.scitec.kobe-u.ac.jp)
の基本的な使い方の時のエラー
****************************************
sample.cpp:2:20: error: matrix.h: そのようなファイルやディレクトリはありません
sample.cpp: In function ‘int main()’:
sample.cpp:6: error: ‘math’ has not been declared
sample.cpp:6: error: expected primary-expression before ‘double’
sample.cpp:6: error: expected `;' before ‘double’
sample.cpp:7: error: ‘math’ has not been declared
sample.cpp:7: error: expected primary-expression before ‘double’
sample.cpp:7: error: expected `;' before ‘double’
sample.cpp:10: error: ‘m1’ was not declared in this scope
sample.cpp:12: error: ‘rand’ was not declared in this scope
sample.cpp:13: error: ‘m2’ was not declared in this scope
sample.cpp:16: error: ‘cout’ was not declared in this scope
sample.cpp:16: error: ‘m1’ was not declared in this scope
sample.cpp:17: error: ‘m2’ was not declared in this scope
****************************************


URLリンク(liboctave.halfmoon.jp)
のエラー
****************************************
/usr/bin/ld: skipping incompatible /usr/lib/liblapack.so when searching for -llapack
/usr/bin/ld: skipping incompatible /usr/lib/liblapack.a when searching for -llapack
/usr/bin/ld: cannot find -llapack
****************************************

よろしくお願いします。


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch