• R/O
  • SSH
  • HTTPS

qrobosdk: コミット


コミットメタ情報

リビジョン1997 (tree)
日時2012-10-30 11:57:51
作者satofumi

ログメッセージ

fix compile error

変更サマリ

差分

--- trunk/libs/range_sensor/c/samples/gd_scan.c (revision 1996)
+++ trunk/libs/range_sensor/c/samples/gd_scan.c (revision 1997)
@@ -41,9 +41,12 @@
4141 int ret;
4242 int n;
4343 int i;
44+ urg_t urg;
4445
46+ (void)argc;
47+ (void)argv;
48+
4549 /* Connection */
46- urg_t urg;
4750 urg_initialize(&urg);
4851 ret = urg_connect(&urg, device, 115200);
4952 if (ret < 0) {
--- trunk/libs/packages/c_urg_sample/md_scan.c (revision 1996)
+++ trunk/libs/packages/c_urg_sample/md_scan.c (revision 1997)
@@ -70,6 +70,7 @@
7070 }
7171 urg_parameters(&urg, &parameter);
7272 scan_msec = urg_scanMsec(&urg);
73+ (void)scan_msec;
7374
7475 /* Request for MD data */
7576 /* To get data continuously for more than 100 times, set capture times equal
--- trunk/libs/packages/c_urg_sample/Makefile (revision 1996)
+++ trunk/libs/packages/c_urg_sample/Makefile (revision 1997)
@@ -1,8 +1,8 @@
11 # Makefile for c_urg_sample
22
33 CFLAGS = -g -O0 -Wall -Werror `c_urg-config --cflags`
4-LDFLAGS = `c_urg-config --libs`
5-LDLIBS = -lm
4+LDFLAGS =
5+LDLIBS = `c_urg-config --libs` -lm
66
77 TARGET = gd_scan md_scan
88
--- trunk/libs/packages/urg_sample/Makefile (revision 1996)
+++ trunk/libs/packages/urg_sample/Makefile (revision 1997)
@@ -3,8 +3,8 @@
33 # $Id$
44
55 CXXFLAGS = -g -O0 -Wall -Werror `urg-config --cflags` `sdl-config --cflags`
6-LDFLAGS = `urg-config --libs` `sdl-config --libs`
7-LDLIBS = -lc
6+LDFLAGS =
7+LDLIBS = `urg-config --libs` `sdl-config --libs` -lc
88
99 TARGET = gdScanSample
1010
旧リポジトリブラウザで表示