<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
	>
<channel>
	<title>ODE本のソースコード へのコメント</title>
	<atom:link href="http://demura.net/9ode/405.html/feed" rel="self" type="application/rss+xml" />
	<link>http://demura.net/9ode/405.html</link>
	<description>ロボット達のサッカーW杯RoboCup，つくばチャレンジ，物理計算エンジンＯＤＥと本サイトで開発している３次元描画ライブラリirrDrawStuffなどのロボット開発プラットフォームを開発者の視点で情報発信． なお，ODE本では左下動画のようなロボットシミュレータ作成法を学びます．まずは動画をクリックして体験しよう！</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:31:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/843080b3ff15706.png" alt="demu MonsterID Icon" height="48" width="48"/> demu より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-965</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/843080b3ff15706.png" alt="demu MonsterID Icon" height="48" width="48"/> demu</dc:creator>
		<pubDate>Fri, 11 Jul 2008 09:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-965</guid>
		<description>マツさん，

すみませんリンクが切れていたようです．ご指摘ありがとうございます．

訂正しました．

でむ</description>
		<content:encoded><![CDATA[<p>マツさん，</p>
<p>すみませんリンクが切れていたようです．ご指摘ありがとうございます．</p>
<p>訂正しました．</p>
<p>でむ</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/4fc5212da240047.png" alt="マツ MonsterID Icon" height="48" width="48"/> マツ より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-964</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/4fc5212da240047.png" alt="マツ MonsterID Icon" height="48" width="48"/> マツ</dc:creator>
		<pubDate>Fri, 11 Jul 2008 06:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-964</guid>
		<description>　はじめまして、数日ほど前からODEを使い始めました。超初心者です。

　早速ですが、なぜかソースコードを見ようとすると404エラーが出てしまうのです。理由が分からないでしょうか？

　</description>
		<content:encoded><![CDATA[<p>　はじめまして、数日ほど前からODEを使い始めました。超初心者です。</p>
<p>　早速ですが、なぜかソースコードを見ようとすると404エラーが出てしまうのです。理由が分からないでしょうか？</p>
<p>　</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-957</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Wed, 13 Jun 2007 03:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-957</guid>
		<description>halさん，

コメントありがとうございます．良著といって頂けて目がハート印です．

さて，御質問の件ですが，お使いの環境が良くわからないので外しているかもしれませんが，
全角の文字（スペース含む）が入ってないでしょうか？
gccやg++ではコメント以外に全角文字があるとコンパイルできません．

全角のスペースも表示するようにエディターを変更してください．
コメントをわかりやすいように日本語にしたので，この手の問題が発生する場合があります．

解決しない場合は，お使いの環境を詳しく教えてください．</description>
		<content:encoded><![CDATA[<p>halさん，</p>
<p>コメントありがとうございます．良著といって頂けて目がハート印です．</p>
<p>さて，御質問の件ですが，お使いの環境が良くわからないので外しているかもしれませんが，<br />
全角の文字（スペース含む）が入ってないでしょうか？<br />
gccやg++ではコメント以外に全角文字があるとコンパイルできません．</p>
<p>全角のスペースも表示するようにエディターを変更してください．<br />
コメントをわかりやすいように日本語にしたので，この手の問題が発生する場合があります．</p>
<p>解決しない場合は，お使いの環境を詳しく教えてください．</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/821873012ec2e4d.png" alt="hal MonsterID Icon" height="48" width="48"/> hal より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-958</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/821873012ec2e4d.png" alt="hal MonsterID Icon" height="48" width="48"/> hal</dc:creator>
		<pubDate>Tue, 12 Jun 2007 13:33:31 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-958</guid>
		<description>はじめまして。halと申します。よろしくお願いいたします。

私は常々ロボット制御を勉強したいと思っており、そのきっかけを探していたのですが、あるとき立ち寄った本屋にて偶然本著「ロボットシュミレーション」に出会いました。
他のロボット制御本にはない切り口と分かりやすさから、即購入させていただきました。良著に出会えて喜ばしく思っている次第であります。

さて、本題ですが、
現在インストールを正常に終え、「step1 ODE初体験」の項にて、ボールをバウンドさせようとしています。で、Cソースを変更し、makeを実行しようとしているのですが、どうしてもerrorが出てしまいます。
具体的には以下の通りです。

$ make
g++ -Wall -fno-exceptions -fno-rtti  -g -DWIN32   -c hello.cpp  -L../../drawstuff/src -L../../ode/src -L/usr/local/lib   -I. -I../../include  -I/usr/include
hello.cpp:1: error: stray &#039;\239&#039; in program
hello.cpp:1: error: stray &#039;\187&#039; in program
hello.cpp:1: error: stray &#039;\191&#039; in program
make: *** [hello.o] Error 1

Cソースの変更部分を元に戻しても、上記のようにerrorとなってしまいます。pro1-1フォルダ内のbounce.cppを書き換えています。

お恥ずかしながらC言語を扱うようになってからまだ半年程度の素人のため、「何があかんのや～？？」と途方にくれています。すみませんがアドバイスよろしくお願いします。</description>
		<content:encoded><![CDATA[<p>はじめまして。halと申します。よろしくお願いいたします。</p>
<p>私は常々ロボット制御を勉強したいと思っており、そのきっかけを探していたのですが、あるとき立ち寄った本屋にて偶然本著「ロボットシュミレーション」に出会いました。<br />
他のロボット制御本にはない切り口と分かりやすさから、即購入させていただきました。良著に出会えて喜ばしく思っている次第であります。</p>
<p>さて、本題ですが、<br />
現在インストールを正常に終え、「step1 ODE初体験」の項にて、ボールをバウンドさせようとしています。で、Cソースを変更し、makeを実行しようとしているのですが、どうしてもerrorが出てしまいます。<br />
具体的には以下の通りです。</p>
<p>$ make<br />
g++ -Wall -fno-exceptions -fno-rtti  -g -DWIN32   -c hello.cpp  -L../../drawstuff/src -L../../ode/src -L/usr/local/lib   -I. -I../../include  -I/usr/include<br />
hello.cpp:1: error: stray &#8216;\239&#8242; in program<br />
hello.cpp:1: error: stray &#8216;\187&#8242; in program<br />
hello.cpp:1: error: stray &#8216;\191&#8242; in program<br />
make: *** [hello.o] Error 1</p>
<p>Cソースの変更部分を元に戻しても、上記のようにerrorとなってしまいます。pro1-1フォルダ内のbounce.cppを書き換えています。</p>
<p>お恥ずかしながらC言語を扱うようになってからまだ半年程度の素人のため、「何があかんのや～？？」と途方にくれています。すみませんがアドバイスよろしくお願いします。</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-959</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Sun, 03 Jun 2007 11:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-959</guid>
		<description>ヌロンさん，

実際見ないとわからないケースが度々あるので，解決してホットしています．

なお，Linuxをお使いの場合は，パソコンのグラフィクスチップにLinuxのグラフィックスドライバーが対応していないと描画速度が非常に遅くなり，空の雲が全くたなびかない場合があります．ODEはゲームの物理計算エンジンに使われているように非常に高速です．その場合は，グラフィクスチップ用のドライバーを探すか，Linuxのドライバーがあるグラフィクスボードに変更する必要があります．</description>
		<content:encoded><![CDATA[<p>ヌロンさん，</p>
<p>実際見ないとわからないケースが度々あるので，解決してホットしています．</p>
<p>なお，Linuxをお使いの場合は，パソコンのグラフィクスチップにLinuxのグラフィックスドライバーが対応していないと描画速度が非常に遅くなり，空の雲が全くたなびかない場合があります．ODEはゲームの物理計算エンジンに使われているように非常に高速です．その場合は，グラフィクスチップ用のドライバーを探すか，Linuxのドライバーがあるグラフィクスボードに変更する必要があります．</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="ヌロン MonsterID Icon" height="48" width="48"/> ヌロン より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-960</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="ヌロン MonsterID Icon" height="48" width="48"/> ヌロン</dc:creator>
		<pubDate>Sun, 03 Jun 2007 00:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-960</guid>
		<description>返信ありがとうございました。
&gt;外しているかもしれませんが，/usr/local/libを/etc/ld.so.confに追加し，/sbin/ldconfigを実行してください．

上記のアドバイスでお蔭様で動作するようになりました。

1.　ld.so.confに/usr/local/libを１行追加（root）
　$ cat etc/ld.so.conf
　include ld.so.conf.d/*.conf
　/usr/local/lib

2./sbin/ldconfig を実行（root）

3.Pro1-1のhelloを実行（ODEをインストールした一般ユーザ）
$ ./hello
libGL warning: 3D driver claims to not support visual 0x4b

Simulation test environment v0.02
   Ctrl-P : pause / unpause (or say `-pause&#039; on command line).
   Ctrl-O : single step when paused.
   Ctrl-T : toggle textures (or say `-notex&#039; on command line).
   Ctrl-S : toggle shadows (or say `-noshadow&#039; on command line).
   Ctrl-V : print current viewpoint coordinates (x,y,z,h,p,r).
   Ctrl-W : write frames to ppm files: frame/frameNNN.ppm
   Ctrl-X : exit.</description>
		<content:encoded><![CDATA[<p>返信ありがとうございました。<br />
>外しているかもしれませんが，/usr/local/libを/etc/ld.so.confに追加し，/sbin/ldconfigを実行してください．</p>
<p>上記のアドバイスでお蔭様で動作するようになりました。</p>
<p>1.　ld.so.confに/usr/local/libを１行追加（root）<br />
　$ cat etc/ld.so.conf<br />
　include ld.so.conf.d/*.conf<br />
　/usr/local/lib</p>
<p>2./sbin/ldconfig を実行（root）</p>
<p>3.Pro1-1のhelloを実行（ODEをインストールした一般ユーザ）<br />
$ ./hello<br />
libGL warning: 3D driver claims to not support visual 0x4b</p>
<p>Simulation test environment v0.02<br />
   Ctrl-P : pause / unpause (or say `-pause&#8217; on command line).<br />
   Ctrl-O : single step when paused.<br />
   Ctrl-T : toggle textures (or say `-notex&#8217; on command line).<br />
   Ctrl-S : toggle shadows (or say `-noshadow&#8217; on command line).<br />
   Ctrl-V : print current viewpoint coordinates (x,y,z,h,p,r).<br />
   Ctrl-W : write frames to ppm files: frame/frameNNN.ppm<br />
   Ctrl-X : exit.</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-961</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Sat, 02 Jun 2007 08:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-961</guid>
		<description>ヌロン様

外しているかもしれませんが，/usr/local/libを/etc/ld.so.confに追加し，/sbin/ldconfigを実行してください．</description>
		<content:encoded><![CDATA[<p>ヌロン様</p>
<p>外しているかもしれませんが，/usr/local/libを/etc/ld.so.confに追加し，/sbin/ldconfigを実行してください．</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-962</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="でむ MonsterID Icon" height="48" width="48"/> でむ</dc:creator>
		<pubDate>Sat, 02 Jun 2007 08:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-962</guid>
		<description>ヌロン様

拙著をご購入頂き誠にありがとうございます．
高専生や大学低学年を対象に執筆しましたので，昔プログラムを楽しまれていた方がご購入されることは想定外ですが，うれしい誤算です．どこで拙著の存在を知られたか教えて頂ければ幸いです．

１．　TypeKeyIDは以下のサイトへいき，無料アカウントを新規に作成により作成してください．
なお，TypeKeyIDがなくても投稿は可能です．ただし，私が認証するまで投稿が表示されません．
https://www.typekey.com/t/typekey/?lang=ja

2.  libraryが見えないようです．
make installはされましたでしょうか？
/usr/local/libにlibode.aとlibode.soがなければいけません．ございますか？

3.　「../../include/ode/config.h:264:1: 警告: &quot;dDOUBLE&quot; が再定義されました」

これは私のミスです．ごめんなさい．警告なのでコンパイルは可能ですが，警告のでないmakefile.linuxにソースコードを入れ替えました．http://demura.net/archives/2007/05/step1.htmlから新しいファイルがインストール可能です．

なお，警告の原因はgcc -Wall -g -DdDOUBLEとdDOUBLEを定義したためです．これは描画用ライブラリdrawstuffのAPIが単精度と倍精度で違うため，倍精度を定義して倍精度用APIを使っていました．今の拙著では，プログラム1.2の４～６行目で単精度と倍精度に対応しているため不要です．新しいファイルをダウンロードしない場合はmakefile.linuxの２行目にある-DdDOUBLEを消してください．</description>
		<content:encoded><![CDATA[<p>ヌロン様</p>
<p>拙著をご購入頂き誠にありがとうございます．<br />
高専生や大学低学年を対象に執筆しましたので，昔プログラムを楽しまれていた方がご購入されることは想定外ですが，うれしい誤算です．どこで拙著の存在を知られたか教えて頂ければ幸いです．</p>
<p>１．　TypeKeyIDは以下のサイトへいき，無料アカウントを新規に作成により作成してください．<br />
なお，TypeKeyIDがなくても投稿は可能です．ただし，私が認証するまで投稿が表示されません．<br />
<a href="https://www.typekey.com/t/typekey/?lang=ja" rel="nofollow">https://www.typekey.com/t/typekey/?lang=ja</a></p>
<p>2.  libraryが見えないようです．<br />
make installはされましたでしょうか？<br />
/usr/local/libにlibode.aとlibode.soがなければいけません．ございますか？</p>
<p>3.　「../../include/ode/config.h:264:1: 警告: &#8220;dDOUBLE&#8221; が再定義されました」</p>
<p>これは私のミスです．ごめんなさい．警告なのでコンパイルは可能ですが，警告のでないmakefile.linuxにソースコードを入れ替えました．http://demura.net/archives/2007/05/step1.htmlから新しいファイルがインストール可能です．</p>
<p>なお，警告の原因はgcc -Wall -g -DdDOUBLEとdDOUBLEを定義したためです．これは描画用ライブラリdrawstuffのAPIが単精度と倍精度で違うため，倍精度を定義して倍精度用APIを使っていました．今の拙著では，プログラム1.2の４～６行目で単精度と倍精度に対応しているため不要です．新しいファイルをダウンロードしない場合はmakefile.linuxの２行目にある-DdDOUBLEを消してください．</p>
]]></content:encoded>
	</item>
	<item>
		<title><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="ヌロン MonsterID Icon" height="48" width="48"/> ヌロン より</title>
		<link>http://demura.net/9ode/405.html/comment-page-1#comment-963</link>
		<dc:creator><img class="monsterid" src="http://demura.net/wordpress/wp-content/plugins/wp-monsterid/monsterid/f1aa84a1d49b4bf.png" alt="ヌロン MonsterID Icon" height="48" width="48"/> ヌロン</dc:creator>
		<pubDate>Sat, 02 Jun 2007 08:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://demura.net/%e6%9c%aa%e5%88%86%e9%a1%9e/405.html#comment-963</guid>
		<description>「ロボットシミュレーション」の発刊おめでとうございます。
早速、本、購入させていただきました。
この本を参考にしながら、趣味でロボットシミュレーションを
楽しみたいなと始めたところです。
現場を離れており、最近はプログラムを作ることはありません
が、若いころ結構作っていたので昔の感覚を取り戻しつつのチ
ャレンジ中です。

さて、本題になりますが、
実際にパソコンでトライしてみようと、早速、ホームページを
参考にしながら、サンプルプログラム（Hello、monoBot）を動
かしてみたのですが、うまく動作できませんでした。
どのように対応すれば良いかアドバイスいただけると助かりま
す。

また、http://demura.net/で投稿できるようにするため、TypeKey
ID
の取得方法についてもご教授いただけませんでしょうか。

よろしくお願いいたします。

以下に、実際に行った手順、動作OS、ログを記載いたします。

【手順】
　・ODEのインストール
　　正常にインストールでき、テストプログラムも動作しまし
た
　・pro1-1のダウンロードとmake
　　正常にmakeできたと思われますが、以下のエラーが発生し
ます
　　error while loading shared libraries: libode.so:
cannot open shared object file: No such file or directory
　・pro1-3のダウンロードとmake
　　pro1-1と同様です。

【動作OS】Linux ディストリビューションFedora Core 6

【ログ】pro-1-3をmakeし、実行したときのログです
$ cd pro1-3
$ ls
makefile  makefile.linux  makefile.mingw  makefile.osx
monoBot.cpp
$ cp makefile.linux makefile
$ make
gcc -Wall -g -DdDOUBLE -c monoBot.cpp  -L../../drawstuff
-L../../drawstuff/src -L../../ode/src -L/usr/X11R6/lib
-L/usr/lib -L/usr/local/lib  -I. -I../../include
-I/usr/X11R6/include -I/usr/include -I/usr/local/include
../../include/ode/ode.h:28 から include されたファイル中,
                 monoBot.cpp:6 から:
../../include/ode/config.h:264:1: 警告: &quot;dDOUBLE&quot; が再定
義されました
:1:1: 警告: ここが以前の宣言がある位置です
gcc -Wall -g -DdDOUBLE  -o monoBot monoBot.o
-L../../drawstuff -L../../drawstuff/src -L../../ode/src
-L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib  -I.
-I../../include -I/usr/X11R6/include -I/usr/include
-I/usr/local/include  -lm -lode -ldrawstuff  -lGL -lGLU
$ ./monoBot
./monoBot: error while loading shared libraries:
libode.so: cannot open shared object file: No such file or
directory

$ ls
makefile        makefile.mingw  monoBot      monoBot.o
makefile.linux  makefile.osx    monoBot.cpp</description>
		<content:encoded><![CDATA[<p>「ロボットシミュレーション」の発刊おめでとうございます。<br />
早速、本、購入させていただきました。<br />
この本を参考にしながら、趣味でロボットシミュレーションを<br />
楽しみたいなと始めたところです。<br />
現場を離れており、最近はプログラムを作ることはありません<br />
が、若いころ結構作っていたので昔の感覚を取り戻しつつのチ<br />
ャレンジ中です。</p>
<p>さて、本題になりますが、<br />
実際にパソコンでトライしてみようと、早速、ホームページを<br />
参考にしながら、サンプルプログラム（Hello、monoBot）を動<br />
かしてみたのですが、うまく動作できませんでした。<br />
どのように対応すれば良いかアドバイスいただけると助かりま<br />
す。</p>
<p>また、http://demura.net/で投稿できるようにするため、TypeKey<br />
ID<br />
の取得方法についてもご教授いただけませんでしょうか。</p>
<p>よろしくお願いいたします。</p>
<p>以下に、実際に行った手順、動作OS、ログを記載いたします。</p>
<p>【手順】<br />
　・ODEのインストール<br />
　　正常にインストールでき、テストプログラムも動作しまし<br />
た<br />
　・pro1-1のダウンロードとmake<br />
　　正常にmakeできたと思われますが、以下のエラーが発生し<br />
ます<br />
　　error while loading shared libraries: libode.so:<br />
cannot open shared object file: No such file or directory<br />
　・pro1-3のダウンロードとmake<br />
　　pro1-1と同様です。</p>
<p>【動作OS】Linux ディストリビューションFedora Core 6</p>
<p>【ログ】pro-1-3をmakeし、実行したときのログです<br />
$ cd pro1-3<br />
$ ls<br />
makefile  makefile.linux  makefile.mingw  makefile.osx<br />
monoBot.cpp<br />
$ cp makefile.linux makefile<br />
$ make<br />
gcc -Wall -g -DdDOUBLE -c monoBot.cpp  -L../../drawstuff<br />
-L../../drawstuff/src -L../../ode/src -L/usr/X11R6/lib<br />
-L/usr/lib -L/usr/local/lib  -I. -I../../include<br />
-I/usr/X11R6/include -I/usr/include -I/usr/local/include<br />
../../include/ode/ode.h:28 から include されたファイル中,<br />
                 monoBot.cpp:6 から:<br />
../../include/ode/config.h:264:1: 警告: &#8220;dDOUBLE&#8221; が再定<br />
義されました<br />
:1:1: 警告: ここが以前の宣言がある位置です<br />
gcc -Wall -g -DdDOUBLE  -o monoBot monoBot.o<br />
-L../../drawstuff -L../../drawstuff/src -L../../ode/src<br />
-L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib  -I.<br />
-I../../include -I/usr/X11R6/include -I/usr/include<br />
-I/usr/local/include  -lm -lode -ldrawstuff  -lGL -lGLU<br />
$ ./monoBot<br />
./monoBot: error while loading shared libraries:<br />
libode.so: cannot open shared object file: No such file or<br />
directory</p>
<p>$ ls<br />
makefile        makefile.mingw  monoBot      monoBot.o<br />
makefile.linux  makefile.osx    monoBot.cpp</p>
]]></content:encoded>
	</item>
</channel>
</rss>

