ubuntuにceresをインストールし、http://ceres-solver.org/installation.html sudo apt-get install libgoogle-glog-dev からのLinux部分のすべてのコマンドラインを使用して、インストールを作成します インストールしたようですceres ソルバーとその依存関係は問題ありません。しかし、テスト ファイル bin/simple_bundle_adjuster ../ceres-solver-1.12.0/data/problem-16-22106-pre.txt を実行しようとすると、ファイル ../ceres-solver-1.9.0 を開くことができないことが示されます。 /data/problem-16-22106-pre.tx 次に、チュートリアルでコマンド g++ -I/usr/include/eigen3 helloworld.cpp -o helloworld を使用して helloworld をコンパイルしようとしました。
への未定義の参照google::InitGoogleLogging(char const*)'
helloworld.cpp:(.text+0x104): undefined reference to
ceres::Problem::Problem()' helloworld.cpp:(.text+0x155): `ceres::Problem::AddResidualBlock(ceres::CostFunction*, ceres::LossFunction*, double*)' への未定義参照' Iそれらをすべてリストしませんでした。しかし、Googleに関するものはまったく見つからないようです。あなたが私を助けてくれることを願っています!! それは私に山ほどの問題を与えます。
1032 次